Error Failed to execute MI command: flushreg

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

Error Failed to execute MI command: flushreg

Jump to solution
1,189 Views
Rasoul
Contributor II

Hi,

I want to program S32K358 NXP MCU. After pressing Debugging bottom I faced to the following error:


Error in final launch sequence
Failed to execute MI command:
flushreg
continue
monitor refreshviews
continue
Error message from debugger back end:
Remote communication error. Target disconnected.: No error.
Remote communication error. Target disconnected.: No error.

It seems that it is related to the Flush register. I tried different ways to fix it but I couldn't. So, I appreciate it if somebody help me in this regard.

Thanks!

Tags (2)
0 Kudos
Reply
1 Solution
4 Replies
970 Views
Rasoul
Contributor II

For those who encounter a similar error, this issue arises from the lock pin on the NXP evaluation board. There is a switch that disables the MCU from being reprogrammed. If this switch is ON, you will encounter this error during debugging and programming of the MCU. To resolve the issue, you must deactivate this switch on the evaluation board.

0 Kudos
Reply
1,115 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

what is your debug probe? 

0 Kudos
Reply
967 Views
Rasoul
Contributor II
For those who encounter a similar error, this issue arises from the lock pin on the NXP evaluation board. There is a switch that disables the MCU from being reprogrammed. If this switch is ON, you will encounter this error during debugging and programming of the MCU. To resolve the issue, you must deactivate this switch on the evaluation board.
0 Kudos
Reply
OSZAR »