Jump to content


Photo

How To Program A Fake Coolrunner?


  • Please log in to reply
9 replies to this topic

#1 kiler01

kiler01

    X-S Member

  • Members
  • Pip
  • 80 posts
  • Xbox Version:unk
  • 360 version:v4.0 (jasper)

Posted 19 February 2012 - 06:59 PM

Hi,

I got my hands on a fake coolrunner (the ones that had all that buzz a month or so ago) and I'm having a bit of a problem trying to program it.

Now what i tried:

Xilinx impact - by the looks of it tries to start the programming but gives me and erro that my chip id doesn't mach the one it was expected to have ( i think the jed/xsfv file "tells" that to the program)

360gcProg - just gives me a "TDO STUCK AT 1" no matter what I do. maby it's the cable that i soldered but it seems ok. I tried switching the ports but no luck.

coolshrimp's JTAG TOOL - is it me or is it trying to search for a chip through usb port?? even though i chose the LPT option.

so maby i missed something? i have a nandx but dunno if i should spend the cash on nandx-coolrunner cable. maby it too will refuse to work .


any ideas at all?



(P.S. if I posted this in the wrong section could the moderators please move it to where it belongs?)

Edited by kiler01, 19 February 2012 - 07:08 PM.


#2 duhasst0

duhasst0

    X-S Member

  • Members
  • Pip
  • 84 posts
  • Location:Under the Sun USA
  • Xbox Version:v1.4
  • 360 version:v1 (xenon)

Posted 19 February 2012 - 07:56 PM

Send it to me and I'll program it for you but if you think your cable is
done wrong then you will want to practice soldering to a junk board first.

PM me if interested.

Send it to me and I'll program it for you but if you think your cable is
done wrong then you will want to practice soldering to a junk board first.

PM me if interested.

#3 kiler01

kiler01

    X-S Member

  • Members
  • Pip
  • 80 posts
  • Xbox Version:unk
  • 360 version:v4.0 (jasper)

Posted 19 February 2012 - 08:25 PM

you live in the usa? I live in central europe the postage prices would kill me.


I gonna drop by a friend that programmed a few original CR with a home-made cable. So we'll see about the cable part.

and btw I tried to solder my cable in accordance to this pic
IPB Image

Edited by kiler01, 19 February 2012 - 08:45 PM.


#4 Gazc0igne

Gazc0igne

    X-S X-perience

  • Members
  • PipPip
  • 426 posts
  • Location:Belfast, United Kingdom
  • Xbox Version:v1.6
  • 360 version:v3.0 (falcon)

Posted 20 February 2012 - 09:58 PM

i got a coolrunner from ebay and no idea if it was legit or not, but i found that it could only be programmed when the switch was set to NOR and not PRG, got the same TD0 stuck at 1 message on all apps trying to program it.

even bought a premade cable off ebay to see if my homemade cable was pants turned out it was fine.

you are giving the chip 3.3v as well right?

Edited by Gazc0igne, 20 February 2012 - 10:02 PM.


#5 thugsters

thugsters

    X-S Young Member

  • Members
  • Pip
  • 41 posts
  • Xbox Version:v1.4
  • 360 version:v2 (zephyr)

Posted 20 February 2012 - 10:23 PM

This is the cable I use to program all my cpld's. Mind you this was before I incased it nicely and whatnot.

Also has been altered from what I originally had from original schematics posted but has worked fine for matrix and cool runners. Can't say for sure on fakes but might be worth a shot.

IPB Image

#6 kiler01

kiler01

    X-S Member

  • Members
  • Pip
  • 80 posts
  • Xbox Version:unk
  • 360 version:v4.0 (jasper)

Posted 22 February 2012 - 09:46 AM

tried to set it to normal instead of program but nothing new. by the way, i give it the extra 3.3v through that 2pin connection. maby it's bad because i soldered the points from nandx's top port to get the power. dunno.

the xilinx impact writes this when i add .jed and try to "program" it in NOR mode:

QUOTE
INFO:iMPACT - Current time: Tr Vas 22 09:28:57 2012
// *** BATCH CMD : Program -p 1 -e -v
PROGRESS_START - Starting Operation.
Maximum TCK operating frequency for this device chain: 0.
Validating chain...
INFO:iMPACT:1209 - Testing for '0' at position 2.The Instruction capture of the device 1 does not match expected capture.
INFO:iMPACT:1206 - Instruction Capture = '1111'
INFO:iMPACT:1207 - Expected Capture = '1001'
INFO:iMPACT:2130 - Boundary-scan chain test failed . Please check tdi->tdo connection between device:'1' ( 'xc2c64a') and the cable .
A problem may exist in the hardware configuration.
Check that the cable, scan chain, and power connections are intact,
that the specified scan chain configuration matches the actual hardware, and
that the power supply is adequate and delivering the correct voltage.
PROGRESS_END - End Operation.
Elapsed time = 0 sec.



and this is what it gives me when the chip is set to PGR:

QUOTE
INFO:iMPACT - Current time: Tr Vas 22 09:31:22 2012
// *** BATCH CMD : Program -p 1 -e -v
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 : 00001111111111111000111111111111
INFO:iMPACT:1579 - '1': Expected IDCODE: 00000110111001011000000010010011
PROGRESS_END - End Operation.
Elapsed time = 1 sec.



many i'm setting something in the wrong way?
IPB Image

and this is the cable that i'm trying to use (if you can make out the details. red long cable is the 13pin-vcc)
IPB Image
IPB Image

Edited by kiler01, 22 February 2012 - 09:46 AM.


#7 kiler01

kiler01

    X-S Member

  • Members
  • Pip
  • 80 posts
  • Xbox Version:unk
  • 360 version:v4.0 (jasper)

Posted 22 February 2012 - 11:02 AM

sorry for double post.

just wanted to clarify that i used ports written in the control panel, because in the photo it's the wrong port written in the program. sorry for that.

Edited by kiler01, 22 February 2012 - 11:59 AM.


#8 kiler01

kiler01

    X-S Member

  • Members
  • Pip
  • 80 posts
  • Xbox Version:unk
  • 360 version:v4.0 (jasper)

Posted 22 February 2012 - 03:31 PM

got this one from xilinx impact:
QUOTE
INFO:iMPACT - Current time: Tr Vas 22 15:29:19 2012
PROGRESS_START - Starting Operation.
Maximum TCK operating frequency for this device chain: 0.
Validating chain...
Boundary-scan chain validated successfully.
'1': Erasing device...
'1': Erasure completed successfully.
'1': Programming device...
done.
'1': Verifying device...
done.
'1': Setting ISC done bits...done
'1': Programming completed successfully.
PROGRESS_END - End Operation.
Elapsed time = 2 sec.


does this mean i finally got it done? i tried to program it with falcon.jed and now xilinx let's me do whatever i want with it (check/ verify/ cheksums etc.) i couldn't do anything before

all i had to do was switch the diodes around dry.gif because they were facing the other way compared to the other cable. god i'm retarded........

Edited by kiler01, 22 February 2012 - 03:33 PM.


#9 Gazc0igne

Gazc0igne

    X-S X-perience

  • Members
  • PipPip
  • 426 posts
  • Location:Belfast, United Kingdom
  • Xbox Version:v1.6
  • 360 version:v3.0 (falcon)

Posted 22 February 2012 - 07:07 PM

yes looks like you found the problem!!

nice!

#10 kiler01

kiler01

    X-S Member

  • Members
  • Pip
  • 80 posts
  • Xbox Version:unk
  • 360 version:v4.0 (jasper)

Posted 22 February 2012 - 09:47 PM

i'm wiring it up as i'm writting. ain't going to sleep until i finish this bastard.
it's a bit sad that my own lack of knowledge set me back a few weeks. i was so sure i had my cable done right biggrin.gif

thank's for the help

EDIT:

everything works, got ~13k dash running on it right now. Thanks for all the help guys, i really appreciate it smile.gif)

Edited by kiler01, 22 February 2012 - 10:40 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users