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.

TM4C123GH6PM: Firmware loading with external Flash memory

Part Number: TM4C123GH6PM

Hello people 

I would like to know that exist documentation about to do the process to load a firmware from external SPI Flash memory  into the internal memory of TM4C123. I'm not sure that SPI bootloader solve this question but if you know how to do the procesudre to do, please tell me.

Regards

Juan Carlos

  • Hi.
    If you want to bootload from an external SPI flash you will need to modify the TivaWare bootloader so it can interface with the SPI flash in a correct protocol.

    In the thread that you referred to, it suggested looking at the TivaWare SPI flash utility (look at the spi_flash.c under C:/ti/TivaWare-2.14.178/utils folder and the documentation in docs/SW-TM4C-UTILS-UG-2.1.4.178.pdf) on how to use the utility to interface with an external SPI flash. Somehow you will need incorporate this utility (i.e. reading the SPI flash) into the bootloader code to make it work. We don't have a ready-to-use example on this.
  • Thanks Charles

    I will read this documents and soulve the problem to share my solution.

    Regards
    Juan Carlos
  • Hi,
    Yes, please go through the documents. Once you have worked out the solution please share with the community as I'm sure it will benefit people looking for the same solution. I will close the thread for now. But you can always reopen this thread by replying with a comment or you can open a new thread for new questions.