Pages:
Author

Topic: [DIY] - Reward $100 | Antminer S1/S3 Blade on Raspberry Pi - page 14. (Read 82132 times)

full member
Activity: 238
Merit: 100
Ive updated the git repo with support for cp2108 (since i dont have anything to test with, its experimental) ;-p

Nicehash has done upgrade https://bitcointalksearch.org/topic/m.9621985 solving #xnsub issue You have pointed to. Would You update bmsc git repo?
legendary
Activity: 1638
Merit: 1005
So mod complete ... setup completed. CP2102 working great ... getting like 50gh/s with a blade ... but

[2014-11-21 21:45:08] Accepted 0f53d094 Diff 17/16 AMU 0
[2014-11-21 21:45:08] Accepted 08e7d4ca Diff 29/16 AMU 0
[2014-11-21 21:45:08] Accepted 0474ec74 Diff 57/16 AMU 0
[2014-11-21 21:45:12] USB init, open device failed, err -12,
[2014-11-21 21:45:12] You need to install a WinUSB driver for - CMR device 3:4
[2014-11-21 21:45:12] And associate - CMR device 3:4 with WinUSB using zadig
[2014-11-21 21:45:12] See README.txt file included for help
[2014-11-21 21:45:12] Bitmain detect (3:4) failed to initialise (incorrect device?)

having this like every 5 seconds poping up.

Any idea ?

EDIT : Got it, it's my old BFL running on BFGMiner Wink

Anything I can do to make my CGminer ignore my BFL ?
use --hotplug 0 then cgminer wont try to find new devices all the time

regarding driver, i just tried different ones, until i found it :-p also make sure you install zadig driver for each cp2102s you have connected



Yeah i use it for both cp2102 - winusb driver

Thanks for --hotplug 0 ;-)

So I rebooted my pc 2 times and now both card are working. I got one of the two that have some "invalid nonce - HW error" once in a while, I wonder why. I will take a look at the voltage again to see if anything is wrong
hero member
Activity: 518
Merit: 500
update - fixed the half hashing board by scratching off the pcb mask and tinning the copper and linking 2 strings of chips with wire. pics soon!
Kudos! I await the photos.....

updated. its crude but it works. since i saved this board i might try my chip theory.
Can not be crude if it works ...! I wonder what could have triggered the failure that it by-passes seeing the board was hashing OK.
sr. member
Activity: 453
Merit: 250
update - fixed the half hashing board by scratching off the pcb mask and tinning the copper and linking 2 strings of chips with wire. pics soon!
Kudos! I await the photos.....

updated. its crude but it works. since i saved this board i might try my chip theory.
hero member
Activity: 518
Merit: 500
update - fixed the half hashing board by scratching off the pcb mask and tinning the copper and linking 2 strings of chips with wire. pics soon!
Kudos! I await the photos.....
hero member
Activity: 518
Merit: 500
they wont hash. i had all 4 running. one i messed up and it only hashes at half speed. the other ones idk what happened but they just time out. i now only have 1 full hashing board.
If they do not hash but simply timeout, then cgminer debug won't have anything for you either.
For the ones that don't hash:
1. When they are connected, do they flash the green light and timeout at the golden nonce or do they report an error code?
2. Were you running them without a heatsink, and if so, did you have a fan blowing over them? EDIT: Also, what setting(s) were you using?
3. Plug all of them in and check Device Manager (windows) to see if they all appear as whatever driver you chose or HID devices. If they appear as Unknown, then it may be a driver issue (long shot, but lets cover our bases).

when i came home from work one was hashing at ~10ghs. i unplugged the usb converter then power cycled it and plugged it back in and no hashing.

1. no flashing, just golden nonce, no error
2. the chips have small heatsinks on the front and were placed on something for heat transfer through the back. i also had placed gridseed pods on the heatsinks on the chips with fans running
3.  they come up as cp2102 usb to uart converter.

side note when i plug in a uart converter with out being connected to a blade i get the golden nonce.

both non working boards have .8v across the board and the first chip has 3.3v, so maybe the crystal?
I can't comment on elctronics as it would just be speculation, but it seems like you have an elctronics issue.
Yes, if you plug in the CP2102 into a PC without a board, cgminer will start the board initialisation process (setting the speed and testing the golden nonce) as it only checks for the USB not the board. Further, that there are no flashing lights at all is a concern, but it also looks like you have the correct drivers, which leads me to believe that it must be an elctronics issue, meaning even cgminer's debug log will not be of any help.

PS. Do you have any led light on the CP2102 showing constantly?
sr. member
Activity: 453
Merit: 250
update - fixed the half hashing board by scratching off the pcb mask and tinning the copper and linking 2 strings of chips with wire. pics soon!

also it looks like we may be able to link 2 boards (or more) by desoldering the first and last chip on alternate boards. the last chip has no pin outs to another chip and has a resistor tied to pin 37 (respond input). so technically we tie chip 31 on the first board to chip 2 on the second board and it should simulate 1 board with more chips on single mode.

sr. member
Activity: 453
Merit: 250
they wont hash. i had all 4 running. one i messed up and it only hashes at half speed. the other ones idk what happened but they just time out. i now only have 1 full hashing board.
If they do not hash but simply timeout, then cgminer debug won't have anything for you either.
For the ones that don't hash:
1. When they are connected, do they flash the green light and timeout at the golden nonce or do they report an error code?
2. Were you running them without a heatsink, and if so, did you have a fan blowing over them? EDIT: Also, what setting(s) were you using?
3. Plug all of them in and check Device Manager (windows) to see if they all appear as whatever driver you chose or HID devices. If they appear as Unknown, then it may be a driver issue (long shot, but lets cover our bases).

when i came home from work one was hashing at ~10ghs. i unplugged the usb converter then power cycled it and plugged it back in and no hashing.

1. no flashing, just golden nonce, no error
2. the chips have small heatsinks on the front and were placed on something for heat transfer through the back. i also had placed gridseed pods on the heatsinks on the chips with fans running
3.  they come up as cp2102 usb to uart converter.

side note when i plug in a uart converter with out being connected to a blade i get the golden nonce.

both non working boards have .8v across the board and the first chip has 3.3v, so maybe the crystal?
hero member
Activity: 518
Merit: 500
they wont hash. i had all 4 running. one i messed up and it only hashes at half speed. the other ones idk what happened but they just time out. i now only have 1 full hashing board.
If they do not hash but simply timeout, then cgminer debug won't have anything for you either.
For the ones that don't hash:
1. When they are connected, do they flash the green light and timeout at the golden nonce or do they report an error code?
2. Were you running them without a heatsink, and if so, did you have a fan blowing over them? EDIT: Also, what setting(s) were you using?
3. Plug all of them in and check Device Manager (windows) to see if they all appear as whatever driver you chose or HID devices. If they appear as Unknown, then it may be a driver issue (long shot, but lets cover our bases).
sr. member
Activity: 453
Merit: 250
they wont hash. i had all 4 running. one i messed up and it only hashes at half speed. the other ones idk what happened but they just time out. i now only have 1 full hashing board.
hero member
Activity: 518
Merit: 500
nope cgminer wont load with that command. im using the old cgminer-run for the u1. i tried compiling one with mingw.......... ummmm yea if anyone has something i can dl and put my info in and run that would be great.
https://www.dropbox.com/s/v6o5o9jvvwc1hjs/cgminer.zip?dl=0

no config file, i try to use my other one and i get an internal error. i get nothing when i run curl.exe.  if i load cgminer.exe i can only input my pool/user/pass. i can load cgminer with a .cmd with my info in it but it dont hash well with the bmsc options, if i take the options out it will load but not find my blade. i give up, i will use my cgminer 3.8 for the u1 and discard the other blades and hash on the 1.
Start cgminer with just one blade, then add the others after.
Also, what command line options are you using? Some of the options on this thread are for underclocking / undervolting .... I run mine with the following:
cgminer.exe --bmsc-options 115200:1 -o stratum+tcp://stratum.bitcoin.cz:3333 -u pekatete -p x --bmsc-freq 4F81 --lowmem
with 3.8.5 but you should be able to set a timeout of 0.53 with that one.

i am trying to figure out why 2 boards are not hashing. he wanted me to use the -d cgminerlog.txt command to see if its seeing the chips and what they are returning.  it wont run with that command. so he suggested a diff cgminer where somewhere in this thread i have seen it report all the chips right in the cmd. nothing i have will return that info or will allow the commands or my configs.
I know version 3.8.5 will fail with a windows error if 2 boards are plugged in while starting it without the full parameters, so I suggested to you to start cgminer with just 1 board plugged in, then plug in the other one after it has detected the first one. If that fails (and I am assuming you are using windows), then the error it shows in cgminer will be descripive enough to find out what is wrong without needing to log debug data. Just my 2-pence.....
sr. member
Activity: 453
Merit: 250
nope cgminer wont load with that command. im using the old cgminer-run for the u1. i tried compiling one with mingw.......... ummmm yea if anyone has something i can dl and put my info in and run that would be great.
https://www.dropbox.com/s/v6o5o9jvvwc1hjs/cgminer.zip?dl=0

no config file, i try to use my other one and i get an internal error. i get nothing when i run curl.exe.  if i load cgminer.exe i can only input my pool/user/pass. i can load cgminer with a .cmd with my info in it but it dont hash well with the bmsc options, if i take the options out it will load but not find my blade. i give up, i will use my cgminer 3.8 for the u1 and discard the other blades and hash on the 1.
Start cgminer with just one blade, then add the others after.
Also, what command line options are you using? Some of the options on this thread are for underclocking / undervolting .... I run mine with the following:
cgminer.exe --bmsc-options 115200:1 -o stratum+tcp://stratum.bitcoin.cz:3333 -u pekatete -p x --bmsc-freq 4F81 --lowmem
with 3.8.5 but you should be able to set a timeout of 0.53 with that one.

i am trying to figure out why 2 boards are not hashing. he wanted me to use the -d cgminerlog.txt command to see if its seeing the chips and what they are returning.  it wont run with that command. so he suggested a diff cgminer where somewhere in this thread i have seen it report all the chips right in the cmd. nothing i have will return that info or will allow the commands or my configs.
hero member
Activity: 518
Merit: 500
nope cgminer wont load with that command. im using the old cgminer-run for the u1. i tried compiling one with mingw.......... ummmm yea if anyone has something i can dl and put my info in and run that would be great.
https://www.dropbox.com/s/v6o5o9jvvwc1hjs/cgminer.zip?dl=0

no config file, i try to use my other one and i get an internal error. i get nothing when i run curl.exe.  if i load cgminer.exe i can only input my pool/user/pass. i can load cgminer with a .cmd with my info in it but it dont hash well with the bmsc options, if i take the options out it will load but not find my blade. i give up, i will use my cgminer 3.8 for the u1 and discard the other blades and hash on the 1.
Start cgminer with just one blade, then add the others after.
Also, what command line options are you using? Some of the options on this thread are for underclocking / undervolting .... I run mine with the following:
cgminer.exe --bmsc-options 115200:1 -o stratum+tcp://stratum.bitcoin.cz:3333 -u pekatete -p x --bmsc-freq 4F81 --lowmem
with 3.8.5 but you should be able to set a timeout of 0.53 with that one.
sr. member
Activity: 453
Merit: 250
nope cgminer wont load with that command. im using the old cgminer-run for the u1. i tried compiling one with mingw.......... ummmm yea if anyone has something i can dl and put my info in and run that would be great.
https://www.dropbox.com/s/v6o5o9jvvwc1hjs/cgminer.zip?dl=0

no config file, i try to use my other one and i get an internal error. i get nothing when i run curl.exe.  if i load cgminer.exe i can only input my pool/user/pass. i can load cgminer with a .cmd with my info in it but it dont hash well with the bmsc options, if i take the options out it will load but not find my blade. i give up, i will use my cgminer 3.8 for the u1 and discard the other blades and hash on the 1.
hero member
Activity: 518
Merit: 500
nope cgminer wont load with that command. im using the old cgminer-run for the u1. i tried compiling one with mingw.......... ummmm yea if anyone has something i can dl and put my info in and run that would be great.
https://www.dropbox.com/s/v6o5o9jvvwc1hjs/cgminer.zip?dl=0
sr. member
Activity: 453
Merit: 250
how do i check that? im a noob at this stuff. the board that hashes at 1/2 speed has no VDD on string 3 and it looks like its a bad tps53355dqpr, well R41 is only registering .08V so maybe thats it.

sounds like thats your trouble point, just switch it out with a new one, as klondike_bar said, you can often get them for free, or if you have to pay for them, just buy a new one, they are not expensive :-p

(what i meant was when you start cgminer, it will throw a bunch of lines with chip numbers on, and if you start from a power off to power on, each board should report back 32 answers, thats how you can see how many of the chips are responding)

i dont see anything like that.

ok, could you do the following:

add -D 2>&1 |tee ./cgminerlog.txt (if your running linux)to the end of your cgminer command line, and let it run for 30 seconds, then post  it online and give me a link to the cgminerlog.txt file

else -D >cgminerlog.txt

nope cgminer wont load with that command. im using the old cgminer-run for the u1. i tried compiling one with mingw.......... ummmm yea if anyone has something i can dl and put my info in and run that would be great.
legendary
Activity: 1638
Merit: 1005
So mod complete ... setup completed. CP2102 working great ... getting like 50gh/s with a blade ... but

[2014-11-21 21:45:08] Accepted 0f53d094 Diff 17/16 AMU 0
[2014-11-21 21:45:08] Accepted 08e7d4ca Diff 29/16 AMU 0
[2014-11-21 21:45:08] Accepted 0474ec74 Diff 57/16 AMU 0
[2014-11-21 21:45:12] USB init, open device failed, err -12,
[2014-11-21 21:45:12] You need to install a WinUSB driver for - CMR device 3:4
[2014-11-21 21:45:12] And associate - CMR device 3:4 with WinUSB using zadig
[2014-11-21 21:45:12] See README.txt file included for help
[2014-11-21 21:45:12] Bitmain detect (3:4) failed to initialise (incorrect device?)

having this like every 5 seconds poping up.

Any idea ?

EDIT : Got it, it's my old BFL running on BFGMiner Wink

Anything I can do to make my CGminer ignore my BFL ?
use --hotplug 0 then cgminer wont try to find new devices all the time

regarding driver, i just tried different ones, until i found it :-p also make sure you install zadig driver for each cp2102s you have connected



Yeah i use it for both cp2102 - winusb driver

Thanka for --hotplug 0 ;-)
legendary
Activity: 1358
Merit: 1002
So mod complete ... setup completed. CP2102 working great ... getting like 50gh/s with a blade ... but

[2014-11-21 21:45:08] Accepted 0f53d094 Diff 17/16 AMU 0
[2014-11-21 21:45:08] Accepted 08e7d4ca Diff 29/16 AMU 0
[2014-11-21 21:45:08] Accepted 0474ec74 Diff 57/16 AMU 0
[2014-11-21 21:45:12] USB init, open device failed, err -12,
[2014-11-21 21:45:12] You need to install a WinUSB driver for - CMR device 3:4
[2014-11-21 21:45:12] And associate - CMR device 3:4 with WinUSB using zadig
[2014-11-21 21:45:12] See README.txt file included for help
[2014-11-21 21:45:12] Bitmain detect (3:4) failed to initialise (incorrect device?)

having this like every 5 seconds poping up.

Any idea ?

EDIT : Got it, it's my old BFL running on BFGMiner Wink

Anything I can do to make my CGminer ignore my BFL ?
use --hotplug 0 then cgminer wont try to find new devices all the time

regarding driver, i just tried different ones, until i found it :-p also make sure you install zadig driver for each cp2102s you have connected

legendary
Activity: 1638
Merit: 1005
Thanks !

I will try to get one at least to test my boards !

pekatete , it would be great if you could share me your cgminer !
I was able to compile cgminer 4.7.0 for and under windows using MinGW but not able to run it without significant errors (and at times it would not detect the board!). It therefore is not a binary that would be useful for sharing, and seeing the pre-compiled version 3.8.5 for windows reconises both the CP210x (as AMU / LIX / etc) and the PL230x (as ICA and ... ?), you would be better off getting that one, available here: https://github.com/AntMiner/AntGen1/blob/master/cgminer/cgminer-run-windows-20131224.zip?raw=true

PS. You may need to change over the TX / RX connectors on some of the modules as the lines can be twisted!



but, on the other hand we might be able to verify either:

1. problem with source

2. problem with windows

3. problem with specific setup

so it might be a good idea to get them tested on another windows machine..

just my 2 cents :-p
The source is the same source as that is available on github for version 4.7.0 so anyone an get that. The changes to source that I documented earlier in this thread are deprecated since I abandoned the --include-icarus flag, however, should anyone wnt to include the icarus driver, then the error messages from the compiler are quite instructive. Also, compiling is quite easy, you just need to install MinGW (which is also free and opensource!). It can be tedious to setup MinGW but not impossible.

However, if even after that someone still wants to get a hold of the binary I compiled and / or the code i used to compile it, just point me to where you'd like me to upload it and its yours!

PS. I did mention earlier in the thread that I was working on something else, more specifically a windows driver. I can update the thread to the effect that I have actually gone to ground to write a windows miner that uses COM ports. I am working on the initialisation of the S1 board and work division in the code, and when I have some extra time off, I'll be looking to finishing it off and showcasing it! For me, that represented a better alternative than trying to wrestle the generic cgminer code targeting multiple rigs and written in a foreign language (C++!)

allright thanks, i will try to compile mine Wink

I will take ChaosItec git cgminer code and give it a try with MinGW.

compiled windows version:




download here: https://www.dropbox.com/s/v6o5o9jvvwc1hjs/cgminer.zip?dl=0

remember to install zadig drivers: http://zadig.akeo.ie/

thanks you so much ! Smiley

the problem in windows is a driver issue.. im no windows guru, im mostly a linux guy, so your on your own on that part

Looks all good on your screenshot ?

i get problems with the winusb driver with 2 or more boards..

edit: FIXED



its a conflict with another driver/device installed, in this case, it was the sdcard slot, i uninstalled the driver, and now it works

I'm kind of stock with the same problem, only card got found ... for the other one i got

[2014-11-22 04:02:35] Bmsc send golden nonce
[2014-11-22 04:02:36] Bmsc recv golden nonce timeout
[2014-11-22 04:02:37] -----------------start nonce------------------
[2014-11-22 04:02:37] Bmsc send golden nonce
[2014-11-22 04:02:37] Bmsc recv golden nonce timeout

How did you find the faulty driver ?

legendary
Activity: 1638
Merit: 1005
So mod complete ... setup completed. CP2102 working great ... getting like 50gh/s with a blade ... but

[2014-11-21 21:45:08] Accepted 0f53d094 Diff 17/16 AMU 0
[2014-11-21 21:45:08] Accepted 08e7d4ca Diff 29/16 AMU 0
[2014-11-21 21:45:08] Accepted 0474ec74 Diff 57/16 AMU 0
[2014-11-21 21:45:12] USB init, open device failed, err -12,
[2014-11-21 21:45:12] You need to install a WinUSB driver for - CMR device 3:4
[2014-11-21 21:45:12] And associate - CMR device 3:4 with WinUSB using zadig
[2014-11-21 21:45:12] See README.txt file included for help
[2014-11-21 21:45:12] Bitmain detect (3:4) failed to initialise (incorrect device?)

having this like every 5 seconds poping up.

Any idea ?

EDIT : Got it, it's my old BFL running on BFGMiner Wink

Anything I can do to make my CGminer ignore my BFL ?
Pages:
Jump to: