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.

TM4C123GH6PZ: How to implement USB firmware update on TM4C123GH6PZ?

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

I want to implement firmware update by USB disk.
I only have EK-TM4C123GXL in my hand, but under the TivaWare folder.
There are no examples of usb_stick_update and usb_stick_demo.
I tried to put the usb_stick_update and usb_stick_demo of the dk-tm4c123g folder.
Executed on EK-TM4C123GXL, but out of work, Is there any need to make any changes?

  • Hi,
    On the EK-TM4C123 launchpad you will need to populate R25 and R29 with 0ohm resistors if you want to use the USB as a host.

    e2e.ti.com/.../639268
  • Dear Charles,
    Thanks for your reply, I already populated R25 and R29, but the problem is the TM4C123GH6PM not work after I put the usb_stick_update and usb_stick_demo of the dk-tm4c123g folde on the EK-TM4C123GXL board.
  • Hello Charles and Leo,

    I need to make a correction to what Charles has stated before.

    R25 and R29 are not for host support, but rather for USB OTG support.

    Host mode is not available on the LaunchPad. I had to do some digging to verify this but prior posts from Amit alluded to an issue with doing host for EK-TM4C123GXL and I have confirmed the issue he had been referring.

    The issue is that USB VBUS cannot be powered to support host mode. The USB VBUS net only ties to system power when the switch is set to "Device" mode. When this occurs, the ICDI power no longer is tied to system power. This is done when the TM4C LaunchPad is used as USB DEVICE who can receive power from a Host. In other words, the USB Host would power the TM4C LaunchPad in that situation.

    However, to be a USB Host, the TM4C LaunchPad would need to power USB VBUS a controllable LDO as is done in the DK-TM4C123G eval board, but there is no means to do that on the LaunchPad. So although the schematic at first glance would imply it is possible, further investigation proves that it is not possible.

    Therefore, the LaunchPad cannot support USB Host Mode.

    Unfortunately as the DK-TM4C123G is not available anymore, the only option here is to get the EK-TM4C1294XL LaunchPad (or the DK-TM4C129X but that would be overkill) for USB host evaluation...
  • Excuse me, ask again, is this controllable LDO necessary?
    Can I directly supply 5V externally to this launch board?
  • Hi Leo,
    You need to also short H18 and H19 together. Please see below post.
    e2e.ti.com/.../2391833