Page 1 of 1

What software reset should be used when switching from APROM to LDROM to execute program updates, or switching from LDRO

Posted: 27 Mar 2017, 14:52
by a_ziliu
When reset, the software reset in which the CBS [1] (Config0 [7]) is not loaded into the BS (ISPCTL [1]) is used. Thus, the user needs to use MCU Reset or CPU Reset.
MCU Reset
Reset the entire chip, but retain the BS setting.
Function call: NVIC_SystemReset();
CPU Reset
Reset only the CPU and Flash controller, but retain the BS setting.
Function call: SYS_ResetCPU();