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.

TM4C1294NCPDT: Trouble running usb_stick_update example

Part Number: TM4C1294NCPDT

I am trying out usb_stick_update with usb_stick_demo with my TM4C1294XL Rev D launchpad

  1. The launchpad works fine other examples
  2. No problem in compiling the two projects
  3. Rename usb_stick_demo.bin to FIRMWARE.BIN 
  4. Store FIRMWARE.BIN to the root directory of a 8GB SD card
  5. Insert the SD card to a card reader
  6. Connect the card reader to the target USB connector on Launchpad via a OTG USB cable
  7. Apply OTG jumper on JP1 to provide 5V to the USB connector on target (confirmed by reading 5V on TP4)
  8. When I debug usb_stick_update, I run into FaultISR

Instead of chasing the cause of this FaultISR, I would like to make sure my above steps are complete/enough to start the project

Thanks!

  • Hello David,

    Are you sure that your SD card reader is capable of providing power? When running that example, I have the debug cable plugged in and have the power jumper on ICDI. That way it's also possible to access the UART data from the device. I would recommend not changing the JP1 jumper and just leaving it on ICDI.

    Also have you checked that your APP_START_ADDRESS is aligned with APP_BASE in the .cmd file?
  • 1. The power to the whole configuration is from the debug port of launchpad, all 5Vs are good
    2. I stepped through the code, and the fault was before even reading anything from the SD card, so it had nothing to do with the APP_START_ADDRESS
  • Hello David,

    I need a point of clarity then... are you powering the board through the debug port of the LaunchPad via USB cable, but you have the jumper set to OTG and not ICDI?

    Also regarding the project, did you make any modifications at all from the base TI examples provided in TivaWare?
  • Problem solved. I deleted the example directory and retrieved again from the resource and it now works , I can't prove it, but I may have gotten the example from an old TiVaWare