mcuboot icon indicating copy to clipboard operation
mcuboot copied to clipboard

Reboot and force mcuboot to stay in boot mode

Open pwilkowski opened this issue 2 years ago • 1 comments

Hello, I have heard this is possible however i have not found any examples, if so, how can i achieve it with simplest program possible? ex.

void main(void)
{
	printk("Hello World! %s\n", CONFIG_BOARD);
	// set mcuboot flag of some sort to force it to never go to program?
	sys_reboot();
}

pwilkowski avatar Jun 22 '23 19:06 pwilkowski

Hi @pwilkowski, you didn't provide much information in you question (e.g. what OS and platform you are using) but in case of Zephyr, have a look at options BOOT_SERIAL_PIN_RESET (35941feacd0650bc3e7dc72e7490d589367d553c) and BOOT_SERIAL_BOOT_MODE (b3e3ce39f3e1abd95ff4010263b3613edf59dd54). Hope that helps!

pepe2k avatar Sep 07 '23 08:09 pepe2k

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

github-actions[bot] avatar Mar 06 '24 01:03 github-actions[bot]