AnsweredAssumed Answered

GUI flash tool fails on "error on restart - Ee(07)"

Question asked by ranshalit on Oct 28, 2018
Latest reply on Nov 7, 2018 by socalsparky

Hello,

 

I am using MIMXRT1050-EVK with SDK 2.3.0

On trying to use Gui flash tool, it seems that the programming works fine (according to printing after reset).

Yet, for some reason I get most of the time (more than 50%) the following error:

Executing flash operation 'Program' (Program file into flash: evkmimxrt1050_hello_world_xip.axf) - Sun Oct 28 13:17:06 IST 2018
Checking MCU info...
Scanning for targets...
Executing flash action...
MCUXpresso IDE RedlinkMulti Driver v10.2 (Jul 25 2018 11:25:37 - crt_emu_cm_redlink.exe build 555)
( 0) Reading remote configuration
Wc(03). No cache support.
Found chip XML file in C:/Users/ransh/Documents/MCUXpressoIDE_10.2.1_795/workspace/evkmimxrt1050_hello_world_xip/Debug\MIMXRT1052xxxxx.xml
( 5) Remote configuration complete
Reconnected to existing link server
Connecting to probe 1 core 0:0 (using server started externally) gave 'OK'
Probe Firmware: CMSIS-DAP (ARM)
Serial Number: 0227000040214e4500231018c89200449e11000097969900
VID:PID: 0D28:0204
USB Path: \\?\hid#vid_0d28&pid_0204&mi_03#7&1c929f40&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Using memory from core 0:0 after searching for a good core
( 30) Emulator Connected
( 40) Debug Halt
( 50) CPU ID
debug interface type = Cortex-M7 (DAP DP ID 0BD11477) over SWD TAP 0
processor type = Cortex-M7 (CPU ID 00000C27) on DAP AP 0
number of h/w breakpoints = 8
number of flash patches = 0
number of h/w watchpoints = 4
Probe(0): Connected&Reset. DpID: 0BD11477. CpuID: 00000C27. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Content of CoreSight Debug ROM(s):
RBASE E00FD000: CID B105100D PID 000008E88C ROM dev (type 0x1)
ROM 1 E00FE000: CID B105100D PID 04000BB4C8 ROM dev (type 0x1)
ROM 2 E00FF000: CID B105100D PID 04000BB4C7 ROM dev (type 0x1)
ROM 3 E000E000: CID B105E00D PID 04000BB00C ChipIP dev SCS (type 0x0)
ROM 3 E0001000: CID B105E00D PID 04000BB002 ChipIP dev DWT (type 0x0)
ROM 3 E0002000: CID B105E00D PID 04000BB00E ChipIP dev (type 0x0)
ROM 3 E0000000: CID B105E00D PID 04000BB001 ChipIP dev ITM (type 0x0)
ROM 2 E0041000: CID B105900D PID 04001BB975 ARCH 23B:4A13r0 CoreSight dev type 0x13 Trace Source - core
ROM 2 E0042000: CID B105900D PID 04004BB906 CoreSight dev type 0x14 Debug Control - Trigger, e.g. ECT
ROM 1 E0040000: CID B105900D PID 04000BB9A9 CoreSight dev type 0x11 Trace Sink - TPIU
ROM 1 E0043000: CID B105F00D PID 04001BB101 System dev (type 0x0)
Inspected v.2 External Flash Device on SPI MIMXRT1050-EVK_S26KS512S.cfx
Image 'MIMXRT1050-EVK_S26KS512SOct 19 2017 16:37:47'
Opening flash driver MIMXRT1050-EVK_S26KS512S.cfx
Sending VECTRESET to run flash driver
Flash variant 'S26KS512S' detected (64MB = 256*256K at 0x60000000)
Closing flash driver MIMXRT1050-EVK_S26KS512S.cfx
Non-standard DAP stride detected - 1024 bytes
NXP: MIMXRT1052xxxxx
( 65) Chip Setup Complete
Connected: was_reset=true. was_stopped=false
( 70) License Check Complete
Loading 'evkmimxrt1050_hello_world_xip.axf' ELF 0x60000000 len 0x5A0C
Opening flash driver MIMXRT1050-EVK_S26KS512S.cfx (already resident)
Sending VECTRESET to run flash driver
Flash variant 'S26KS512S' detected (64MB = 256*256K at 0x60000000)
Writing 23052 bytes to address 0x60000000 in Flash
( 0) Mass erasing Flash
Mass erased flash in 3844msec
1 of 1 ( 0) Writing pages 0-0 at 0x60000000 with 23052 bytes
( 0) at 60000000: 0 bytes - 0/23052
( 71) at 60000000: 16384 bytes - 16384/23052
(100) at 60004000: 16384 bytes - 32768/23052
Wrote page 0-0 with 23052 bytes in 1360msec
Closing flash driver MIMXRT1050-EVK_S26KS512S.cfx
(100) Finished writing Flash successfully.
Flash Write Done
Loaded 0x5A0C bytes in 5581ms (about 4kB/s)
Reset target (system)
Starting execution using system reset
error on restart - Ee(07). Bad ACK returned from status - wire error.
(100) Target Connection Failed
Unable to perform operation!
Command failed with exit code 1

 

What does it mean ? Should I just ignore this error ?

 

Thank you,

ranran

Outcomes