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

entering DFU mode on nucleo_l476 #741

Closed
andhieSetyabudi opened this issue Oct 30, 2019 · 3 comments
Closed

entering DFU mode on nucleo_l476 #741

andhieSetyabudi opened this issue Oct 30, 2019 · 3 comments
Labels
answered duplicate This issue or pull request already exists question ❓ Usually converted as a discussion

Comments

@andhieSetyabudi
Copy link

i use PlatformIO with stm32duino as the packages ( same as arduino for stm32)..
chip on my own board is stm32l476 same as nucleo_l476.
i wanna upload my program onto the chip through usb, so the choice is DFU.
is there library for me to set the bootloader?? or how to set MCU to entering the DFU ?

thanks

@fpistm
Copy link
Member

fpistm commented Oct 30, 2019

Hi @andhieSetyabudi
Currently there is no automatic way to enter in DFU mode.
stm32l476 has the STM32 builtin bootloader which support DFU.
Refers to the AN2606 STM32 microcontroller system memory boot mode

For your case set BOOT0 to 1 will allow enter in DFU mode. USB cable have to be plug before powering the board if this is not USB which power it.
Note: I've tested with Nucleo L476RG.

@fpistm fpistm added answered question ❓ Usually converted as a discussion labels Oct 30, 2019
@andhieSetyabudi
Copy link
Author

hi @fpistm
thanks for your reply..
i've already test to entering DFU by set BOOT0 to 1 and it success..
but that makes not simply by press BOOT0 to set it 1 every flashing it..
maybe there is other way or trick to set my MCU to entering DFU mode automaticaly ??

thanks

@fpistm
Copy link
Member

fpistm commented Oct 30, 2019

See #706

@fpistm fpistm closed this as completed Oct 30, 2019
@fpistm fpistm added the duplicate This issue or pull request already exists label Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered duplicate This issue or pull request already exists question ❓ Usually converted as a discussion
Projects
None yet
Development

No branches or pull requests

2 participants