Skip to content
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

asm::bootload #520

Open
charleselie opened this issue Mar 27, 2024 · 0 comments
Open

asm::bootload #520

charleselie opened this issue Mar 27, 2024 · 0 comments

Comments

@charleselie
Copy link

I am using an STM32F411 and I want to do place my stm32in dfu mode by software.

I am trying to do it by using asm::bootload ( *correct system memory address ), it correctly goes into the function, but then I don't know what happen to my MCU, but it does not go in DFU mode.

I have implemented an USB communication, and I still can see the usb port, but it doesn't respond after calling the bootload function.

seems to be better working after a system reset using cortex_m::peripheral::SCB::sys_reset();

is this the best way ? and why is it needed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant