Pages:
Author

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

newbie
Activity: 17
Merit: 0
Use cp2102 ,PL2303 has a different PID/VID
newbie
Activity: 22
Merit: 0
I got my heatsinks and UARTs in so I put together one blade to start hashing

I hooked up TX->RX and RX->TX. I tried with GND connected and disconnected.

However, with the bitmaintech cgminer 4.7 and compiled with "./configure --enable-icarus --enable-bmsc --enable-bitmain", I get a whole slew of

 [2014-11-04 19:30:15] ICA 0 usb transfer err:(-9) LIBUSB_ERROR_PIPE
 [2014-11-04 19:30:15] FAIL: USB get_lock not found (6:18)
 [2014-11-04 19:30:22] ICA 0 usb transfer err:(-9) LIBUSB_ERROR_PIPE
 [2014-11-04 19:30:22] FAIL: USB get_lock not found (6:19)
 [2014-11-04 19:30:34] ICA 0 usb transfer err:(-9) LIBUSB_ERROR_PIPE
 [2014-11-04 19:30:34] FAIL: USB get_lock not found (6:20)

I'm using a PL2303 device, and when I start cgminer, I lose the /dev/ttyUSB0 (I think cgminer is grabbing it)

Any thoughts?
newbie
Activity: 17
Merit: 0
I think it will work if you do not exceed 1V) I choose the cheapest aluminum as heatsink - about 8 $ 2m.  ROI:(
But low voltage can not raise your frequency - above 275 speed drops again probably because of HW errors.

Quote
Same here! Compiled under MinGW but will not detect the devices!
I tried to compile with a MinGW different versions of cgminer ( bitmain,kano,original),
all give an error in usbutils.c  when compiling with --enable-bmsc --enable-bitmain  --enable-icarus (--enable-icarus   it is necessary to detect the usb device).

Quote
One anormally though is that, using the precompiled version 3.8.5, I can not have two CP2102's in the same computer. I can hav one pluged into the PC / laptop, and another plugged into a hub connected to another usb port then it is ok. Also, I can not start with both plugged in, I have to either start without the modules pluged in, or just one module, else cgminer crashes!
Try first to run 4.7.0 when it detects all the devices as ANU,start 3.8.5.If detect as LIX press U and then reset device.4.7.0 can change the frequency with --anu-freq

hero member
Activity: 518
Merit: 500

I tried to compile with a MinGW  win32 but still no luck.compiled without errors but  cgminer finds no usb devices,maybe this code is only for Linux?

PS Proto №2) Heatsink is made of aluminum corner 50*50mm but necessary if the voltage is above 0.9v
 ......


Same here! Compiled under MinGW but will not detect the devices!

I am running 2 boards without any heatsink, fully powered but with a 150 CFM fan at full blast blowing over them. I have seen average speeds (poolside) of up to 106 GH/s (when I set a high minimum diff), and ~85 GH/s when the pool sets the diff.

One anormally though is that, using the precompiled version 3.8.5, I can not have two CP2102's in the same computer. I can hav one pluged into the PC / laptop, and another plugged into a hub connected to another usb port then it is ok. Also, I can not start with both plugged in, I have to either start without the modules pluged in, or just one module, else cgminer crashes!

J4bberwock -  do you have similar issues with the board? Also, I put myself down for the protos (also to work on windows software, sorry not a C++ geek yet!), are we ready to go and do I need to cover your postage / outlay?

PS. zziggi - how are those heatsinks coping? I have seen some heatsinks 300mm X 140 for approx $15 each, also for normal operation, syscooling do the C1 heatink for $49 (I think + shipping) ....
newbie
Activity: 17
Merit: 0
Finaly did it. Succesfuly compiled cgminer 4.7.0 and run one blade with $8 cp2102 ~50GHs/84W (pensil undervolted).

git clone https://github.com/bitmaintech/cgminer
cd cgminer
./autogen.sh --enable-bmsc
nano  driver-bmsc.c
     ///Press ctrl+w then paste this...\\\
     memcpy((char *)&nonce, nonce_bin, sizeof(nonce_bin));
     ///Remove that and replace with this...\\\
     memcpy((char *)&nonce, nonce_bin, sizeof(nonce));
     ///Press ctrl+x to exit, y to save the file and then the Enter key to confirm...\\\
make
sudo ./cgminer -o yourpool:3333 -O yourworker --bmsc-options 115200 --bmsc-freq 0981 --api-listen --api-network
     /// then add definition into /var/www/html/miner.php at your html server manualy \\\

0981 - 250 - 50GHs - 84W - 0.02% HW
0A01 - 262,5 - 52GHs - 88W - 0.13% HW

With precompiled version 3.8.5 there was ~8% hw errors, after compiled version 4.7.0 there is ~0.03% hw errors (api monitored and run per hours). It makes ~50GHs/84W, blade was pencil undervolted, with version 4.7.0 it is near to original efficiency. I will probably buy another cp2102 and try to run 2 blades each connected thru its own cp2102. Unfortunately API does not show temperature, any idea which pin is carrying that?

I tried to compile with a MinGW  win32 but still no luck.compiled without errors but  cgminer finds no usb devices,maybe this code is only for Linux?

PS Proto №2) Heatsink is made of aluminum corner 50*50mm but necessary if the voltage is above 0.9v
http://s008.radikal.ru/i305/1411/ee/b54fe73238d9.jpg

undervolt to 0.82V (2.85kOm) ~40Gh each blade on pool

http://s016.radikal.ru/i337/1411/47/3c90c323ec21.jpg




newbie
Activity: 44
Merit: 0
Here's your heat sink.

https://www.onlinemetals.com/merchant.cfm?pid=1162&step=4&showunits=inches&id=997&top_cat=60

Just drill a few holes in it, and run some water through it. I designed a waterblock a couple of months ago but it would have cost around $80 to make. I gave up on it for a while and decided to make my own. I borrowed a buddy's drill press and tried to go the long way. I ended up going through one of the sides. I only ordered I piece of metal, so I put it on the back burner for a while. I thought about routing a piece and using another thin piece to create a channel, but I don't have access to a cnc machine. For mounting the boards I was going to drill holes all the way through and use a machine screw and nut with nylon washers to pull the boards tight against the waterblock. If anyone has access to  machining equipment and can make some simple waterblocks for a reasonable price I would be interested in a few.

Great job J4bberwock for getting a control board together. I wanted to do it, but I'm not that smart.
hero member
Activity: 840
Merit: 1000

It means it is temperature?

not the temperature, but the pulsed signal that tells the fan at what speed to spin.
full member
Activity: 238
Merit: 100
I have a TON of old Block erupter USBs.  Could these be modified to work?  They appear to be cp2102 based and the extra parts can easily be removed with a rework

station.
It could work, but you need to find where to solder your TX and RX.
I'm not sure there is a full schematics for it.
Just had a quick look at one that was laying on my work bench, and Tx/Rx seems to be connected to IC3.
Good luck soldering wires there.

Let say, this is clear: PIN3 - RX, PIN4 - GND, PIN5 - TX, PIN8 - GND. PIN2, PIN6 and PIN7 are not connected anywhere. But what is PIN1? Where do You connect it?
pin 1 is the PWM signal.
I use it to regulate the speed of the fan.

It means it is temperature?
hero member
Activity: 840
Merit: 1000
I have a TON of old Block erupter USBs.  Could these be modified to work?  They appear to be cp2102 based and the extra parts can easily be removed with a rework

station.
It could work, but you need to find where to solder your TX and RX.
I'm not sure there is a full schematics for it.
Just had a quick look at one that was laying on my work bench, and Tx/Rx seems to be connected to IC3.
Good luck soldering wires there.

Let say, this is clear: PIN3 - RX, PIN4 - GND, PIN5 - TX, PIN8 - GND. PIN2, PIN6 and PIN7 are not connected anywhere. But what is PIN1? Where do You connect it?
pin 1 is the PWM signal.
I use it to regulate the speed of the fan.
full member
Activity: 238
Merit: 100
I have a TON of old Block erupter USBs.  Could these be modified to work?  They appear to be cp2102 based and the extra parts can easily be removed with a rework

station.
It could work, but you need to find where to solder your TX and RX.
I'm not sure there is a full schematics for it.
Just had a quick look at one that was laying on my work bench, and Tx/Rx seems to be connected to IC3.
Good luck soldering wires there.

Let say, this is clear: PIN3 - RX, PIN4 - GND, PIN5 - TX, PIN8 - GND. PIN2, PIN6 and PIN7 are not connected anywhere. But what is PIN1? Where do You connect it?
hero member
Activity: 840
Merit: 1000
I have a TON of old Block erupter USBs.  Could these be modified to work?  They appear to be cp2102 based and the extra parts can easily be removed with a rework

station.
It could work, but you need to find where to solder your TX and RX.
I'm not sure there is a full schematics for it.
Just had a quick look at one that was laying on my work bench, and Tx/Rx seems to be connected to IC3.
Good luck soldering wires there.
full member
Activity: 238
Merit: 100
Quote
... but a repeated error message Bitmain detect <7:2> failed to initialise in between ...
OK, I found the reason for that and it has nothing to do with the S1 board. I have a few NF2's which also use the CP2102 and had not unplugged one on the laptop I was running the board from (though it was not hashing at the time). The messages have stopped since I removed it.

I was wondering, if J4bberwock's board could do with some firmware .... possibly implementing the bifury protocol (I am simply grasping at thin air here seeing a fully heat-sunk board is only hashing at 44GH/s).

lol
hero member
Activity: 650
Merit: 500
Pick and place? I need more coffee.
I have a TON of old Block erupter USBs.  Could these be modified to work?  They appear to be cp2102 based and the extra parts can easily be removed with a rework

station.
hero member
Activity: 658
Merit: 500
CCNA: There i fixed the internet.
Quote
... but a repeated error message Bitmain detect <7:2> failed to initialise in between ...
OK, I found the reason for that and it has nothing to do with the S1 board. I have a few NF2's which also use the CP2102 and had not unplugged one on the laptop I was running the board from (though it was not hashing at the time). The messages have stopped since I removed it.

I was wondering, if J4bberwock's board could do with some firmware .... possibly implementing the bifury protocol (I am simply grasping at thin air here seeing a fully heat-sunk board is only hashing at 44GH/s).

Nanofury2? Not a cp2102, but an mcp2210, similar numbering
full member
Activity: 238
Merit: 100
Finaly did it. Succesfuly compiled cgminer 4.7.0 and run one blade with $8 cp2102 ~50GHs/84W (pensil undervolted).

git clone https://github.com/bitmaintech/cgminer
cd cgminer
./autogen.sh --enable-bmsc
nano  driver-bmsc.c
     ///Press ctrl+w then paste this...\\\
     memcpy((char *)&nonce, nonce_bin, sizeof(nonce_bin));
     ///Remove that and replace with this...\\\
     memcpy((char *)&nonce, nonce_bin, sizeof(nonce));
     ///Press ctrl+x to exit, y to save the file and then the Enter key to confirm...\\\
make
sudo ./cgminer -o yourpool:3333 -O yourworker --bmsc-options 115200 --bmsc-freq 0981 --api-listen --api-network
     /// then add definition into /var/www/html/miner.php at your html server manualy \\\

0981 - 250 - 50GHs - 84W - 0.02% HW
0A01 - 262,5 - 52GHs - 88W - 0.13% HW

With precompiled version 3.8.5 there was ~8% hw errors, after compiled version 4.7.0 there is ~0.03% hw errors (api monitored and run per hours). It makes ~50GHs/84W, blade was pencil undervolted, with version 4.7.0 it is near to original efficiency. I will probably buy another cp2102 and try to run 2 blades each connected thru its own cp2102. Unfortunately API does not show temperature, any idea which pin is carrying that?
hero member
Activity: 518
Merit: 500
Quote
... but a repeated error message Bitmain detect <7:2> failed to initialise in between ...
OK, I found the reason for that and it has nothing to do with the S1 board. I have a few NF2's which also use the CP2102 and had not unplugged one on the laptop I was running the board from (though it was not hashing at the time). The messages have stopped since I removed it.

I was wondering, if J4bberwock's board could do with some firmware .... possibly implementing the bifury protocol (I am simply grasping at thin air here seeing a fully heat-sunk board is only hashing at 44GH/s).
legendary
Activity: 1358
Merit: 1002
I run one board using an el-cheapo CP2102 and WITHOUT a heatsink and got thus:

Obviously, the errors are way out there (due to the lack of a heatsink, I think), but poolside speed was 44 GH/s @ freq 400 (average in an hour) with:  -o stratum+tcp://stratum.mypool.mine:3333 -u pekatete -p x --bmsc-freq 0F81
I am currently running with --bmsc-freq 5081 (i.e freq 425)

So I am at a loss as to why some people are only managing a miniscule 12GH/s on a board .... care to share your settings / software / etc ... ?

J4bberwock -  way to go! now for the software ..... but seeing what i am getting from a stock cgminer without a heatsink, I am hopeful to be able to squeeze a bit more with one on, which, aside from the fun of it, may be a done deal!

I'm using the same settings, but only getting 45-55GH on each board in cgminer and poolside, with less HW errors and boards that weren't voltmodded. (heatsinks are on, as you can see on the pics.)


That may be reason for concern then .... I was hoping to be able to squeeze some more speed with the heatsinks.
I have to say that whenever i run this version of cgminer, it seems as though it is another program altogether! I was getting frequency messages before and now I am not getting any, but a repeated error message Bitmain detect <7:2> failed to initialise in between the Accepted messages!
Something else that may be relevant to the above is that before I reset the freq, I mistakenly moved the connection from the CP2102 to the board and cgminer "lost" connection to AMU 0 but quickly found AMU 1 ....! Anyways, after restart it is back to AMU 0 but with the error that does not seem to be affecting the board's speed (still early days though).

i have a few ideas than im going to test when i get home (and also have some cp2102s in the mailbox) - since i have 20 boards, im willing to do a little risky testing on a few of them, i will post my findings whenim home...
hero member
Activity: 518
Merit: 500
I run one board using an el-cheapo CP2102 and WITHOUT a heatsink and got thus:

Obviously, the errors are way out there (due to the lack of a heatsink, I think), but poolside speed was 44 GH/s @ freq 400 (average in an hour) with:  -o stratum+tcp://stratum.mypool.mine:3333 -u pekatete -p x --bmsc-freq 0F81
I am currently running with --bmsc-freq 5081 (i.e freq 425)

So I am at a loss as to why some people are only managing a miniscule 12GH/s on a board .... care to share your settings / software / etc ... ?

J4bberwock -  way to go! now for the software ..... but seeing what i am getting from a stock cgminer without a heatsink, I am hopeful to be able to squeeze a bit more with one on, which, aside from the fun of it, may be a done deal!

I'm using the same settings, but only getting 45-55GH on each board in cgminer and poolside, with less HW errors and boards that weren't voltmodded. (heatsinks are on, as you can see on the pics.)


That may be reason for concern then .... I was hoping to be able to squeeze some more speed with the heatsinks.
I have to say that whenever i run this version of cgminer, it seems as though it is another program altogether! I was getting frequency messages before and now I am not getting any, but a repeated error message Bitmain detect <7:2> failed to initialise in between the Accepted messages!
Something else that may be relevant to the above is that before I reset the freq, I mistakenly moved the connection from the CP2102 to the board and cgminer "lost" connection to AMU 0 but quickly found AMU 1 ....! Anyways, after restart it is back to AMU 0 but with the error that does not seem to be affecting the board's speed (still early days though).
hero member
Activity: 840
Merit: 1000
I run one board using an el-cheapo CP2102 and WITHOUT a heatsink and got thus:

Obviously, the errors are way out there (due to the lack of a heatsink, I think), but poolside speed was 44 GH/s @ freq 400 (average in an hour) with:  -o stratum+tcp://stratum.mypool.mine:3333 -u pekatete -p x --bmsc-freq 0F81
I am currently running with --bmsc-freq 5081 (i.e freq 425)

So I am at a loss as to why some people are only managing a miniscule 12GH/s on a board .... care to share your settings / software / etc ... ?

J4bberwock -  way to go! now for the software ..... but seeing what i am getting from a stock cgminer without a heatsink, I am hopeful to be able to squeeze a bit more with one on, which, aside from the fun of it, may be a done deal!

I'm using the same settings, but only getting 45-55GH on each board in cgminer and poolside, with less HW errors and boards that weren't voltmodded. (heatsinks are on, as you can see on the pics.)
hero member
Activity: 518
Merit: 500
I run one board using an el-cheapo CP2102 and WITHOUT a heatsink and got thus:

img - >> http://s2.postimg.org/c468i83eh/cgminer_S1_CP2102.png

Obviously, the errors are way out there (due to the lack of a heatsink, I think), but poolside speed was 44 GH/s @ freq 400 (average in an hour) with:  -o stratum+tcp://stratum.mypool.mine:3333 -u pekatete -p x --bmsc-freq 0F81
I am currently running with --bmsc-freq 5081 (i.e freq 425)

So I am at a loss as to why some people are only managing a miniscule 12GH/s on a board .... care to share your settings / software / etc ... ?

J4bberwock -  way to go! now for the software ..... but seeing what i am getting from a stock cgminer without a heatsink, I am hopeful to be able to squeeze a bit more with one on, which, aside from the fun of it, may be a done deal!

I guess Your blade comes from unit not pensil undervolted, right?
Not sure what you mean by "from unit", but I can tell you that the board is NOT pencil undervolted.

Anyhow, having run the board with --bmsc-freq 5081 for the last hour, I managed to reap a poolside average of ~20 GH/s (despite cgminer showing an average of 99GH/s +), and as soon as I turned it back to --bmsc-freq 0F81 (with cgminer showing an average of 66GH/s), the rate started rising again! So that's sorted for me then ....
Pages:
Jump to: