Skip to main content
Hammy
Associate III
Jan 27, 2023 1:16 AM UTC
Solved

How to change the pin that is used for the u-boot programming mode

How do I change the pin for the u-boot-stm32mp programmer mode at boot up?

This topic has been closed for replies.
Hammy
HammyBest answer
Associate III
Jan 27, 2023 1:19 AM UTC

In the your-board-name-u-boot.dtsi file you can change it at

/ {
 * * *
	config{
		st,stm32prog-gpios = <&gpio0 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
	};
};

so search for the st,stm32prog-gpios tag.

1 reply

Hammy
HammyAuthorBest answer
Associate III
Jan 27, 2023 1:19 AM UTC

In the your-board-name-u-boot.dtsi file you can change it at

/ {
 * * *
	config{
		st,stm32prog-gpios = <&gpio0 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
	};
};

so search for the st,stm32prog-gpios tag.