Hello!
I wanna know what are the possible reasons for the **JLink Warning: CPU could not be halted. I did some modifications in the code and now i get that all the time. I would like to know the reasons so i know where to find the errors.
Thank you!
Device:
Hi vrabo,
A possible reason why you get this warning and the CPU could not be halted, is that the debugger is detached from the DA14580. So, that means that the DA14580 unexpectedly resets for some reason or your application code closes the debugger module of the device.
Thanks, PM_Dialog
so it could be a problem with jumpers and not with the code... thanks for the answer!
Hi vrabo,
As I mentioned in the previous post, the reset reason might also be due to code. For example when trying to allocate memory and you don’t have enough left can lead you to a reset, if CFG_DEVELOPMENT_DEBUG in da1458x_stack_config.h is defined, the device will just issue an assertion if not the device will reset in most cases.
Thanks, PM_Dialog