Keninishna
|
|
July 11, 2012, 09:54:51 AM |
|
ok, got it compiled myself using "BlueJ" I got some progess on cairnsmore1 without a special jtag cable (just the shipped usb-cable), but not really far... @Eldentyrell: Please correct the spelling of "cairnsmore" in tml-0.999 it is wrong spelled "carinsmore". Thanks! If I start it without "preprogramming" I got this: ... If someone needs a already patched urjtag binary with the needed dll's or the corrected tml-0.999w.jar to play with, I can package it up for download. Eldentyrell, if this is problematic for you I will remove the tml download, but please correct the windows version tml-0.999w.jar, see the error I described in the other post. I need some sleep now... eb LOL this woulda saved me some time. Cross compiling and patching in cygwin is kind of a pain.
|
|
|
|
ebereon
|
|
July 11, 2012, 10:13:16 AM Last edit: July 11, 2012, 10:42:08 AM by ebereon |
|
Here is my patched urjtag -> patched urjtag incl. dll'sYou have to install first the official 0.10 urjtag from the webside, then unpack my archive and copy over all files. Please make sure the PATH Variable contains the installation directory of urjtag. To test it, open a cmd and type jtag <return> Then type "cable FT2232" in the jtag prompt, now follow the discription on the tml webside to test idcode etc. If this is working type "q" to quit the jtag programm, then you can start tml-0.999.jar and play with it. EDIT: This binary has been compiled to work with cairnsmore1, for other applications I recommend the original binary!
|
|
|
|
ebereon
|
|
July 11, 2012, 11:04:35 AM |
|
Yeah, that sounds right. If you get past the "magic number check" but get read-acknowledgement errors later on, it means that there is some flaky hardware somewhere on the communication path. Try slowing down the JTAG clock to something really slow like 500khz.
Ok, how do I slowing down the JTAG clock? In the source code or is there a hidden <properties> option?
|
|
|
|
Keninishna
|
|
July 11, 2012, 11:06:07 AM |
|
Here is my patched urjtag -> patched urjtag incl. dll'sYou have to install first the official 0.10 urjtag from the webside, then unpack my archive and copy over all files. Please make sure the PATH Variable contains the installation directory of urjtag. To test it, open a cmd and type jtag <return> Then type "cable FT2232" in the jtag prompt, now follow the discription on the tml webside to test idcode etc. If this is working type "q" to quit the jtag programm, then you can start tml-0.999.jar and play with it. EDIT: This binary has been compiled to work with cairnsmore1, for other applications I recommend the original binary! hmmm I flashed the fpgas with davis bitstream using enterpoint tools ok but when I run java -jar tml-0.999w.jar urjtag:FT2232 http://user:pass@gamerchicks.org:8337/ I still get Exception in thread "main" java.io.IOException: garbled output from urjtag; did 'ou rememeber to apply the patch? got character ' at com.triconemining.jtag.UrJtag.getTDO(UrJtag.java:79) at com.triconemining.jtag.JtagChainFromRawWires.<init>(JtagChainFromRawW ires.java:42) at com.triconemining.board.UrJtagHost.getBoard(UrJtagHost.java:27) at com.triconemining.bitcoin.miner.Main.main(Main.java:413) (and yes urjtag is working with the tdo command)
|
|
|
|
ebereon
|
|
July 11, 2012, 11:08:12 AM |
|
You need to use the windows version of tml. there is a tml-0.999w.jar posted from eldentyrell yesterday
|
|
|
|
Keninishna
|
|
July 11, 2012, 11:18:29 AM |
|
You need to use the windows version of tml. there is a tml-0.999w.jar posted from eldentyrell yesterday
I am running tml-0.999w.jar
|
|
|
|
ebereon
|
|
July 11, 2012, 11:24:03 AM |
|
You need to use the windows version of tml. there is a tml-0.999w.jar posted from eldentyrell yesterday
I am running tml-0.999w.jar Ok sorry, I compiled it myself and didn't tested the "fixed" .jar from eldentyrell. I will upload my self compiled jar in a sec. Temporary download: tml-0.999mod for windows
|
|
|
|
Keninishna
|
|
July 11, 2012, 11:26:17 AM |
|
You need to use the windows version of tml. there is a tml-0.999w.jar posted from eldentyrell yesterday
I am running tml-0.999w.jar Ok sorry, I compiled it myself and didn't tested the "fixed" .jar from eldentyrell. I will upload my self compiled jar in a sec. Pls wait... I downloaded bluej and fixed the one line of code hah now it runs but I get [urjtag:0:0] programming FPGA Exception in thread "main" java.io.EOFException at com.triconemining.jtag.UrJtag.getTDO(UrJtag.java:67) at com.triconemining.jtag.JtagChainFromRawWires$JtagChainFromRawWiresTAP .shiftDR(JtagChainFromRawWires.java:192) at com.triconemining.jtag.XilinxIdCode.getUserCode(XilinxIdCode.java:37)
at com.triconemining.board.JtagBoard$JtagChip.loadBitstream(JtagBoard.ja va:68) at com.triconemining.bitcoin.miner.Miner.<init>(Miner.java:31) at com.triconemining.bitcoin.miner.Main$1.<init>(Main.java:414) at com.triconemining.bitcoin.miner.Main.main(Main.java:414) I'm going to try no_reprogramming
|
|
|
|
ebereon
|
|
July 11, 2012, 11:28:05 AM |
|
@eldentyrell Please correct line 77 in UrJtag.java: if (i != '\r') i = br.read(); but it should be: if (i == '\r') i = br.read();
|
|
|
|
ebereon
|
|
July 11, 2012, 11:36:45 AM |
|
[urjtag:0:0] programming FPGA Exception in thread "main" java.io.EOFException at com.triconemining.jtag.UrJtag.getTDO(UrJtag.java:67) at com.triconemining.jtag.JtagChainFromRawWires$JtagChainFromRawWiresTAP .shiftDR(JtagChainFromRawWires.java:192) at com.triconemining.jtag.XilinxIdCode.getUserCode(XilinxIdCode.java:37)
at com.triconemining.board.JtagBoard$JtagChip.loadBitstream(JtagBoard.ja va:68) at com.triconemining.bitcoin.miner.Miner.<init>(Miner.java:31) at com.triconemining.bitcoin.miner.Main$1.<init>(Main.java:414) at com.triconemining.bitcoin.miner.Main.main(Main.java:414) I'm going to try no_reprogramming I programmed only fpga3 (0,1 and 2 is twin_test setting). I have controller version 1.2. Dip settings: SW1/SW6: all on SW2: all on SW3: 12 off, 34 on SW4: 12 off, 34 on SW5: all on <- davis bitstream
|
|
|
|
Keninishna
|
|
July 11, 2012, 11:44:58 AM |
|
[urjtag:0:0] programming FPGA Exception in thread "main" java.io.EOFException at com.triconemining.jtag.UrJtag.getTDO(UrJtag.java:67) at com.triconemining.jtag.JtagChainFromRawWires$JtagChainFromRawWiresTAP .shiftDR(JtagChainFromRawWires.java:192) at com.triconemining.jtag.XilinxIdCode.getUserCode(XilinxIdCode.java:37)
at com.triconemining.board.JtagBoard$JtagChip.loadBitstream(JtagBoard.ja va:68) at com.triconemining.bitcoin.miner.Miner.<init>(Miner.java:31) at com.triconemining.bitcoin.miner.Main$1.<init>(Main.java:414) at com.triconemining.bitcoin.miner.Main.main(Main.java:414) I'm going to try no_reprogramming I programmed only fpga3 (0,1 and 2 is twin_test setting). I have controller version 1.2. Dip settings: SW1/SW6: all on SW2: all on SW3: 12 off, 34 on SW4: 12 off, 34 on SW5: all on <- davis bitstream hmmm in your log your at least getting a usercode. I'm erroring out before that. also I am using those same switch settings and I updated the controller to 1.2
|
|
|
|
ebereon
|
|
July 11, 2012, 12:00:33 PM |
|
strange...
what command line you are using?
|
|
|
|
|
ebereon
|
|
July 11, 2012, 12:15:48 PM |
|
ok, same what i use and it's working here until i get the errors.
And my unit is only working with the shipping bitstream, with twin_test it is not working, so my unit is a faulty one.
Your unit is working ok with twin_test etc.?
|
|
|
|
Keninishna
|
|
July 11, 2012, 12:26:04 PM |
|
ok, same what i use and it's working here until i get the errors.
And my unit is only working with the shipping bitstream, with twin_test it is not working, so my unit is a faulty one.
Your unit is working ok with twin_test etc.?
working fine with twin test
|
|
|
|
ebereon
|
|
July 11, 2012, 12:59:05 PM |
|
hmm... it's now hard for me to help you futher...
But, you can open a cmd and you can start jtag in any directory? and if yes you can type "tdo" after connecting to the cable and get a "0" or "1" back?
|
|
|
|
gigantic
Member
Offline
Activity: 89
Merit: 10
|
|
July 11, 2012, 01:30:32 PM |
|
Sub.
|
|
|
|
pieppiep
|
|
July 11, 2012, 02:02:36 PM |
|
Sub.
You can do that with the watch button.
|
|
|
|
Keninishna
|
|
July 11, 2012, 10:03:36 PM |
|
hmm... it's now hard for me to help you futher...
But, you can open a cmd and you can start jtag in any directory? and if yes you can type "tdo" after connecting to the cable and get a "0" or "1" back?
yup. Maybe ET will know better, I'm not too good at debugging java.
|
|
|
|
eldentyrell (OP)
Donator
Legendary
Offline
Activity: 980
Merit: 1004
felonious vagrancy, personified
|
|
July 12, 2012, 04:34:53 AM |
|
@eldentyrell Please correct line 77 in UrJtag.java: if (i != '\r') i = br.read(); but it should be: if (i == '\r') i = br.read(); *smacks forehead* That's what I get for being in a hurry. I have fixed it and re-uploaded tml-0.999w.jar. Here is the md5 for the new jar file: MD5 (tml-0.999w.jar) = 7fcbd56ceb48de27be634c9f091492fb
|
The printing press heralded the end of the Dark Ages and made the Enlightenment possible, but it took another three centuries before any country managed to put freedom of the press beyond the reach of legislators. So it may take a while before cryptocurrencies are free of the AML-NSA-KYC surveillance plague.
|
|
|
|