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.

Tiva C on "device mode" not debug

Other Parts Discussed in Thread: EK-TM4C123GXL

Hell Community.

I have been playing around with a EK-TM4C123gXL I can get my code running and debug nicely in Keil or CCS.

But now I want to take it a step further. I want to run the code in "Device Mode" without Debug. Hopefully then I can power up the board from a powerbank and do something fun with it.
Do I need to generate a release version of the code and load it via the Device USB or do I from the Debug mode and then in CCS for example go to:  Run, Load, Load Code?

And will it make any deference?


Thank you in advance.

  • Hello Ruslan

    The code that you have running can work as is. The difference between using the Device USB v/s Debug USB is that Debug USB uses JTAG allowing to the download the code N times (N is the flash endurance). The Device USB side requires a flash based boot loader or some mechanism to invoke the USB DFU so that code may be loaded again.
  • Hello Amit,

    Thank you for your answer. Do I write a bootloader myself. I have seen some user guides from TI. Or is there a boot loader that supports your products (a programmer)?

    Regards
    Ruslan
  • Hello Ruslan,

    When the flash is in erased the ROM boot loader is automatically invoked. If you want to write a flash based boot loader then you may refer to the dk-tm4c123g boot example in TivaWare. The next TivaWare will have the example for EK-TM4C123GXL as well.