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.

AM3517 - Booting up time from Flash after bypasing USB and UART3



Hi,

I am planning to place the AM35XX in our design.

I needed some infomation in regards to Boot up time as thats one of our requirement.

The set up:

I am not using the UART or USB boot options

I need the CPU to boot up from the external NAND flash (GPMC) in normal operation.

However while in the production area, I need to get the CPU to boot up from the MMC card ( pre flashing). Once the NAND flash is programmed with User Image., I plan to remove the MMC card, and on the next PoR it needs to boot directly from Fash.

After having gone through the Tech Ref Manual (TRM), I conculed that the Boot Config Pins after PoR can be

-a)  0b01111 NAND USB UART MMC1 (Table 24-3. Memory Booting Configuration Pins after POR),Booting Sequence When SYS.BOOT[5] = 0

-b)  0b01111 USB UART MMC1 NAND (Table 24-4. Peripheral Booting Configuration Pins after POR),Booting Sequence When SYS.BOOT[5] = 1

Q1) If I choose Option a), During production time, How does the boot up sequence behave when it sees a External NAND Flash but no Valid Image in it?

Q2) How does the ARM's ROM code, understand that there isnt a valid image in the Blank flash?

Q3) If I do choose Option b), How long time would elapse before it timesout on the USB and UART polling? would it take more than a 1 sec?

Would be great if someone could throw some light on this!

Thank you,

Pretesh

 

  • Pretesh Mascarenhas said:

    Q1) If I choose Option a), During production time, How does the boot up sequence behave when it sees a External NAND Flash but no Valid Image in it?

    Figure 24-8 of the Technical Reference Manual (SPRUGR0) describes the flow chart of the ROM code.

     

    Pretesh Mascarenhas said:

    Q2) How does the ARM's ROM code, understand that there isnt a valid image in the Blank flash?

    This is described in Section 24.4.7.4 of the Technical Reference Manual (SPRUGR0) regarding both bad block detection and invalid image in the first 4 sectors.

     

    Pretesh Mascarenhas said:

    Q3) If I do choose Option b), How long time would elapse before it timesout on the USB and UART polling? would it take more than a 1 sec?

    Figure 24-11 in the Technical Reference Manual (SPRUGR0) describes the flow chart for the ROM code and the timeouts.