ikorb / gcvideo

GameCube Digital AV converter
675 stars 84 forks source link

Programming JTAG method for Pluto-IIX HDMI #32

Open crispycritter911 opened 4 years ago

crispycritter911 commented 4 years ago

I've tried to upgrade from 2.3 to the latest version (currently 3.0d) and was having issues with programming it with the USB adapter provided on KNJN. I've read about using a JTAG to programming the SPI flash of the board. Would I use the pin header below the FPGA chip or should I connect directly to the flash itself? I've also noticed you mention the flash could be different on the board and you could try to create another .xsvf file depending on the chip. I was wonder if you could generate one for M25P80VP?

ikorb commented 4 years ago

The pins for JTAG programming are the two groups of three pins closest to the FPGA on the short side of the board, opposite from the HDMI connector.

I would recommend trying the existing xsvf file first, the M25P80 should support the same commands as the M25P40.

BenoitCaron commented 4 years ago

I've had somme issues updating with the USB adapter quite recently, turns out I needed a newer version of FPGA Conf. I could provide it if you want to try that. Can you provide more details on your issues?

crispycritter911 commented 4 years ago

I would like to try it. I'm getting a communication error when trying to program it.

On Thu, Feb 27, 2020, 10:53 AM Benoît Caron notifications@github.com wrote:

I've had somme issues updating with the USB adapter quite recently, turns out I needed a newer version of FPGA Conf. I could provide it if you want to try that. Can you provide more details on your issues?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ikorb/gcvideo/issues/32?email_source=notifications&email_token=ACVDDPUDD3KCKYUFVORDPRDRE7VXFA5CNFSM4KS2Q552YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENFCW6A#issuecomment-592063352, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVDDPQOEM5VXHT65FOHZE3RE7VXFANCNFSM4KS2Q55Q .

BenoitCaron commented 4 years ago

Yeah I had the same issue. Here comes.

StartupKit_Pluto-IIx~HDMI.zip

Also, would it be possible to host this file permanently and link it in the readme? It is crazy hard to find it on the web. I got this one by asking KNJN directly.

ikorb commented 4 years ago

I do not want to distribute someone else's code without their explicit permission.

BenoitCaron commented 4 years ago

Oh sorry, I did not realize this program was their own! Do you want me to remove the file I uploaded above?

GizmoTheGreen commented 4 years ago

only login in to confirm I could program the M25P80 on my Pluto IIx just fine using JTAG with the existing files from Releases (some months ago when 3.0b~c released) it will throw an error after a while but will be succesfully programmed. using built in updater with .dol to upgrade from c to d also worked perfectly.

jeanh17 commented 3 years ago

The latest FPGAconf has the ability to flash a .bin file at offset 0 of the M25P80 so should be able to program the released "gcvideo-dvi-p2xh-gc-3.0e-spirom-complete.bin" directly to flash. https://www.knjn.com/bin/FPGAconf.zip

Older FPGAconf could only program .bit files at a non-0 offset so a JTAG cable was required.

jeanh17 commented 1 year ago

The new version of the Pluto-IIx HDMI board adds a USB-C connector, making flashing the board easier than with JTAG. https://www.knjn.com/docs/Pluto-IIx%20HDMI%20for%20GCVideo%20mod.pdf

To flash a Pluto for gamecube with 3.1, use FPGAconf 2.22 or higher, choose "Pluto-IIx XC3S200 USB-C" in the boards menu, select the "gcvideo-dvi-p2xh-gc-3.1-spirom-complete.bin" file and click on "Program boot-PROM"... then wait 3~4 minutes for the "boot-PROM programmed OK" message.

catawalks commented 1 year ago

The new version of the Pluto-IIx HDMI board adds a USB-C connector, making flashing the board easier than with JTAG. https://www.knjn.com/docs/Pluto-IIx%20HDMI%20for%20GCVideo%20mod.pdf

To flash a Pluto for gamecube with 3.1, use FPGAconf 2.22 or higher, choose "Pluto-IIx XC3S200 USB-C" in the boards menu, select the "gcvideo-dvi-p2xh-gc-3.1-spirom-complete.bin" file and click on "Program boot-PROM"... then wait 3~4 minutes for the "boot-PROM programmed OK" message.

For those looking for FPGAconf 2.22 or higher: https://www.knjn.com/bin/FPGAconf.2.22.02.zip

jeanh17 commented 7 months ago

Re-programming a Pluto-IIx HDMI USB-C board with the latest GCVideo release https://www.knjn.com/docs/Pluto-IIx%20HDMI%20USB-C%20for%20GCVideo%20-%20(re-)programming%20the%20latest%20release.pdf