I have written a toggle LED code in Core 0 and executed in .dxe its working well.
I I want to boot this toggle code from spi flash,so I followed steps:
1)Generated a loader file:
• Project: Properties: C/C++ Build: Settings. In the 'Build Artifact' tab set the 'Artifact Type' to "Loader File".
• Back under the "Tools Settings" tab, go to the 'CrossCore Blackfin Loader' settings and, under 'General' set:
• Boot Mode: "SPI Master"
• Boot Format: "Intel Hex"
• Output Width: 8
• In the "Initialization File" field, browse to the "BF609_init_v00.dxe" file in the CrossCore Embedded Studio installation under "...\Blackfin\ldr\".
• Boot code(-bcode):0x1
• Rebuilded and I generated .ldr file
2)I have loaded .ldr file in spi flash using CLDP:
cldp -proc ADSP-BF609 -emu KIT -driver "C:\Analog Devices\ADSP-BF609_Evaluation_Board-Rel1.1.0\BF609_EZ-Board\Blackfin\Examples\Device_Programmer\serial\bf609_w25q32bv_dpia.dxe" -cmd prog -erase affected -format hex -file "D:\codes\tog_Core0\Debug\tog_Core0.ldr"
3)CLDP reported done
4)But when I have change Boot Mode to 3(0111) and pressed reset button my code is not executing.
Help me in this if I have missed any configuration.