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.

AM2431: SPI and QSPI Boot Modes.. Using an external Flash w/o a dedicated reset pin..

Part Number: AM2431

Tool/software:

Hi Team AM243,

My customer has the following question about boot modes and in particular QSPI..

The primary boot mode in use is SPI boot mode, but they have QSPI (all 4 data pins connected), and want to move to QSPI boot mode.

TI has suggested they add QSPI reset in SBL by toggling reset pin on SPI bootflash to put back the flash into a clean state, and also suggested to connect reset line from SOC to the flash part. Since the ROM and APP FW can configure the SPI flash in a different way, when SOC resets, it should reset the flash part as well, then ROM can boot from a clean state; vice versa.

However, compared to the implementation w/ TI’s EVM, the customer's flash device doesn’t have a dedicated reset pin.

Based the flash device's datasheet,
1) Reset pin is the same pin as HOLD#, and it is the shared pin as DO3 for QSPI. So this reset pin is only available for SPI mode, not QSPI mode.
2) Is this a stopper for us to move to QSPI boot mode due to the fact that no reset pin is available for QSPI boot mode?
3) If we have to stay with 1s-1s-1s mode, I believe the bootROM uses 1s-1s-1s mode as well, do we still need to connect SoC’s reset to flash part?

TI had replied with..

The need for Reset is described in the below section of the TRM

4.4 Boot Modes

4.4.1 OSPI, xSPI, QSPI, SPI Boot

When using SPI, you could choose a 8 pin device that supports reset since this could be used to recover the attached device from any failure that makes the SPI device non responsive to software commands.

When using QSPI, you could use 8 pin but his device has limitation that a cold reset – power reset has to be performed to recover the device in case the device becomes non responsive to software command.

Follow-on customer ask..

Still have questions regarding whether it can cause failures when running QSPI mode in app FW then issue a warm reset (note that there is no QSPI reset here), which will go back to bootROM code which uses 1s-1s-1s mode.  This is a possible issue.

Thanks, Merril

  • I checked with the ROM team , following is their response 

    ROM assume that for any of the O/Q/X/SPI flash devices we can initially interact with them in 1S mode. Octal and Quad flash can be set in a variety of modes 8s to 8d, 4s to 4d by any higher level SW to increase throughput.

    If a Warm reset is issued and the flash itself is not reset when ROM attempt to perform the initial handshake in 1S mode, the flash device would most likely ignore those command resulting in a boot failure

    The TRM may not have this completely detailed, but it is stated that if you used QSPI and it does not have a reset input pin then Warm reset would very likely result in a boot failure.

  • Thanks a lot for the response. 

    Hong