gcvideo icon indicating copy to clipboard operation
gcvideo copied to clipboard

Programming JTAG method for Pluto-IIX HDMI

Open crispycritter911 opened this issue 5 years ago • 11 comments

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?

crispycritter911 avatar Feb 11 '20 05:02 crispycritter911

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.

ikorb avatar Feb 11 '20 19:02 ikorb

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?

BenoitCaron avatar Feb 27 '20 16:02 BenoitCaron

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 [email protected] 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 .

crispycritter911 avatar Feb 27 '20 17:02 crispycritter911

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.

BenoitCaron avatar Feb 27 '20 17:02 BenoitCaron

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

ikorb avatar Feb 27 '20 18:02 ikorb

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

BenoitCaron avatar Feb 27 '20 18:02 BenoitCaron

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.

GizmoTheGreen avatar Apr 12 '20 21:04 GizmoTheGreen

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 avatar Apr 26 '21 20:04 jeanh17

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.

jeanh17 avatar Mar 11 '23 00:03 jeanh17

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

catawalks avatar Apr 19 '23 12:04 catawalks

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

jeanh17 avatar Jan 30 '24 02:01 jeanh17