New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to jump to USB-DFU bootloader from firmware #9

matthiasbock opened this Issue Mar 15, 2018 · 1 comment


1 participant

matthiasbock commented Mar 15, 2018

Feature request:
In order to update the CANtact's firmware, it is now (commit a156c88, v2.8.1) necessary to open the case, place a jumper, disconnect USB and re-connect it. This is a bit cumbersome. It would be nicer, if a "reboot-to-usb-bootloader" command to the serial port would suffice for that.


This comment has been minimized.


matthiasbock commented Mar 19, 2018

The jump to ST's USB DFU bootloader (in "System memory") was implemented with commit 59b2813 and seems to (partially) be working: The system memory is being re-mapped to 0x00000000, the stack pointer is updated and the bootloader's reset handler is executed.

For some reason though, execution doesn't remain in the bootloader. It quickly returns to the application's main(), which means, the MCU is reset by the bootloader program.

But why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment