Hi, I am testing with BF533 EZ Lite Kit and i have an issue as below:
- After finishing building my source code, i debug it on my Kit with CCES. My code run OK. But when i turn off my Kit and turn on it again, the Kit will be empty and i have to load my code again. As my understanding, my .dxe file only be loaded to RAM and it will be lost when i turn off Kit. So i want to load my .dxe file to ROM of Kit and when i restarted Kit, the default program will be my source code. But i do now know how to do it. Could you help me to resolve this issue ?
In order to load your code into target, you have to create an .ldr file. To do that, go to Project properties > C/C++ Build > Settings > Build Artifact.Now select, artifact type as "Loader file" and click "Apply".
Now build the project and verify that the *.ldr has created inside of debug folder.
The available utility to flash the LDR into target using CCES is the Command Line Device Programmer(CLDP). You can use this command line utility without opening CCES.
You can get more details about CLDP in the below CCES help paths.CrossCore® Embedded Studio x.x.x > Integrated Development Environment > Working with Bootable and Non-bootable Files > Device Programmer > About the Device ProgrammerCrossCore® Embedded Studio x.x.x > Integrated Development Environment > Working with Bootable and Non-bootable Files > Device Programmer > Device Programmer Command Line > Device Programmer Command-Line Switches
Please refer the below FAQ to program flash into target board.FAQ: How do I program flash on my target board using CrossCore Embedded Studio?ez.analog.com/.../faq-how-do-i-program-flash-on-my-target-board-using-crosscore-embedded-studio
For details, You can install ADSP-BF609 BSP and refer the chapter "5. Using Loader Files" in the Read me file of the Power On Self Test BSP example from the below path about create a loader file and program the LDR image to flash:<installation path>\Analog Devices\ADSP-BF609_Evaluation_Board-Rel1.1.0\BF609_EZ-Board\Blackfin\Examples\Power_On_Self_Test\readme.html
Please use the below link to download Board Support Package of BF609.download.analog.com/.../ADI_ADSP-BF609_Evaluation_Board-Rel1.1.0.exe
Booting the EZ-KIT from Flash MemoryConfigure the ‘Boot Mode’ Switch on your EZ-KIT to boot from flash memory.
Refer to the "Boot Mode Switch" chapter in below linked Evaluation System Manual for details on correctly setting the 'Boot Mode'.www.analog.com/.../ADSP-BF533_ezkit_man_rev.3.2.pdf
Once the appropriate Boot Mode is set simply reset your board to boot the code from flash.
Thank you for your support.
As my understanding, the *.ldr file will be writen to flash Plash PSD4256G6V TQFP80 chip on BF533 Ez Lite Kit board, but there are two flashs: flash A and flash B. So which flash will be writen ?
Beside, i am using Visual Dsp++ too. Could you show me how to program my code to flash using Visual Dsp++ ?
And i have two more questions about BF533 Ez Lite Kit board:
First, i see there is a FlashLINK JTAG HEADER on my BF533 Ez Lite Kit board. But I don't know what this JTAG is for ?
Second, i am now connect my computer to the board by using USB port on the Kit and debug my code over usb port. And i have not test with JTAG port on the board. Coud you recommend me some JTAG device, which i can use to debug the BF533 Ez Lite Kit board using USB 2.0 port ?
Hi,Flash will be written based on your application.First it will be written on flash A and if it fills, then it will go for Flash B like wise.You could refer to the "Flash memory map" section in the below linked ADSP-BF533 evaluation manual.www.analog.com/.../ADSP-BF533_ezkit_man_rev.3.2.pdfYou can use flash programmer GUI to program ADSP-BF533 from VisualDSP++ IDE.Please refer the below FAQ to program from VDSP.FAQ: How to load and run a program from flash on an EZ-KIT in VisualDSP++?ez.analog.com/.../faq-how-to-load-and-run-a-program-from-flash-on-an-ez-kit-in-visualdspAlso, you can refer the "Readme.txt" file for more information, which is available in the below location.<VDSP installation path>\Analog Devices\VisualDSP 5.1.2\Blackfin\Examples\ADSP-BF533 EZ-KIT Lite\Power_On_Self_TestThe JTAG header is the connecting point for a JTAG in-circuit emulator pod. When an emulator connects to the JTAG header, the USB debug interface is disabled.You can use ICE-1000/2000 to connect with JTAG header and to debug/flash your platform.Please refer the below FAQ to know about ICE-1000/2000.FAQ:Introducing the ADZS-ICE-1000 and ADZS-ICE-2000 Emulatorsez.analog.com/.../introducing-the-adzs-ice-1000-and-adzs-ice-2000-emulatorsYou can buy ICE-1000/ICE-2000 from the below link:www.analog.com/.../emulators.htmlRegards,Nishanthi.V
Could i load my code to flash of BF533 Ez Lite Kit board with ICE-1000/ICE-2000 ?
Hi,Yes, you can use ICE-1000 or ICE-2000 to flash your code into target.Regards,Nishanthi.V