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.

EK-LM4F232 USB Bootloader

Hey all,

I'm working with the EK-LM4F232 eval board and I wanted to test out the DFU bootloader functionality. I tried modifying the boot_demo_usb sample code for the LM3S eval kits and has been able to get it working to the point of the Mouse and seeing the chip on DFUPROG.

Once I try to switch the chip to DFU mode, I'm not able to see the chip on DFUPROG anymore. Checking with a port analyzer, I found that the device disconnects from the HID functionality but does not attempt to reconnect after that. Using a debugger, I found the programme to be looped infinitely in the IntDefaultHandler (I suspect this happens after the SV Call in USBDDFUUpdateBegin).

I'm wondering, has anyone been able to use DFU with this eval board yet ? Is what I'm seeing due to erratum 3.1 ?

Thanks guys !

  • I've just figured it out ! Still feel like kicking myself over it though.

    I flashed the boot_usb bootloader at address 0x0 and then reflashed the example at that same location, instead of 0x1800. For anyone else who's trying to accomplish what I did, the only things that I added were lines to enable the pins required for USB (You can copy this from other examples).

    Hope this helps someone else who's in the same shoes as me :)

  • @Taranjeet,

    Thank you - cohorts/myself have done the same.  Great that you cared enough to alert/SAVE others from such fate.