c0pperdragon / C64-Video-Enhancement

Component video modification for the C64 8-bit computer
MIT License
256 stars 36 forks source link

CH552 USB Blaster compatibility #97

Open insanity213 opened 11 months ago

insanity213 commented 11 months ago

I've got the VGP C128 board with the firmware that's incompatible with running in 2Mhz mode. I picked up a cheap Ali Express CH552 based USB Blaster but I am unable to get it to see the FPGA on the other end of the JTAG interface. I've tried Win11, Win7 and Ubuntu which all can see the programmer but not the FPGA. Is this programmer just a waste of time? Can you recommend a programmer that works without shelling out a ton of cash? Thanks.

c0pperdragon commented 11 months ago

Flashing the firmware has its quirks. There is an issue thread for this specific topic: https://github.com/c0pperdragon/C64-Video-Enhancement/issues/80

insanity213 commented 11 months ago

Yep, saw that thread and read everything. My problem seems different in that it doesn't even detect the FPGA using the programmer GUI or with the CLI tools and I get a different error. Makes me think this programmer is junk.

C:\intelFPGA_lite\18.1\quartus\bin64>jtagconfig.exe --enum 1) USB-Blaster [USB-0] Unable to read device chain - JTAG chain broken

c0pperdragon commented 11 months ago

Are you sure the JTAG plug is in the correct orientation?  And you need to power the device, it will not be powered from the programmer.

Reinhard

----- Ursprüngliche Nachricht ----- Von: insanity213 @.> Datum: 01.11.2023 09:37 An: c0pperdragon/C64-Video-Enhancement @.> Kopie: c0pperdragon @.>, Comment @.> Betreff: Re: [c0pperdragon/C64-Video-Enhancement] CH552 USB Blaster compatibility (Issue #97)   >

 

Yep, saw that thread and read everything. My problem seems different in that it doesn't even detect the FPGA using the programmer GUI or with the CLI tools and I get a different error. Makes me think this programmer is junk.

C:\intelFPGA_lite\18.1\quartus\bin64>jtagconfig.exe --enum

  1. USB-Blaster [USB-0] Unable to read device chain - JTAG chain broken

— Reply to this email directly, view it on GitHub https://github. com/c0pperdragon/C64-Video-Enhancement/issues/97# issuecomment-1788599419, or unsubscribe https://github. com/notifications/unsubscribe-auth/ACTIHVFZWXJ3REQPYHQ6JEDYCIC5DAVCNFSM6AA AAAA6YZDDBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBYGU4TSNBRHE. You are receiving this because you commented.Message ID: < @.***>

insanity213 commented 11 months ago

The FPGA is installed in the machine and being powered by the c128. I checked the included cable for continunity, also tried wiring it directly with dupont jumpers. I hooked up 6 wires, the 4 JTAG signals, 3v3 and gnd. I do see activity on the programmers LED and with the scope when I look at the JTAG pins while initiating a connection. Honestly I dont know what good JTAG signals look like on a scope but nothings stuck high or low or anything. All I can guess at this point is perhaps the JTAG signal pinout from the programmer is wrong and mislabeled on the board's silkscreen. Might try swapping TDI / TDO today and see if it makes a difference.