Dear e2e,
We have programmed an image generated with AISGen into a SPI flash connected to the OMAP-L138 on our custom board. The boot pins are set to load from the SPI flash and when the board is powered on we see the OMAP read data from the SPI flash, pause briefly, read data from the SPI flash, pause briefly, read data from the SPI flash then stop. At this point we use http://processors.wiki.ti.com/index.php/OMAP-L1x_Debug_Gel_Files to read the state of the bootloader. We get the error message "Too many CRC errors" with a "rom status code" 0x00000012. The image we create with AISGen has CRC enabled so I assume the OMAP reads a section from the flash, the CRC fails, then it retries twice more before giving up (3 times in total as per the bootloader manual). Does the bootloader check the CRC on the data that is read directly from the SPI flash, or does it write the data to the desination address (e.g. external RAM), then perform the CRC on data read back from the destination?
This information will allow us to work out if (1) we are programming our SPI flash incorrectly, or (2) we have another setting incorrect (e.g. mDDR register settings) which results in data not being written to the desination address correctly.
Many thanks for your help!
Ben