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.

TM4C1294NCPDT: Firmware Upgrade via external SSI Flash

Part Number: TM4C1294NCPDT

Hello,

Is it possible to get the boot loader to grab the binary file of application code from an external SSI flash chip?

Thanks & Regards,
Gaurav

  • Hello Gaurav,

    First off, do you mean Flash or ROM boot loader? Secondly, do you mean that you want SSI to operate as a master to communicate with the external SSI flash chip?
  • Hello Ralph,
    Thanks for the reply!

    I am trying to use the ROM bootloader & want operate the SSI in master mode to connect to the external Flash chip.

    Thanks & Regards,
    Gaurav
  • Hello Gaurav,

    That is not possible as within the ROM bootloader, the SSI module is only allowed to operate in slave mode. Also our Flash bootloader example provided with TivaWare operates in the same way.

    It should be possible for you to build a custom bootloader where SSI would operate as a master, but that would be an application specific implementation that you'd have to develop on your end as you would need to program the bootloader code to handle the external Flash chip and know exactly how to read from it's memory successfully since the TM4C bootloader would responsible for driving all the communication (where as in the ROM/Flash bootloader where TM4C is a slave, it is primarily responsible for receiving data correctly rather than ensuring it is accessing the right data to begin with).

  • Hello Ralph,

    Thanks for the information! I suspected similar thing that it might not be possible to operate in master mode, but wasn't sure. Your reply really helps!
    Although, for my implementation I was thinking that maybe I can modify & re-purpose the usb_stick_demo that grabs the firmware binary and writes it to the internal flash. Can it be done this way?

    Thanks & Regards,
    Gaurav
  • Hello Gaurav,

    I think the theory can be applied, though the practical application feels like it would be quite different as the usb stick examples leveraged 3rd party collateral like fatfs to operate. Not sure if you could leverage the same for SSI communication with an external flash chip. But the general flow and setup of 'get data' and 'flash to memory' would be applicable, so I could certainly see it being beneficial to understand as you develop your application.
  • Hello Ralph,

    I already have a FATfs working with my external SSI flash, so it's going to be easier to develop.

    And again, thanks for your valuable responses!

    Regards,
    Gaurav