Shuriken video v2 build with xc3s200a

Portables, case replacements, mods etc, all in here!
Khar00f
Posts: 20
Joined: Mon Dec 22, 2014 3:20 am

Re: Shuriken video v2 build with xc3s200a

Post by Khar00f » Sun Jan 24, 2016 4:30 pm

Awesome, is there Abby way to power the chip without connecting it to the GameCube?

If so, how? If not, do I need
All pins or only the vcc?

Sent from my SM-N910W8 using Tapatalk
meneerbeer
Posts: 212
Joined: Wed Sep 03, 2014 9:13 am

Re: Shuriken video v2 build with xc3s200a

Post by meneerbeer » Sun Jan 24, 2016 5:10 pm

I think you need all. I think the Shuriken board needs 3.3V directly, as in there is no regulator for it.I think the 1.2V is created with a regulator with the 3.3V as input. So you will need a source with 3.3V.

You could just tap off the 3.3V from the GameCube's digital video connector.
Khar00f
Posts: 20
Joined: Mon Dec 22, 2014 3:20 am

Re: Shuriken video v2 build with xc3s200a

Post by Khar00f » Sun Jan 24, 2016 5:12 pm

Perfect, will try that a littler later when I get home tonight. I'll keep you posted.

Thank you,

Sent from my SM-N910W8 using Tapatalk
meneerbeer
Posts: 212
Joined: Wed Sep 03, 2014 9:13 am

Re: Shuriken video v2 build with xc3s200a

Post by meneerbeer » Sun Jan 24, 2016 5:28 pm

I am not 100% sure, I do not have this board. Make sure you take a good look at the layout.
Khar00f
Posts: 20
Joined: Mon Dec 22, 2014 3:20 am

Re: Shuriken video v2 build with xc3s200a

Post by Khar00f » Sun Jan 24, 2016 5:32 pm

It's still a good place to start.

@andre104623 could probably shed some light on that subject or @happy_bunny.

Thank you for assisting, I'll provide an update in a few hours if I get a chance to work in it tonight.

Sent from my SM-N910W8 using Tapatalk
Khar00f
Posts: 20
Joined: Mon Dec 22, 2014 3:20 am

Re: Shuriken video v2 build with xc3s200a

Post by Khar00f » Mon Jan 25, 2016 4:55 am

Alright, here's my update.

So I connected the chip to 3.3v source, the light in the programmer is now green YAY!

That victory was pretty short lived as that's as far as I was able to get.

When I try to program the .mcs file iMPACT gives an error that I can't get passed.


GUI --- Auto connect to cable...
// *** BATCH CMD : setCable -port auto
INFO:iMPACT - Digilent Plugin: Plugin Version: 2.4.4
INFO:iMPACT - Digilent Plugin: no JTAG device was found.
AutoDetecting cable. Please wait.
*** WARNING ***: When port is set to auto detect mode, cable speed is set to default 6 MHz regardless of explicit arguments supplied for setting the baud rates
PROGRESS_START - Starting Operation.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
Driver file xusb_xlp.sys found.
Driver version: src=1029, dest=1029.
Driver windrvr6.sys version = 10.2.1.0. WinDriver v10.21 Jungo (c) 1997 - 2010 Build Date: Aug 31 2010 X86 32bit SYS 14:35:41, version = 1021.
Cable PID = 0008.
Max current requested during enumeration is 74 mA.
Type = 0x0004.
Cable Type = 3, Revision = 0.
Setting cable speed to 6 MHz.
Cable connection established.
Firmware version = 1029.
File version of C:/Xilinx/14.7/LabTools/LabTools/data/xusb_xlp.hex = 1303.
Firmware hex file version = 1303.
Downloading C:/Xilinx/14.7/LabTools/LabTools/data/xusb_xlp.hex.
Downloaded firmware version = 1303.
PLD file version = 0012h.
PLD version = 0012h.
PROGRESS_END - End Operation.
Elapsed time = 0 sec.
Type = 0x0004.
ESN device is not available for this cable.
INFO:iMPACT - Current time: 1/24/2016 11:40:56 PM
// *** BATCH CMD : Program -p 1 -dataWidth 1 -spionly -e -v -loadfpga
INFO:iMPACT:583 - '0': The idcode read from the device does not match the idcode in the bsdl File.
INFO:iMPACT:1578 - '0': Device IDCODE : 00001111111111111111111111111111
INFO:iMPACT:1579 - '0': Expected IDCODE: 00000010001000011000000010010011
PROGRESS_START - Starting Operation.
INFO:iMPACT:583 - '1': The idcode read from the device does not match the idcode in the bsdl File.
INFO:iMPACT:1578 - '1': Device IDCODE : 00001111111111111111111111111111
INFO:iMPACT:1579 - '1': Expected IDCODE: 00000010001000011000000010010011
PROGRESS_END - End Operation.
Elapsed time = 0 sec.

Below is link with pics of my setup

https://goo.gl/photos/DJqE4eGfE5q5Kwqi7

Sent from my SM-N910W8 using Tapatalk
meneerbeer
Posts: 212
Joined: Wed Sep 03, 2014 9:13 am

Re: Shuriken video v2 build with xc3s200a

Post by meneerbeer » Mon Jan 25, 2016 8:33 am

Are you able to detect your FPGA through impact? I think if you right click there is a setting called "autoconnect" or something. I do not have the software at the moment.

I suppose you connected the JTAG signals (TCK, TDI, TDO) and not the SPI signals?
Khar00f
Posts: 20
Joined: Mon Dec 22, 2014 3:20 am

Re: Shuriken video v2 build with xc3s200a

Post by Khar00f » Mon Jan 25, 2016 12:13 pm

Yes, they are all connected except the Init.

Even that wiring I'm not sure as there's no clear instructions as to how they should be connected.

I assumed that vref is vcc. The harness of wires has an extra wire that I have no room for on the chip pinout.

My programming harness has 7 pins and my chip has 6.

Tried many different configurations but so far no success.

Sent from my SM-N910W8 using Tapatalk
meneerbeer
Posts: 212
Joined: Wed Sep 03, 2014 9:13 am

Re: Shuriken video v2 build with xc3s200a

Post by meneerbeer » Mon Jan 25, 2016 12:34 pm

Did you connect vref to 3.3V? That is what it needs, as the I/O on the FPGA is 3.3V as well.

I had a look at my board. INIT is not needed.
Khar00f
Posts: 20
Joined: Mon Dec 22, 2014 3:20 am

Re: Shuriken video v2 build with xc3s200a

Post by Khar00f » Mon Jan 25, 2016 1:21 pm

Yup connected vref to 3.3v

Sent from my SM-N910W8 using Tapatalk
meneerbeer
Posts: 212
Joined: Wed Sep 03, 2014 9:13 am

Re: Shuriken video v2 build with xc3s200a

Post by meneerbeer » Mon Jan 25, 2016 5:02 pm

Stupid question: is your board's ground connected to a ground on the Cube?
Khar00f
Posts: 20
Joined: Mon Dec 22, 2014 3:20 am

Re: Shuriken video v2 build with xc3s200a

Post by Khar00f » Mon Jan 25, 2016 5:21 pm

Yes it is, no stupid question when you're troubleshooting, everything is possible

Sent from my SM-N910W8 using Tapatalk
meneerbeer
Posts: 212
Joined: Wed Sep 03, 2014 9:13 am

Re: Shuriken video v2 build with xc3s200a

Post by meneerbeer » Mon Jan 25, 2016 8:29 pm

I have no idea for now. Did you check your circuit with a multimeter? Check all voltages and check for shorts. You will need 1.2V and 3.3V. Check if there are no shorts on your JTAG signals. And you should definitely make sure you have the JTAG connected correctly. Take a look at the schematics of the Shurken Video.

Also, in Impact click on Boundary Scan, then right click and select "Initialize Chain". It should recognize your FPGA through JTAG.
andre104623
Posts: 694
Joined: Wed May 07, 2014 2:24 pm

Re: Shuriken video v2 build with xc3s200a

Post by andre104623 » Thu Jan 28, 2016 6:07 pm

Just to let everybody know I'm back after being down for almost 3 months. Im hoping to have this project done soon
User avatar
tesla246
Posts: 121
Joined: Tue Dec 11, 2012 1:48 pm

Re: Shuriken video v2 build with xc3s200a

Post by tesla246 » Thu Jan 28, 2016 9:22 pm

Nice to see you back andre; I always loved reading your enthusiasm in your posts. I sincerely hope it was nothing serious, or if it was, nothing that cannot be recovered. Anyway, welcome back ;)
Dream mod: HI-speed port device utilizing 4:4:4 RGB 32 bit colour, 720p video and variable refresh rate. :shock:
Favourite mod: GC Loader flashed with latest swiss.
Eagerly awaiting a normal, form-factor wise, wireless controller with rumble. :)
andre104623
Posts: 694
Joined: Wed May 07, 2014 2:24 pm

Re: Shuriken video v2 build with xc3s200a

Post by andre104623 » Thu Jan 28, 2016 10:35 pm

tesla246 wrote:Nice to see you back andre; I always loved reading your enthusiasm in your posts. I sincerely hope it was nothing serious, or if it was, nothing that cannot be recovered. Anyway, welcome back ;)
Well sadly I got t-boned by a drunk driver around thanksgiving and have been in rehabilitation. Im much better now my left arm unfortunately will never be the same because of nerve damage but my spirits are high and my percocet bottle is full so im going to get some soldering done tonight just some practice boards till I get back into my groove. But thank you everyone for the support ;)
User avatar
tesla246
Posts: 121
Joined: Tue Dec 11, 2012 1:48 pm

Re: Shuriken video v2 build with xc3s200a

Post by tesla246 » Fri Jan 29, 2016 12:05 pm

Awful to read, especcially since its someone else at fault. I will never understand people who decide to control a verhicle while being drunk. Anyway, nice to read you remain to have a positive spirit and best of luck to you.
Dream mod: HI-speed port device utilizing 4:4:4 RGB 32 bit colour, 720p video and variable refresh rate. :shock:
Favourite mod: GC Loader flashed with latest swiss.
Eagerly awaiting a normal, form-factor wise, wireless controller with rumble. :)
Khar00f
Posts: 20
Joined: Mon Dec 22, 2014 3:20 am

Re: RE: Re: Shuriken video v2 build with xc3s200a

Post by Khar00f » Sat Jan 30, 2016 2:48 am

andre104623 wrote:
tesla246 wrote:Nice to see you back andre; I always loved reading your enthusiasm in your posts. I sincerely hope it was nothing serious, or if it was, nothing that cannot be recovered. Anyway, welcome back ;)
Well sadly I got t-boned by a drunk driver around thanksgiving and have been in rehabilitation. Im much better now my left arm unfortunately will never be the same because of nerve damage but my spirits are high and my percocet bottle is full so im going to get some soldering done tonight just some practice boards till I get back into my groove. But thank you everyone for the support ;)
welcome back big guy, wish you a good rehab.

Sent from my SM-N910W8 using Tapatalk
Khar00f
Posts: 20
Joined: Mon Dec 22, 2014 3:20 am

Re: RE: Re: Shuriken video v2 build with xc3s200a

Post by Khar00f » Sat Jan 30, 2016 2:50 am

.
Last edited by Khar00f on Sat Jan 30, 2016 2:59 am, edited 1 time in total.
Khar00f
Posts: 20
Joined: Mon Dec 22, 2014 3:20 am

Re: RE: Re: RE: Re: Shuriken video v2 build with xc3s200a

Post by Khar00f » Sat Jan 30, 2016 2:57 am

.
Khar00f
Posts: 20
Joined: Mon Dec 22, 2014 3:20 am

Re: RE: Re: Shuriken video v2 build with xc3s200a

Post by Khar00f » Sat Jan 30, 2016 3:01 am

meneerbeer wrote:I have no idea for now. Did you check your circuit with a multimeter? Check all voltages and check for shorts. You will need 1.2V and 3.3V. Check if there are no shorts on your JTAG signals. And you should definitely make sure you have the JTAG connected correctly. Take a look at the schematics of the Shurken Video.

Also, in Impact click on Boundary Scan, then right click and select "Initialize Chain". It should recognize your FPGA through JTAG.
Hey Bud, didn't get a chance to work on this since the last time we spoke, until tonight.

I checked the chain and it gives an error:

Image

Also I attached a pic of my pins connected with their tags:

Image

Maybe someone can tell me what's wrong with my setup.

Sorry for the multiple posts, had issues posting with the phone.
Last edited by Khar00f on Sat Jan 30, 2016 2:08 pm, edited 1 time in total.
andre104623
Posts: 694
Joined: Wed May 07, 2014 2:24 pm

Re: RE: Re: Shuriken video v2 build with xc3s200a

Post by andre104623 » Sat Jan 30, 2016 5:28 am

Khar00f wrote:
meneerbeer wrote:I have no idea for now. Did you check your circuit with a multimeter? Check all voltages and check for shorts. You will need 1.2V and 3.3V. Check if there are no shorts on your JTAG signals. And you should definitely make sure you have the JTAG connected correctly. Take a look at the schematics of the Shurken Video.

Also, in Impact click on Boundary Scan, then right click and select "Initialize Chain". It should recognize your FPGA through JTAG.
Hey Bud, didn't get a chance to work in this some the last time we spoke, until tonight.

I checked the chain and it gives an error:

Image

Also I attached a pic of my pins connected with their tags:

Image

Maybe someone can tell me what's wrong with my setup.

Sorry for the multiple posts, had issues posting with the phone.
From i can see the soldering looks good but check all contacts with a multimeter/fluke to make sure they are making good connections for both programmer and gamecube. If thats all good then well have you ever programmed anything with that programmer before? Looks like a clone which are not the best quality and can be finicky with impact. Oh wait i remember i had to do something weird before i programmed do you have prog_b jumpered? If so right before you press the program button in impact pull the jumper out from the Shuriken
Khar00f
Posts: 20
Joined: Mon Dec 22, 2014 3:20 am

Re: RE: Re: RE: Re: Shuriken video v2 build with xc3s200a

Post by Khar00f » Sat Jan 30, 2016 12:05 pm

andre104623 wrote:
Khar00f wrote:
meneerbeer wrote:I have no idea for now. Did you check your circuit with a multimeter? Check all voltages and check for shorts. You will need 1.2V and 3.3V. Check if there are no shorts on your JTAG signals. And you should definitely make sure you have the JTAG connected correctly. Take a look at the schematics of the Shurken Video.

Also, in Impact click on Boundary Scan, then right click and select "Initialize Chain". It should recognize your FPGA through JTAG.
Hey Bud, didn't get a chance to work in this some the last time we spoke, until tonight.

I checked the chain and it gives an error:

[img]http://uploads.tapatalk-cdn.com/20160130/fd8824c21b87bdbd1763d2da46c7e8dd.jpg[/img]

Also I attached a pic of my pins connected with their tags:

[img]http://uploads.tapatalk-cdn.com/20160130/2778493d9bcb2f53e7f50657746c7a19.jpg[/img]

Maybe someone can tell me what's wrong with my setup.

Sorry for the multiple posts, had issues posting with the phone.
From i can see the soldering looks good but check all contacts with a multimeter/fluke to make sure they are making good connections for both programmer and gamecube. If thats all good then well have you ever programmed anything with that programmer before? Looks like a clone which are not the best quality and can be finicky with impact. Oh wait i remember i had to do something weird before i programmed do you have prog_b jumpered? If so right before you press the program button in impact pull the jumper out from the Shuriken
Alrighty,

After some fiddling around last night shortly after my post we got it working. My phone was dead so couldn't update the post.

And the funny thing, we didn't change anything, after checking, double checking and triple checking, all connections were good.we restarted the pc and somehow it worked.

I believe you're right about the programmer, it's finicky.

So now, here's the deal.

I got the shuriken bit file 2.1 from ikorb/gcvideo on github.

I was able to convert it to mcs and successfully flashed.

It works but there's no OSD or Sound.

We figured it was because it's the shrunken file for the older prom, so we got instead d2xh 2.1 (or something like that) bit file, converted to mcs and flashed. this one would actually not sync with hdmi, so we get no picture, but I know the GameCube does boot because if I connect the rca cable I hear the menu sound.

Tried a different tv just in case as I have one from a different brand and model thinking maybe it's tv compatibility issue, same thing.

So we searched online and found gcdev 0.5 zip file that just got released two weeks ago (I forgot the exact website but it's one that talks about this mod) that supports hdmi audio.

Extracted the bit file, converted to mcs, tried to flash, but this file gets stuck at roughly 18% every time.

So although we are making progress we keep hitting bumps on the road, which is awesome in a way and annoying in another.

So any ideas about what we should be trying next?

Sent from my SM-N910W8 using Tapatalk
Last edited by Khar00f on Sat Jan 30, 2016 2:18 pm, edited 1 time in total.
meneerbeer
Posts: 212
Joined: Wed Sep 03, 2014 9:13 am

Re: Shuriken video v2 build with xc3s200a

Post by meneerbeer » Sat Jan 30, 2016 12:15 pm

Seems like you are getting somewhere. :)

Did you connect the controller via to your shuriken video? You need to solder that separately, as it is not on the digital video port.

I have no idea what gcdev is. I think the first file you flashed is the right one.
Khar00f
Posts: 20
Joined: Mon Dec 22, 2014 3:20 am

Re: RE: Re: Shuriken video v2 build with xc3s200a

Post by Khar00f » Sat Jan 30, 2016 12:21 pm

meneerbeer wrote:Seems like you are getting somewhere. :)

Did you connect the controller via to your shuriken video? You need to solder that separately, as it is not on the digital video port.

I have no idea what gcdev is. I think the first file you flashed is the right one.
I don't know if that was done as I'm taking care of the programming. But let's say we didn't.

The system boots and the controller works on the first file.

What I'm gathering from your question is that the controller needs to interact directly with the chip hence why it needs that extra soldering (correct me if in wrong on this), but that wouldn't explain why we're not getting any sound in the hdmi output.

The shrunken 2.1 bit file is 46KB before converting it to mcs, does that make sense?

Sent from my SM-N910W8 using Tapatalk
Last edited by Khar00f on Sat Jan 30, 2016 2:20 pm, edited 1 time in total.
Post Reply