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.
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