-
Notifications
You must be signed in to change notification settings - Fork 3k
STM32F4 DFU Mbed 6 #14320
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
Comments
@tartavull This issue has an incomplete or old issue template.For future reference please use an up to date clone of the repository before raising issues. Many thanks. |
Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers. |
Is there any information I can add here? |
@tartavull If you can update the above to use the default template (we parse the information internally). Thanks @ARMmbed/team-multitech Please review |
@ARMmbed/team-st-mcd might help with DFU mode as well? |
Maybe you can try to add a little delay before setting usb_dp_pin to 0 ? |
Added a 1s delay before setting usb_dp_pin to 0. Didn't seem to make a difference. Any other solutions? |
For USB, I am waiting 10ms: |
10ms delay hasn't worked either. |
what about the interrupt vector table, is it necessary to reset the SCB->VTOR ? It is set to ram in platform/source/mbed_sdk_boot.c |
This can be closed, we got it working. Thanks a lot for the help! |
@tartavull maybe you could add few details to help community in the future ? :-) |
@tartavull Could you share your solution please? I'm also having the same issue |
We "solved it" by using some external circuitry.
…On Wed., May 5, 2021, 9:55 a.m. Billy Topley, ***@***.***> wrote:
@tartavull <https://github.com/tartavull> Could you share your solution
please? I'm also having the same issue
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14320 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABDOZZSRYH7OGJ3Y4QXGRV3TMFE5ZANCNFSM4YAX47WQ>
.
|
My application requires flashing the firmware without pressing any buttons on the device. Therefore, I would like to be able to enter DFU mode from the application.
I'm using the code suggested in #8523 (comment)
main.c
bootloader.S
I'm using a custom target (which I verified it is working by blinking LEDs)
custom_targets.json
I'm compiling using ARMC6 with mbed-studio and using
commit 0c6753b (HEAD -> latest, tag: mbed-os-6.7.0-rc1, tag: mbed-os-6.7.0, origin/latest)
The device doesn't enter DFU mode, I would appreciate any pointers.
The text was updated successfully, but these errors were encountered: