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.

Use LM flash programmer to update source code

Other Parts Discussed in Thread: TM4C1230H6PM, LMFLASHPROGRAMMER

Hello,

I have a customer who use our TM4C1230H6PM to design a stage lighting, they want to use TI LM flash programmer GUI to update source code by UART. just now meet a question, do you have any button in LM flash programmer GUI to enter into bootload mode in application code? or do you have any more suggestion about it.

best regards!

Maka  

  • Hi Maka,

    You can set the LM Flash Programmer Interface to Serial (UART). As far as I know there are no "button in LM flash programmer GUI to enter into bootload mode in application code".

    To be able to program application using Tiva MCU UART, your Tiva MCU should first be pre-programmed with a boot loader, that will act as an application loader as well as an update mechanism for an application running on a Tiva MCU.

    At Tivaware they have boot_demo_uart example program to be able to do this.

    - kel
  • Hello Kel,

    thanks for your answer, have per-programmed with a boot loader in MCU, it need to jump to bootload code when running at application code zone. But I don't have any button to tell MCU I want to update application code just now. my question is this one.

    best regards!
    Maka
  • Hi Maka,

    A TI Engineer can help you better.

    Before at Stellarisware, the boot loader example has this functionality. I am not sure, if the current boot loader example(boot_demo_uart) for Tivaware has the same functionality. I have not reviewed it.

    Do a search in the forum for similar posts. This has been discussed before at TM4C forum.

    - kel

  • Hi Kel,

    thanks, I will look for my colleagues help.

    best regards!
    Maka
  • Hello Maka,

    The LMFlashProgrammer is used to communicate with the ICDI and then to an end target TM4C. The provision between the ICDI MCU and the Target MCU for a GPIO control does not exist. Having said that there is another utility which we are working on that will get a LaunchPad working as a Serial Boot Loader with GPIO control as well which may be of interest to the customer.

    Regards
    Amit
  • Hello Amit,

    Thanks for your support!

    When will we release the demo code? and whether can we add a button into LM flash programmer tool to communicate with MCU to enter into bootload mode? I think it is very useful for some customer.

    best regards!

    Maka

  • Hello Maka,

    The TM4C12x does not have a native mode for the ROM to enter the boot mode unless the BOOTCFG register is programmed. So adding it to the Tool or the LP's would not make a difference unless it is configured.

    The demo code (that is executed by the target uC) uses the flash based code to configure the BOOTCFG or and future reprogramming. This is a must do step for any customer application to be able to enter the ROM boot mode when having an application in place and expecting that a GPIO Port-Pin-Level Sense shall be used to enter the ROM Boot Loader from the user application.

    EDIT: There were inconsistency in the original forum reply and the text had to be changed.

    Regards
    Amit