Hi,
As we discussed previously, I tried this method and it did not work.
That is why I asked for another method to enter ISP mode from the application.
The workaround method I used was to wire a capacitor between P0_5 and GND, and set P0_5 to digital low before I called NVIC_SystemReset(). This way, the IC detected P0_5 low and entered ISP mode.
However, this method had some flaws because we might need to add a capacitor and wait for the discharge time.
I wonder if there is any method that can enter ISP mode without adding any components.
Thanks.
BR,
Peter