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.

TMS570ls3137- Booting application code from external serial Flash

Other Parts Discussed in Thread: TMS570LS3137, TMS570LC4357

Hi TI Team,

I visited following thread - 

"e2e.ti.com/.../167683"

I found in the answer that, TMS570 can also load application from SPI flash.

I searched for reference design for above boot configuration, but I didn't find any clue. 

So, can anyone suggest me any example design/ reference guide, which depict booting of application from SPI flash for TMS570LS3137 MCU.

--ankitkumar

  • ankitkumar,

    this may be a bit unusual. just to make sure.

    the 3137 has 3 MBytes of on chip flash which is usually where the program is stored.
    most of the time this question is asked when someone is familiar with a device that executes primarily from large off chip RAM and has a cache to speed performance. in that case a SPI flash that is permanently attached to the chip is used at every boot up.

    most of the bootloader examples for the 3137 are geared to reprogramming the on-chip flash in-system over a comm interface rather than a bootloader that is involved in every boot up.
    for most normal boots the bootloader just skips into the application already programmed into on chip flash (thus the startup time is very fast).

    is that the scenario you envision - or are you thinking more of the typical 'processor' (vs. microcontroller) scenario of copying code from serial flash to DRAM at every boot.
    If the latter then I would at least strongly consider the TMS570LC4357 which has caches.

    bootloader examples that we have are in the product folder under application notes here: www.ti.com/.../technicaldocuments

    The SPI bootloader is written as if another MCU/processor is sending the program via SPI rather than what you would do to boot from a serial flash where the MCU is the master.
    But you could try to adapt this as at least it's close and probably the serial flash is simpler.

    Just want to make sure this will accomplish your end goal as it's a bit unusual.

    -Anthony
  • Hi Anthony,

    Thanks for support.

    --ankitkumar