Instead of continuing a thread that has gone in several directions, I've started a new one to continue the "Boot Basics" dialog.
So, my progress so far:
1. Generated seperate ARM and DSP initialization led blinking .out programs.
2. Generated a boot image using AISGen to combine the two .out files into one SPI flash bootable image.
3. Flashed the boot image into my SPI flash device.
4. Boot my custom board (with Logic SOM) from SPI flash.
5. Verify that the ARM is properly initialized and is is blinking the LED (yay!).
6. Verity that the DSP code is properly loaded into mDDR at location 0xc0000000.
7. Verify that the ARM init code has actually initialized HOST1CFG resgister with the "truncated DSP boot address vector to the DSP_ISTP_RST_VAL field in the host 1
configuration register (HOST1CFG) of the SYSCFG module."
HOST1CFG = 0xC0000001
BOOTRDY = 0x1
_RESV_2 = *********
DSP_ISTP_RST_VAL = 0x1
HOWEVER, when I boot from SPI flash the ARM LED program blinks the LED, but the DSP program is stuck at address 0x0072120, which sounds like it went back to the default boot loader vector instead of 0xc0000000. I can manually enter 0xc000000 into the PC and the DSP will again end up at 0x0072120 (idle).
If I then enter 0xc000920, which is where the "main" symbol is, THE DSP PROGRAM RUNS AND THE LED BLINKS.
It sounds like the AIS is doing its job properly, but the DSP is vectored to the wrong starting address.
Any thoughts?
Thx,
MikeH