This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP-L138 SPI Flash boot "Too many CRC errors"

Other Parts Discussed in Thread: OMAP-L138

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

 

 

  • Update: After changing the DDR settings, the boot process appears to complete correctly, so I infer the CRC is used when the data is loaded to memory (whether or not it is also used when the data is read from SPI Flash).

    Thank you. Yours,

    Jack