-
Notifications
You must be signed in to change notification settings - Fork 958
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
Automatic restart in DFU Bootloader mode #706
Comments
Fixes stm32duino#706 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixes stm32duino#706 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixes stm32duino#706 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Uh, that will be great, ive tried to implement smth like this with F401 (using maple "LEAF" sequence as a trigger), but stucked cuz it just reboots instead of running bootloader, seems like BL code checks for BOOT0 not pulling up and jumping to fw stored |
I have a first working version 😉 |
Fixes stm32duino#706 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixes stm32duino#706 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixes stm32duino#706 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixes stm32duino#706 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Are there any updates on this issue? I've got this Adafruit feather with stm32 on it, and it is a bit of inconvenience that I cannot just straight work from Arduino IDE |
There is an initial working, but rough, version at #710. I've been using that, along with some custom board files to use dfu-util, for a while now (so I'm not sure if that PR works out of the box yet, but it certainly works). |
It works but it is not enough generic and I would avoid the backup register usage. |
Fixes stm32duino#706 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixes stm32duino#706 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixes stm32duino#706 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixes stm32duino#706 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Hi @fpistm ! What is the status of this feature? I see that you have pushed some code after your last comment that seems to solve it. |
I have to rebase and test. But IIWR I have some dev to do. |
Thanks for the info. It would be a nice feature to have 👍 |
It would be a great option for testing (test upload etc) with strange sideeffects too. When production upload, I can press the boot0 button. |
When using the built in USB DFU bootloader, lets auto-reset into the bootloader mode from USB Serial using something like 1200-baud knocking
The text was updated successfully, but these errors were encountered: