Instead of loading the application from CCES, the application can be flashed into the on-board flash so that the application can be loaded on reset.
Generating loader file
- Compile the application in Debug or Release mode as described above.
- Run platform\adspsc573ez\LDR\Generate_ldr_release.bat to generate loader file from Release application executables or platform\LDR\Generate_ldr_release.bat to generate loader file from Release application executables. Please edit the corresponding these .bat to point CCES_DIR to the correct CrossCore Embedded Studio installation path.
- adi_hxaf_SC573.ldr loader file will be created after successfully running the batch files.
A sample adi_hxaf_SC573.ldr is available as part of package.
Flashing the loader file
- Setup the board and connect the board via emulator to host PC. SW1 should be set to 0 to set the boot mode to noboot and reset the board.
- Run flash_sc573_ICE1000.bat or flash_sc573_ICE2000.bat files, in order to load the loader into the ADSP-SC573 board via ICE1000 or ICE2000 emulator respectively.
- Set SW1 to 1 in order to set the boot mode to SPI flash and reset the board. The processor will not load the code form flash on booting.