example code - The Hex file does not match the acquired device | Cypress Semiconductor
example code - The Hex file does not match the acquired device
Hi Cypress guys,
I am using miniProg3 to program CYPD2122-20FNXIT. when I use "PSoC Programmer 18.104.22.1684", every thing is OK. But when I run sample code "C:\Program Files (x86)\Cypress\Programmer\Examples\Protocols\SWD\C_Sharp", I got error:
Program All using COM-object interface only
Pins : 20
Flash : 32768
Acquire Modes: 3 POWER RESET
14 06 11 A4
ProgrammerVersion:MiniProg3 version 2.05 [3.08/2.08]
hexJtagID :0x14 0x06 0x12 0xA4
chipJtagID:0x0B 0xB1 0x14 0x77
Failed! The Hex file does not match the acquired device, please connect the appropriate device
for trouble shooting, I add some console output of hexJtagID and chipJtagID, looks like the issue is chipJtagID NOT correct.
Any advice to get correct chipJtagID?
I am attaching the screen shot of "PSoC Programmer 22.214.171.1244", the modified source code(c#) and run output.