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.

Custom AM1808 platform SPI NAND Boot

 

Greetings,

 

I'm trying to boot with the subjected configuration. The platform is based upon LogicPD Am1808 Experimenter board

 

We have replaced the default numonyx 8MB SPI flash with a higher density SPI Nand Flash from Micron. Unfortunately, it is not a straight through replacement and the replacement chip only supports page read. Also, a read requires three commands (read to cache -> status check -> read cache)  as opposed to a single command on numonyx (read bytes). 

While reading the Application Report SPRABA5B Using the AM18xx Bootloader document, I discovered the following section:

6.2 SPI EEPROM or Flash Boot

To boot from a slave memory device connected to an SPI peripheral, the AIS contents (in binary format)

can be flashed directly to the memory device. The boot image must be placed at address 0 of the memory

device. SPI EEPROMs must use 16-bit addressing, while SPI flash chips must use 24-bit addressing. The

read command opcode for the SPI flash device must be 0x03.

 

Does this mean that the SPI Flash is incompatible as a boot method and we need a separate SPI Flash to boot from?

 

  • Adnan Yunus said:
    Does this mean that the SPI Flash is incompatible as a boot method and we need a separate SPI Flash to boot from?

    That is correct.  The SPI memory device must support the standard read command (sometimes called "slow read" for flash devices) used by most EEPROM and Flash devices. Devices requiring page read ops (similar to raw NAND flash) will not be compatible with the ROM boot loader.

    Regards, Daniel