AnsweredAssumed Answered

VCP Loopback Example - Not Working with DFU

Question asked by f-stop on Dec 16, 2013
Latest reply on Dec 19, 2013 by sung.chen_chung
Hi all, hoping to get a couple of pointers here as I'm a little stuck on this one.

The just of it: I have a program adapted from the VCP loopback example. It runs beautifully at 0x8000000. When I jump to it (at 0x8004000) from my DFU bootloader, the program still runs but the VCP never appears on the host computer.

Other bits of info:
1.) Interrupts work, as does every other bit of the code.
2.) The DFU works well - it loads and runs this program as well as several other programs without a hitch, some of them are FreeRTOS based. Never had an issue before.
3.) The VCP works 100% when not loaded by the DFU. When loaded by the DFU, the the program runs as exactly as expected, apart from the VCP being unavailable.
4.) Device is a F103CBT6.

Any ideas greatly appreciated.

Thanks

Outcomes