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.

Compiler/TMS570LS3137: Redundant memory

Part Number: TMS570LS3137


Tool/software: TI C/C++ Compiler

Hi!

Because of I have to design a safety system, I wanted to know how to run the main program in an external memory, or burn the internal flash memory from an external one (an FRAM or MRAM in my case). I realice that I need an interface such as ISP to burn it but the TMS570 doesnt have one. Would Someone know how to implement that with this chip? Thanks!

Regards,

Leandro

  • Hello,

    Please take a look at these threads to see if they answers to your question:

  • Thanks for your response Miro,

    Yes It was very usefull. However, I was thinking to use the EMIF interface to connect an SDRAM which will save general purpose data of telemetry, so I dont have this available. Could It be possible using an SPI or mibSPI interface to compare three replicated main programs between three external memories? And after that, to execute the correct one. This is because the hardware will be exposed to ratiation.

    If It is not possible maybe I will decide using EMIF to execute the main program, thoug It could run slow because the maximum EMIF clock is 50MHz.

    Regards,

    Leandro

  • Leandro,

    Any external memory connected via an SPI port is not directly mapped to the host CPU's address space. So it is not possible for the CPU to directly execute code from an external memory connected via an SPI port.

    You can connect external memories via the SPI port(s) with additional copies of the main program. If you find during execution that the main program in Flash memory has some multi-bit ECC errors you can choose to reprogram the Flash memory with a copy of the program in an external memories (assuming that contents of external memory are not corrupted by the same radiation). You can do this with a bootloader that executes out of RAM.

  • Very useful information Sunil Oak, thanks. I will study the bootloader to do that. Do you know any bibliography to start to read about?