FXTH87E DEBUG problem

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

FXTH87E DEBUG problem

812 Views
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

Labels (1)
Tags (1)
0 Kudos
1 Reply

748 Views
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 Kudos