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.

Anything to add to EK-TM4C1294XL so it can be reprogramed on the fly

Other Parts Discussed in Thread: EK-TM4C1294XL, CC3100

Hi All,

If  my products that similar to EK-TM4C1294XL + C3200 wifi board, and they are already put to work on the products around the world.

One day, customer ask to make some change on the application software on the TM4C, is there anything we can do? So, the TM4C can be reprogramed by C3200?

should some pins connection between TM4C and C3200 to be changed?

Let's say the products are able to connected to WIFI server.

thanks.

  • Hi Thana,

    Maybe, you meant EK-TM4C1294XL + CC3100 Booster Pack.

    - kel
  • Hi Kel,

    Exactly.

    I mean is this type of reprograming EK-TM4C1294XL can be done on the fly?


    thanks.
  • Hi,

       A TI Engineer can help you better give an idea how to do that.

       You would need a boot loader. Some info about Tivaware Boot Loader below.

        "The boot loader is a small piece of code that can be programmed at the

    beginning of flash to act as an application loader as well as an update

    mechanism for an application running on a Tiva microcontroller, utilizing

    either UART0, I2C0, SSI0, Ethernet or USB."

        CC3100 communicates to EK-TM4C1294XL through SSI pins, so I would assume it is possible. I can't give you a solid advice, because I have not done that.

    - kel

  • Hello Thana,

    As Kel mentioned; we do not have a solution as a reference design or example code. But it is very much possible.

    1. Configure the BOOTCFG of TM4C129 to accept a Pin as Boot Pin.
    2. Make sure that SPI on CC3100 is the Master and SSI on TM4C is a slave
    3. When the CC3100 gets a message for Firmware Upgrade OTA, it asserts the Pin, Stops all communication with TM4C1294 and Resets it forcing the TM4C in the boot mode
    4. Use the SSI Port communication between the two devices to download the new firmware image.

    Regards
    Amit
  • "For" others landing here - and w/out this board set - desiring to, "Reprogram on the Fly" beware!

    The "presence" of a JTAG/SWD header (additionally) has saved us (more than once) when such "On the Fly" methods have hiccupped or failed! Minus that JTAG/SWD capability - the board is (likely) locked and recovery will prove extremely difficult & time-consuming.

    "On the Fly" has an element of "danger" (as do most things - quick/dirty) and the old "standby" (still) proves robust & recovering...
  • Hi Amit,

    Many thanks.

    Can you explain a little more below?

    what specific pin to be used as boot pin?

    how to send a message "Firmware Upgrade OTA" to CC3100?

    thana

  • Hello Thana,

    Please check the description of the BOOTCFG register for Port and Pin. In summary the selection can be on of 8 Pins on one of 8 GPIO Ports as per the configuration of the register. A Firmware Upgrade would need to be constructed as a Boot Loader Update Call given in the boot loader user guide in TivaWare.

    Regards
    Amit