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.

AM3352: AM3352 SPI boot failing

Part Number: AM3352

Hi Champs,

We are trying SPI Boot using SPI Flash (NOR flash).

However, we are not able to success SPI boot.

As I showed bellow picture,  RBL don't read Flash data via SPI after POR.

Could you please give us debug advice ?

What we debug now is:

FROM assigened to SPI0 CS0.

SYSBOOT pins setting 

SYSBOOT[4:0]   = 10110b or 11000b or 11001b  ->Thiese are SPI high prioritys

SYSBOOT[5:13] = 0

SYSBOOT[14]    = 1

SYSBOOT[15]    = 0

・We followed AM335x Wiki [ON is labeled on the wrong side of SW3 boot mode switch.] Also

  • Kaz,

    Is this on TI EVM or on custom board. In offline email, you indicated that customer followed this SPI boot step in wiki. And they failed in Stage 1. (On system reset , the RBL copies the bootloader into on-chip OCMC RAM Location 0x402F0400.)

    Are you saying that AM335x device doesn`t boot on POR but if customer performs system reset after POR, the RBL is able to copy the bootloader into on-chip memory.  If the statement is true then the issue is not related to SW or the boot image format and seems to be related with power up sequence. Is this a custom board or TI evaluation HW.

    I am also attaching the scope shot from the board that you have provided . Looking at the scope shot, I am not sure why there are some signals going below 0 and also why the level high on the board is not at 3.3V

    I have looped in my HW colleagues to comment on the observation and any potential power sequencing that you may need to check on the board. HEre is an initial guidance that he has put together for AM335x which you can refer from here:

    http://processors.wiki.ti.com/index.php/AM335x_board_bringup_tips

    Regards,

    Rahul

    PS: From software perspective, the customer should be using bootloader from Processor SDK RTOS as described here:

    http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_Foundational_Components.html#am335x-am437x

    The older starterware baseline is no longer supported by TI so please indicate if the customer is using older bootloader baseline.

  • Hi Rahul,
    Thank you very much for your reply.

    >Is this on TI EVM or on custom board.
    -This is TIEVM + custom board (only SPI flash memory parts).
  • Kaz,

    Any update on this issue. Has there been any tests on the power sequencing and SPI signals that you can provide for our HW expert to look at.

    Regards,
    Rahul
  • Hi,
    Actually, we miss connected SPI Hard pins. When we review this pin connection. This issue was fixed. So, we fixed this .