STEVAL-SMARTAG1 - debugging: CPU could not be halted
Hi,
I am using Keil v5.28 and want to debug the code on STEVAL-SMARTAG1. The module uses 1.8V to power its MCU. SWD pins are enabled in the app.
---------------------------
After 4-5sec after starting the debugging of the STEVAL-SMARTAG1 module I loose the connectivity to the target (it works fine within the first 4sec). The watched variables are not updated since then. Tested both nucleo ST-LINK/2-1 (external target) and j-link edu mini:
jlink reports: **JLink Warning: CPU could not be halted"
st-link gives the following message when I try to stop the debugger or stop the app: "Could not stop Cortex-M device".
So both debuggers experience very similar issues.
VTref looks good: VTarget = 1.794V
I have no problem to stop the MCU within the first 3sec. The problem starts showing up after 4sec.
------------------
I know that the j-link edu mini does not support 1.8V (at least theoretically because I saw it working with such 1.8V powered boards). So it may fail with this voltage as per Segger information.
But the the nucleo ST-LINK/2-1 is recomended for STEVAL-SMARTAG1 (at least the ST manual shows this programmer as useful). That's why it is interesting.
I wonder if you have any experience like this.
I would appreciate any suggestions.
Thanks a lot
Bogdan
