Error Failed to execute MI command: flushreg

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Error Failed to execute MI command: flushreg

跳至解决方案
2,030 次查看
Rasoul
Contributor III

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!

标记 (2)
0 项奖励
回复
1 解答
4 回复数
1,811 次查看
Rasoul
Contributor III

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 项奖励
回复
1,956 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

what is your debug probe? 

0 项奖励
回复
1,808 次查看
Rasoul
Contributor III
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 项奖励
回复