Please could anyone tell me:
o Is it possible with SEGGER emStudio or JLINK Ozone (I have both installed under MacOSX) to
debug a USB + JLINK attached NRF52 target without resetting it or installing a new image?
It does not seem to be (I cannot see how, anyway) , but perhaps there is a way?
ie. what I'd like the debugger to do:
o attach to my NRF52 (cortex-m4) target with JLINK over USB
o verify that the loaded image on the device is the same as the latest built image,
if so, do NOT download a new image;
o Put the CPU into pause / halt state - DO NOT RESET THE CPU
o allow me to inspect memory / set breakpoints in the running image, which
has not been reset.
Is this possible?
With all methods I have tried, emStudio / Ozone always downloads the
new image & resets the CPU.
Any suggestions much appreciated!
Thanks & Best Regards,
Jason
To be clear :
1. There appears to be no way to do this in emStudio's debugger -
it always builds & downloads an image and resets the CPU.
2. Having installed Ozone for MacOSX, any attempt to invoke
the down-arrow menu items 'Attach to Running Program' or
'Attach & Halt Running Program' results in an error:
Debug.SetConnectMode (CM_ATTACH);
Debug.Start();
Connection failed
This is despite being able to connect to the JLINK over USB with
emStudio with no problems.
Is this because it is a free non-commercial edition of Ozone I have ?
Would connection attempts succeed if I purchased a license ?
Or is halting the running program not supported for the NRF52 ?
If so, Ozone should tell me so rather than just the 'Connection failed'
message.
3. Having set the emStudio option:
Tools->Options->Debug->Ozone Executable to the correct '/Applications/SEGGER/Ozone.app'
application directory, I 'Connect JLINK' successfully, but when I click on 'Debug with Ozone',
nothing happens. Is this because I am using an unlicensed version of both emStudio and Ozone ?
Does anyone know of any third-party tool that can do the job
(debug a running program on a USB connected JTAG target without
downloading a new image or resetting the CPU )?
If so, please let me know.
o Is it possible with SEGGER emStudio or JLINK Ozone (I have both installed under MacOSX) to
debug a USB + JLINK attached NRF52 target without resetting it or installing a new image?
It does not seem to be (I cannot see how, anyway) , but perhaps there is a way?
ie. what I'd like the debugger to do:
o attach to my NRF52 (cortex-m4) target with JLINK over USB
o verify that the loaded image on the device is the same as the latest built image,
if so, do NOT download a new image;
o Put the CPU into pause / halt state - DO NOT RESET THE CPU
o allow me to inspect memory / set breakpoints in the running image, which
has not been reset.
Is this possible?
With all methods I have tried, emStudio / Ozone always downloads the
new image & resets the CPU.
Any suggestions much appreciated!
Thanks & Best Regards,
Jason
To be clear :
1. There appears to be no way to do this in emStudio's debugger -
it always builds & downloads an image and resets the CPU.
2. Having installed Ozone for MacOSX, any attempt to invoke
the down-arrow menu items 'Attach to Running Program' or
'Attach & Halt Running Program' results in an error:
Debug.SetConnectMode (CM_ATTACH);
Debug.Start();
Connection failed
This is despite being able to connect to the JLINK over USB with
emStudio with no problems.
Is this because it is a free non-commercial edition of Ozone I have ?
Would connection attempts succeed if I purchased a license ?
Or is halting the running program not supported for the NRF52 ?
If so, Ozone should tell me so rather than just the 'Connection failed'
message.
3. Having set the emStudio option:
Tools->Options->Debug->Ozone Executable to the correct '/Applications/SEGGER/Ozone.app'
application directory, I 'Connect JLINK' successfully, but when I click on 'Debug with Ozone',
nothing happens. Is this because I am using an unlicensed version of both emStudio and Ozone ?
Does anyone know of any third-party tool that can do the job
(debug a running program on a USB connected JTAG target without
downloading a new image or resetting the CPU )?
If so, please let me know.
The post was edited 1 time, last by jvd66 ().