Hello,
I'm working with an NXP i.MX RT1052 MCU and have working debugging in NXP MCUXpresso IDE v10.3.1_2233 with JLink_V645b and a newly bought J-Link PRO (firmware is updated). Works very reliable but Eclipse (which is the base for MCUXpresso) is a bit of a beast and not as nice as Ozone for debugging, so now when I'm chasing a specially annoying bug I decided to switch over to Ozone V2.62, but it just refuses to work.
In MCUXPresso the Debugger settings are:
Device: MCIMXRT1052
Target interface: SWD
Speed: auto
In Ozone it's set to:
Target device: MCIMXRT1052 or MIMXRT1052DVL6B (tried both)
Target interface: SWD: 1 MHz (tried some other speeds, and auto, as well)
It flashes the device but then all I get is:
J-Link: connected to target device
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Elf.GetBaseAddr();
Target.SetReg ("SP", 0xC0C0C0C);
Target.SetReg ("PC", 0x0);
Can not read register 15 (R15) while CPU is runningCan not read register 7 (R7) while CPU is runningCan not read register 6 (R6) while CPU is runningCan not read register 5 (R5) while CPU is runningCan not read register 4 (R4) while CPU is runningCan not read register 3 (R3) while CPU is runningCan not read register 2 (R2) while CPU is runningCan not read register 1 (R1) while CPU is runningCan not read register 0 (R0) while CPU is runningCan not read register 15 (R15) while CPU is runningPC of target system has unexpected value after preparing target. (PC = 0x00000000)!
---------------------------------------------------------------------- Registers -------------------------------------------------------------------------------------
PC = 00000000
Current: R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000
R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000
--------------------------------------------------------------------------------------
The board is an Embedded Artists devkit:
embeddedartists.com/products/imx-rt1052-developers-kit/
Very annoying, but electrically everything seems fine since it works with MCUXPresso.
Let me know if I can try something out to to either fix the problem or give you more information about what's going wrong.
/M
I'm working with an NXP i.MX RT1052 MCU and have working debugging in NXP MCUXpresso IDE v10.3.1_2233 with JLink_V645b and a newly bought J-Link PRO (firmware is updated). Works very reliable but Eclipse (which is the base for MCUXpresso) is a bit of a beast and not as nice as Ozone for debugging, so now when I'm chasing a specially annoying bug I decided to switch over to Ozone V2.62, but it just refuses to work.
In MCUXPresso the Debugger settings are:
Device: MCIMXRT1052
Target interface: SWD
Speed: auto
In Ozone it's set to:
Target device: MCIMXRT1052 or MIMXRT1052DVL6B (tried both)
Target interface: SWD: 1 MHz (tried some other speeds, and auto, as well)
It flashes the device but then all I get is:
J-Link: connected to target device
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Elf.GetBaseAddr();
Target.SetReg ("SP", 0xC0C0C0C);
Target.SetReg ("PC", 0x0);
Can not read register 15 (R15) while CPU is runningCan not read register 7 (R7) while CPU is runningCan not read register 6 (R6) while CPU is runningCan not read register 5 (R5) while CPU is runningCan not read register 4 (R4) while CPU is runningCan not read register 3 (R3) while CPU is runningCan not read register 2 (R2) while CPU is runningCan not read register 1 (R1) while CPU is runningCan not read register 0 (R0) while CPU is runningCan not read register 15 (R15) while CPU is runningPC of target system has unexpected value after preparing target. (PC = 0x00000000)!
---------------------------------------------------------------------- Registers -------------------------------------------------------------------------------------
PC = 00000000
Current: R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000
R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000
--------------------------------------------------------------------------------------
The board is an Embedded Artists devkit:
embeddedartists.com/products/imx-rt1052-developers-kit/
Very annoying, but electrically everything seems fine since it works with MCUXPresso.
Let me know if I can try something out to to either fix the problem or give you more information about what's going wrong.
/M