Hey y'all! I am struggling with attempting to flash a Infineon XC164CS-16F micro. This type of microcontroller is used on the mainboard of centrifuge that I am trying to repair. The micro definitely died so I did replace it with a new one, however, I am struggling to program it.
I have only flashed a micro one other time - an STM32 series, and with some help, it was relatively straightforward. However, with this Infineon series micro, I am struggling to find adequate info/resources to perform this flash. They give a lot of examples using some of their evaluation/starter boards, but I am hoping to flash the chip from a working centrifuge mainboard in-circuit (without removing it from the board).
I have downloaded Infineon's MemTool software which seems easy enough to use if I could get the micro to connect. I have tried putting the micro in BSL mode, but I'm not sure if I have it right. Right now I have tried the following:
For BSL mode, I configured the following pins as stated below, and reset the micro by pulling pin 1 RSTIN low:
EA pin 66 = High
ALE pin 65 = Low
WR pin 64 = High
RD pin 63 = Low
I have the following pins connected to a UART to USB converter FTDI C232HD cable:
RxD0 P3.11 pin 49 connected to TxD of cable
TxD0 3.10 pin 48 connected to RxD of cable
I've tried both default Target files in MemTool and creating my own Target file, but I always get the same result when trying to connect (see attached photo).
I've also included a schematic of micrcontroller section of the board I am trying to repair. Also, here are links to the user manual for the XC164CS-16F and some additional resources I've been using to try to accomplish this.
XC164CS-16F user manual - chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://www.infineon.com/dgdl/xc164_um_v2.1_2004_03_sys.pdf?fileId=db3a304412b407950112b40ae71906bf
XC164CS Easy Kit Board manual - chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://www.farnell.com/datasheets/17493.pdf
Infineon MemTool for XMC1000 family - chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://www.infineon.com/dgdl/Infineon-TOOL_Tutorial_Memtool_XMC1-TR-v01_00-EN.pdf?fileId=5546d462525dbac401530e93cdc9061f
If there's anything else I can include so that you guys can better assist me, please just let me know. I would greatly appreciate anyone's help with this!
Thanks!
-Frank