Issue (Reading CPU status failed) loading into FLASH - IAR using I-jet on Kinetis 20

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue (Reading CPU status failed) loading into FLASH - IAR using I-jet on Kinetis 20

6,588 Views
brentwilliams
Contributor II

Hi I have been using an I- JET with IAR to download into FLASH on a custom board using a Kinetis 20.  I had not been having any issues until yesterday. 

I can no longer download into FLASH.  I am seeing the following - "Reading CPU status failed".  The entire log is below.

Any insight as to what I might try would be greatly appreciated.

Wed Oct 16, 2013 08:30:16: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\arm\config\flashloader\Freescale\FlashK60Xxxx64K.mac

Wed Oct 16, 2013 08:30:16: Loading the I-jet/JTAGjet driver

Wed Oct 16, 2013 08:30:16: Probe: Probe SW module ver 1.08

Wed Oct 16, 2013 08:30:17: Probe: Opened connection to I-jet:72658

Wed Oct 16, 2013 08:30:17: Probe: USB connection verified (6637 packets/sec)

Wed Oct 16, 2013 08:30:17: Probe: I-jet FW ver 2, HW rev A

Wed Oct 16, 2013 08:30:17: Probe: IJET-MIPI20 adapter detected

Wed Oct 16, 2013 08:30:18: JTAG clock detected: 12MHz

Wed Oct 16, 2013 08:30:18: Chain detected: 1 device, total IR length 4. BoardCfg=!Cortex 

Wed Oct 16, 2013 08:30:18: Emulation layer version 3.12

Wed Oct 16, 2013 08:30:18: Emulation layer status 0x0

Wed Oct 16, 2013 08:30:18: Reading CPU status failed

Wed Oct 16, 2013 08:30:18: LowLevelReset(script, delay 200)

Wed Oct 16, 2013 08:30:18: Calling reset script: C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\arm\config\debugger\Freescale\KinetisK.ProbeScript@ResetAndDisableWatchdog

Wed Oct 16, 2013 08:30:18: The scripted reset failed with the message:

Signum script error in C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\arm\config\debugger\Freescale\KinetisK.ProbeScript line 9:

   Target resetting error 3.

Wed Oct 16, 2013 08:30:18: Powering up triggered an error that may be temporary

Wed Oct 16, 2013 08:30:18: Powering up triggered an error that may be temporary

Wed Oct 16, 2013 08:30:20: Fatal error: Reading CPU status failed   Session aborted!

Wed Oct 16, 2013 08:30:20: Failed to load flash loader: C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\arm\config\flashloader\Freescale\FlashK60Dxxx64K.flash

Wed Oct 16, 2013 08:30:24: Logging to file: C:\Users\brentw\cspycomm.log

Wed Oct 16, 2013 08:30:24: Loading the I-jet/JTAGjet driver

0 Kudos
Reply
5 Replies

2,595 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

I have a customer also met the similar problem with I-Jet tool, which shows the info the Kinetis chip was secured.

You could try to use I-Jet tool to mass erase the chip, which will unsecure the chip.

I got the info, the latest I-Jet firmware could do mass erase to unsecure the Kinetis chip.

Wish it helps.

0 Kudos
Reply

2,595 Views
brentwilliams
Contributor II

thank you I will try that

0 Kudos
Reply

2,595 Views
brentwilliams
Contributor II

thank you I will try that

0 Kudos
Reply

2,595 Views
brentwilliams
Contributor II

thank you I will try that

0 Kudos
Reply

2,595 Views
LuisCasado
NXP Employee
NXP Employee

Hello,

I was told by IAR application engineer to update the I-Jet firmware. Not sure if it is your case, but helped me with similar issues.

C:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\bin\jet\firmware

Best Regards,

Luis

0 Kudos
Reply