cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to trigger a USB DFU boot from a running STM31MP157C-DK2 without physical switching DIPs etc.?

KnarfB
Principal III

What I want to achieve is starting the DFU ROM bootloader (like on a MCU) from a running Linux (maybe via a dedicated kernel module) or, if this helps, via re-configuring u-boot and doing a software reboot cycle.

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

Hello,

place have a look to https://wiki.st.com/stm32mpu/index.php?title=STM32MP15_ROM_code_overview#Boot_device_selection_via_the_boot_pins_and_OTP

Need to reset while having set TAMP_REG[20] = 0xFF

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
PatrickF
ST Employee

Hello,

place have a look to https://wiki.st.com/stm32mpu/index.php?title=STM32MP15_ROM_code_overview#Boot_device_selection_via_the_boot_pins_and_OTP

Need to reset while having set TAMP_REG[20] = 0xFF

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Thanks Patrick, it works. From U-Boot:

mw 0x5C00A150 0xFF
reset

KnarfB