Quantcast
Viewing all articles
Browse latest Browse all 153

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 3.25.0.2504", 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
MiniProg3/1548BB00036F
-->CYPD2122-20FNXIT Information:
Family: CYPD2xxx
Pins : 20
Flash : 32768
Acquire Modes: 3 POWER RESET
Silicon IDs:
        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 3.25.0.2504", the modified source code(c#) and run output.

 

Attachments: 
Image may be NSFW.
Clik here to view.
Download PSoC Programmer - PASS.png
Image may be NSFW.
Clik here to view.
Download Program - modified - add chip ID c-sharp.txt
Image may be NSFW.
Clik here to view.
Download id does not match.txt

Viewing all articles
Browse latest Browse all 153

Trending Articles