AnsweredAssumed Answered

Would like to enter DFU mode programmatically (on STM32F7)

Question asked by dhylands on Jul 28, 2015
Latest reply on Jul 29, 2015 by dhylands
Hi,

I have some code for entering DFU mode from my application which works on the STM32F4: https://github.com/micropython/micropython/blob/master/stmhal/modpyb.c#L70-L87

I'd like to do something equivalent on the STM32F7 (I have an STM32F7 Discovery board which has the STM32F746 MCU)

There doesn't seem to be any __HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH macro defined in the STMCubef7 files.

I'm able to successfully enter DFU mode by wiring in a switch between VCC and R42 (the BOOT0 line). I'd really like to be able to enter DFU mode without having to flip any switches.

Outcomes