Reboot and force mcuboot to stay in boot mode
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();
}
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!
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.