NVIC_SystemReset and reset to bootloader

Hi!

I'm guessing in order to boot to bootloader (Portenta H7) I need a magic value
set at a certain memory address and then call NVIC_SystemReset(); That is how I've
done it on some other platforms.

So if this is the case: What is the MAGIC VALUE and what is the memory address for the Portenta H7?

If it's done through some other means: how?

iKjetil

Here is a solution:

RTC_HandleTypeDef RTCHandle;
RTCHandle.Instance = RTC;
HAL_RTCEx_BKUPWrite(&RTCHandle, RTC_BKP_DR0, 0xDF59);
NVIC_SystemReset();

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.