We are using the OMAP-L138 EVM development kit from Logic and are trying to get our application to boot from SPI1 flash. The kit comes with both an OMAP and DSP SOM and have decided to develop our application only on the DSP for simplicity. We have build a custom board to mate the SOM to that has some analog stuff on it with a SPI ADC that we are interfacing to (our application reads samples from the ADC and processes them). We can use either SOM and just use the DSP side and things work great loading our application over an XDS100 emulator. The next step is to get it to boot from flash. We have the module strapped to boot from SPI1 flash be default.
We have found a lot of information about burning and booting flash, but things seem to be confused by the fact that we are not using the ARM side of the OMAP or are just using the C6748 SOM. Right now we are sticking with the C6748 SOM since that seems simpler (for the OMAP, this thread seems to indicate the ARM must load the DSP). We have finally been able to burn an image to the flash using the spiflash_writer code in the C6748 DSP SDK (using the "dspais" load option). However it does not seem to be loading our application. The image we are burning to flash we made with AISgen for D800K002. The attached configuration file shows how we have AISgen setup.
When we let the module boot from flash and then connect to it in CCS4 (with no GEL initialization), it seems to be stuck in a loop at address 0x00713AF0. DDR (which is where the code should be) located at 0xC0000000 does not seem to have been loaded with anything. Does anyone know the right way to get the C6748 to boot from SPI1 flash?