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: SPI boot issues

Part Number: AM3352

hi,

I Use AM335X to match NOR flash have some problems.


We use the AM335X EVM board, connect the external NOR flash,  it cold start to run the boot and app in nor flash. (we do not run the system)

The problem now is that when the chip is re powered, system boot is configured as "11000",but AM335X is not read successfully through SPI0 to NOR flash.


But when the hot started, boot and app are burned to NOR flash, which can be started by flash


What is the amount of data that AM335X reads to NOR flash when the hot starts up, and is a block of the flash? Or how many K byte

Does TI's AM335X EVM board support access to NOR flash via SPI0?

thanks.

  • Which EVM board is this? What software are you trying to boot? What do you mean by "connect the external NOR flash"?
  • Hi Biser Gatchev-XID,

    1 BeagleBone Black, can it boot with SPI0 ?
    2 The SW we need to boot are MLO and bootloader,the function like uboot
    3 The external NOR flash we used in evm brd and our brd with SPI0 interface in AM335X. They can not boot through SPI0 when pwr up.

    Beside, we catch flash singal with logic analysis, found that AM335X only read 512 byte, including the "size" "destination" of our SW. So AM335X did not copy the SW from NOR flash, and can not boot .What we need toconfirm or how can we go ahead ?
    thank you
  • Hello Biser Gatchev-XID

    This is  Zhanhan Fang from Guangzhou

    We used AM3352 with external NOR flash, and want to boot system by NOR flash with SPI0 in AM3352.

    Platform will not be run in any system, it boot by u-boot.

    So,some need to confirm with you:

    1. EVM brd is picture below, Beagle Bone Black, does it support boot by AM352`s SPI0 interface ?

    2. The seconde picture,  when pwr up , ROM code can feedback data,including "size" and "destination"  when AM3352 read NOR flash.But AM3352 stop reading from NOR flash when the length arrives 512byte, our SW is over 512 byte.So,we afraid there is something wrong about format or anyother.

    Could you help to give any advise or suggestion ?

    Thank you so much

    B&R

  • For Beaglebone Black, the boot sequence is fixed to either:

    MMC1, MMC0, UART0, USB0 (normal boot sequence)
    SPI0, MMC0, USB0, UART0 (boot sequence when S2 is pressed)

    To boot from SPI0 you need to hold S2 pressed while power is applied to the board.

    For SPI boot requirements please read section 26.1.8.6 of the AM335x TRM Rev. P.