FXTH87E DEBUG problem

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

FXTH87E DEBUG problem

831 次查看
haley
Contributor I

Hello everyone, I encountered a problem when debugging FXTH87E (refer to pictures and log files), the code compilation and download is no problem, but DEBUG always prompts "HC / RS / S12Z GDI Protocol Adapter: An error occurred while trying to write registers. Expected BDM command ACK missing".This error has been bothering me for two weeks, I need your ideas and help, thank you.

微信截图_20200601160721.png微信截图_20200601160728.png微信截图_20200601160701.png

标签 (1)
标记 (1)
0 项奖励
1 回复

767 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Haley,

It looks like there is something wrong in the sequence: from the screenshot of the programming log, it looks like you are programming the .abs file into the chip using the Flash Programmer tool, and not the debugger.

The Flash Programming tool handles the .s19 file to program the data at the appropriate addresses into the chip, without debugging.

The Debugger handles the .abs file, which contains the information of the data to be written into the chip, plus the debugging information.

 

So, in order to be able to debug the program, you should use the Debugger tool with the .abs.

 

More information on how to setup a debug session is given in the User Manual UM11325, section 3.4.1.

Hope it helps.

Best regards,

Tomas

0 项奖励