Thank you,
the error code 0x80000081 is not applicable here, this is just an intermediate error returned for old protocol command probed by FreeMASTER for backward compatibility. The overall result is OK (0x0), which means the JLink plug-in "thinks" it is returning a valid data.
We will need to do some experiments to find out what is wrong. I suspect the FreeMASTER reads the correct memory, but the CPU is halted. Is there any other way how you can find out if the application is running (e.g. any LED blinking)? It sometimes happens that during JTAG connect/disconnect process, the core gets reset and/or halted.
Please do these experiments:
- Make your FreeMASTER variable modifiable and change it from variable watch grid to some other value. Will it work? If my theory is correct, the variable will change, but will remain constant after that.
- If you use IAR toolchain, please attach the debugger and see if you will be able to pause/resume application execution. FYI: the IAR debugger session shall be able to share the JLink connection with FreeMASTER.
- If IAR is attached, press the software reset button.
Similar to IAR, you can also use Segger Ozone debugger. This is also able to co-exist with FreeMASTER on the same JLink connection.
I will ask my colleagues to replicate the same HW setup and to try to replicate the issue locally.
Thanks,
Michal