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

Post Reply
a_ziliu
Posts: 116
Joined: 20 Mar 2017, 10:52

27 Mar 2017, 14:52

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();

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest