Skip to main content
KnarfB
Super User
October 31, 2020
Solved

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

  • October 31, 2020
  • 1 reply
  • 1449 views

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.

This topic has been closed for replies.
Best answer by PatrickF

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.

1 reply

PatrickF
PatrickFBest answer
Technical Moderator
November 3, 2020

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.NEW ! Sidekick STM32 AI agent, see here
KnarfB
KnarfBAuthor
Super User
November 6, 2020

Thanks Patrick, it works. From U-Boot:

mw 0x5C00A150 0xFF
reset

KnarfB