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: Uploading code to custom TM4C123 board for end user

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: EK-TM4C123GXL

Hello,

Is there any way to upload code to TM4C123 without a debug probe like xds110 or using the tiva-c board as jtag programmer?

I have access to both, but suppose I made a custom circuit, and I want the end user to be able to upload new firmware. Is there any way to do this with custom hardware.

I am aware that the ICDI  code is not public. I am also aware that a bootloader can be made, but I dont want to do that. Can it be done with a custom cheap hardware?

Best Regards,

C.

  • Hello Can,

    Without using a boot loader then I don't really know another way. Boot loader allows you to not need to handle JTAG interface. All other options are to make a JTAG probe essentially. I suppose one method could be to take the ICDI schematic / BOM from the EK-TM4C123GXL and make a custom board with only that section and use LM Flash to flash the ICDI firmware onto it. But all that does is make it standalone. Beyond that, you'd need to design your own equivalent for JTAG that can handle flashing a device.

  • Hello Ralph,

    As long as tiva-c boards are available, I don't want to go to the effort of building custom hardware. Are there any pointers to a tiva-c boat loader, or example? I have found spmu301e.pdf and would like to learn more about this boot loader. Problem is boot loader occupies flash memory space right?

    Best Regards,

    Can

  • Hello Can,

    We have boot loader examples for each evaluation board in the example projects folder. They will start with boot_*.

    Our TivaWare User's Guide also walks through how to use these examples in more detail: https://www.ti.com/lit/pdf/spmu373

    As SPMU301 outlines, there are both ROM and Flash boot loaders. So if you don't need any special handling not covered in ROM like CRC verification then you can just use the ROM boot loader.

    The examples we provide cover using both kinds of boot loaders so you can get a feel for the functionality of each.