Bitcoin Forum
October 22, 2017, 08:42:39 AM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 132 »
  Print  
Author Topic: GekkoScience Compac BM1384 Stickminer Official Support Thread  (Read 244245 times)
novak@gekkoscience
Full Member
***
Offline Offline

Activity: 173


View Profile
September 08, 2015, 08:47:28 AM
 #1

########################################
#GekkoScience Compac BM1384 Stickminer Official Support Thread#
########################################



=================
=Thanks To The Community=
=================
First off, this project would not even have been attempted without the level of support from the community.  A big thanks to everyone who assisted, great and small, whether through reviews, meaningful discussion, ordering the product, or anything else.  Special thanks here to TheRealSteve, whose render of the compac I have shamelessly stolen because it is beautiful, and Luke-Jr who provided the bfgminer support and helped by providing hex files for the CP2102.

===============
=Purpose of this Thread=
===============
This thread is to collect resources, provide instructions, and answer questions about the miner.  If you are having trouble with it this is the place to ask.

=======
=Software=
=======
The stickminer will enumerate as an antminer U3 on cgminer (if the version of cgminer you're using supports the U3), and should run fine.  It may give warnings about "no valid hashes within 3 seconds" but this is fine, as the U3 has a higher hashrate, confusing cgminer but not noticeably affecting performance.  If your hardware errors are low you're fine.  These older version of cgminer do not allow a clock rate over 250MHz.  This is pretty good for most people as that's moderately high power but in theory the chips will run up to 500MHz.  

Luke Jr added bfgminer support in bfgminer 5.3.0, so you may use that version of bfgminer.

I (novak) have written a cgminer driver which enumerates the compacs as expected, removes the error, and ramps up the clock slowly to prevent spikes on USB power.  My custom cgminer can be found here:
source code: gekkoscience.com/misc/cgminer-gekko.tar.gz
win32 binary: gekkoscience.com/misc/cgminer-gekko-win32.zip
EDIT: The current version supports bitshopper compacs as well, and can be (and is, in the case of windows) compiled with icarus support.

I have not yet tested it but edonkey was nice enough to upload a custom minera image with cgminer-gekko enabled as a custom miner.  You can set the frequency under manual options as: --compac-freq 150.  Link:
https://dbtbmm05cubzd.cloudfront.net/cryptocurrency/mods/minera_compac_mod.zip

On the engineering sample sticks you can only use old cgminer as the newer drivers for both cgminer and bfgminer depend on a hexfile flashed to the cp2102 which the engineering samples do not have.

If you need to run cgminer on windows (either stock or mine), you'll need to install the zadig driver.  You can find it here:
http://ck.kolivas.org/apps/cgminer/zadig/

Run the program and install the winusb driver for the compac(s) that you have plugged into your windows machine.  You may need to replug the compacs afterwards while cgminer is running to get them to start mining.


=========
=How to Run=
=========

Old cgminer:
To build use --enable-icarus flag.

./cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr --au3-freq 150
---------------------------------------------------------------------------------------------------------------

GekkoScience cgminer:
To build use --enable-gekko flag.

./cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr --compac-freq 150
---------------------------------------------------------------------------------------------------------------

bfgminer:

./bfgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -O 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr --set compac:clock=x0b83
---------------------------------------------------------------------------------------------------------------

Note that for bfgminer you have to use the hex value for a given clock rate, whereas for cgminer you specify the clock rate in MHz.
A table of values to use in BFGminer is as follows:
        { 100,          0x0783 },
        { 106.25,       0x0803 },
        { 112.5,        0x0883 },
        { 118.75,       0x0903 },
        { 125,          0x0983 },
        { 131.25,       0x0a03 },
        { 137.5,        0x0a83 },
        { 143.75,       0x1687 },
        { 150,          0x0b83 },
        { 156.25,       0x0c03 },
        { 162.5,        0x0c83 },
        { 168.75,       0x1a87 },
        { 175,          0x0d83 },
        { 181.25,       0x0e83 },
        { 193.75,       0x0f03 },
        { 196.88,       0x1f07 },
        { 200,          0x0782 },
        { 206.25,       0x1006 },
        { 212.5,        0x1086 },
        { 218.75,       0x1106 },
        { 225,          0x0882 },
        { 231.25,       0x1206 },
        { 237.5,        0x1286 },
        { 243.75,       0x1306 },
        { 250,          0x0982 },
        { 256.25,       0x1406 },
        { 262.5,        0x0a02 },
        { 268.75,       0x1506 },
        { 275,          0x0a82 },
        { 281.25,       0x1606 },
        { 287.5,        0x0b02 },
        { 293.75,       0x1706 },
        { 300,          0x0b82 },
        { 306.25,       0x1806 },
        { 312.5,        0x0c02 },
        { 318.75,       0x1906 },
        { 325,          0x0c82 },
        { 331.25,       0x1a06 },
        { 337.5,        0x0d02 },
        { 343.75,       0x1b06 },
        { 350,          0x0d82 },
        { 356.25,       0x1c06 },
        { 362.5,        0x0e02 },
        { 368.75,       0x1d06 },
        { 375,          0x0e82 },
        { 381.25,       0x1e06 },
        { 387.5,        0x0f02 },
        { 393.75,       0x1f06 },
        { 400,          0x0f82 },
        { 412.5,        0x1006 },
        { 425,          0x0801 },
        { 437.5,        0x1105 },
        { 450,          0x0881 },
        { 462.5,        0x1205 },
        { 475,          0x0901 },
        { 487.5,        0x1305 },
        { 500,          0x0981 },

===============
=Expected Performance=
===============
The expected performance of the chip is 0.055*MHz=GH.  For example, 200MHz gives 11 GH (max theoretical expectation).

==============
=Voltage Adjustment=
==============
In order to get the best performance out of your stickminer, you'll want to adjust voltage.  The compac does not support software voltage adjustment, it is actually a hardware setting.  Voltage is set by a small potentiometer (you'll see a screw which can be turned) right next to the USB jack.  Turning the screw clockwise increases voltage; counter-clockwise decreases it.  The official core voltage for the BM1384 chip is between 0.6 and 0.8 volts; the compac will let you set any core voltage from approximately 0.55 to 0.8 volts.  Lower voltage will yield a lower power dissipation but will be unstable for higher frequencies.  You may measure the core voltage any time the stick is plugged in by checking the test pads on the back with a multimeter- Gnd is ground and Vcore is the core voltage.

A good way to set the voltage is to continue lowering voltage until you start to see hardware errors.  If you notice many hardware errors the first suggestion I would have is to try upping the voltage at a given clock.  



========
=Hardware=
========
The hardware that you need to run the compac is no more than any computer with an open, powered USB 2.0 port.  On stock USB power you may be able to run the miner as high as 150MHz, though the 137 setpoint is more likely- actual power consumption would depend on how low the voltage on a stick would go stably. If you have a USB 3.0 port that provides 900mA instead of the 500mA provided by USB 2.0 and you will be able to set the clock higher.  If you wish to run several sticks at once you should probably acquire a powered hub.  You can run the miner at reasonable but fairly low speed off of 2.5W per stick, so to figure how many sticks you can run you should find the power of the hub as (voltage)*(current)=power.

It is not advised to run over 1.5A of current in per stick, as this is the max the USB jack is rated for.  In testing there were no problems with it handling current up to 2.5A but unless you're keeping a close eye on it you should try not to burn down your house.  

======
=Cooling=
======
If you run the miners over about 150MHz it is strongly advised to cool them with a fan.  The cooling requirements are fairly low and unless you're trying to run 400MHz or above almost any fan at all will do.    

===============
=Basic Troubleshooting=
===============
Q.  I'm seeing a lot of hardware errors and/or low poolside hashrate.  Why?
A.  Check the voltage and frequency, there's a good chance setting the voltage higher at the same frequency will reduce them.  For poolside hashrate be patient; The compac has a low hashrate so it tends to vary a large amount as the vardiff is pretty high on most pools compared to what it expects.  It usually averages out over time.

Q. Whenever I try to start my Compac at high frequencies it doesn't get detected or messes up.  What's wrong?
A. When you start at high frequency you incur a massive current spike and all sorts of things might get angry.  Try novak's cgminer which starts out at the minimum clock and gradually ramps up.

Q. My compac draws more power than it should.
A. Check the voltage.  If you're running low frequency at high voltage the power draw is still considerable.

Q. My hashrate actually drops when I increase the clock speed.
A. You probably need to up the voltage so that it will run well at that clock rate.

Q. Cgminer does not detect my compac.
A. You're going to have to be more specific.  What version of cgminer, how it was compiled, what OS, etc.

Q. Your cgminer doesn't build for me.
A. I probably haven't tested it enough, but it should build on pretty much any system that can build the regular cgminer.  If you can build stock cgminer 4.9.2 but not my version, give me details and I will look into it in detail.

================
=Philosophical Questions=
================
Q. Am I going to break even on this?
A. Not very likely, especially with the halving, but the odds are better than with any other stickminer.  The advantages of the compac are that it's very adjustable so you get to learn a lot/have a lot of fun by playing with it, and it's cheap so you can afford it.  It can't compete with larger miners on price per GH, and probably no USB stickminer ever will.

Q. I'm having trouble with downloading your cgminer, it's really slow.
A. So is our internet, try to be patient.  If it gets really bad I can post the files on some other website.

Q. You say the compac is the most efficient miner I can buy?
A. This will be false when the S7 starts shipping, but it's because it lets you adjust both voltage and clock on the BM1384 over the whole range.  The S5 and S5+ give you higher end setpoints, while stock USB power on a compac is quite a low setpoint.  You can also get (if you have the juice and the cooling) the same setpoints as the S5 and S5+ on a compac.

Q. Which slave children made these?
A. We manufacture everything in house, ourselves, in the USA.  So when you get a compac it was placed by a robot programmed by sidehack, touched up by sidehack, then programmed and tested by novak.

Q. I'm the best overclocker/underclocker of all time.  I made the compac run at $FREQUENCY / $WATTS_PER_J.  Where is my fame?
A. Post here with some evidence including miner hashrate and errors (and if underclock, metered USB power), I'll keep score in this post of the highest overclock and most efficient underclock.  It's part luck and part skill so give it a shot!

Q. What kind of warranty does this come with?
A. If we built it we'll fix it.  Note that we didn't make the European ones sold by bitshopper.de but all the rest should be ours.

==========
=Where to Buy=
==========
Canada:  Talk to Valkir.
Venezuela: Talk to Chiguireitor.
Australia: Talk to AJRGale.
Europe: bitshopper.de has licensed the design and is selling in Europe.
The US and anywhere else not covered: Talk to GekkoScience.

============
=Awesome People=
============
Most efficient underclock: up for grabs!
highest overclock: up for grabs!


--
novak

1508661759
Hero Member
*
Offline Offline

Posts: 1508661759

View Profile Personal Message (Offline)

Ignore
1508661759
Reply with quote  #2

1508661759
Report to moderator
1508661759
Hero Member
*
Offline Offline

Posts: 1508661759

View Profile Personal Message (Offline)

Ignore
1508661759
Reply with quote  #2

1508661759
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508661759
Hero Member
*
Offline Offline

Posts: 1508661759

View Profile Personal Message (Offline)

Ignore
1508661759
Reply with quote  #2

1508661759
Report to moderator
goxed
Legendary
*
Offline Offline

Activity: 1666


Mining hardware dev and reviewer.


View Profile
September 08, 2015, 09:06:01 AM
 #2

Great job, novak!

Looking to review Bitcoin / Crypto mining Hardware.
heslo
Sr. Member
****
Offline Offline

Activity: 281


View Profile
September 08, 2015, 09:11:37 AM
 #3

Awesome! Cant wait till mine arrive

Trezor Hardware wallet AVAILABLE NOW!!! - https://www.buytrezor.com?a=4d90d26cd976
bmoscato
Sr. Member
****
Offline Offline

Activity: 258


View Profile
September 08, 2015, 12:28:05 PM
 #4

I can't wait to try mine once they arrive.
philipma1957
Legendary
*
Offline Offline

Activity: 1890


A new tool for prediction https://bitvol.info/


View Profile
September 08, 2015, 12:41:17 PM
 #5

Nice I will set up one of my 2 sample sticks on bfgminer today

Please support sidehack with his new miner project Send to : 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
I mine alt coins with https://simplemining.net I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
notlist3d
Legendary
*
Offline Offline

Activity: 1386



View Profile
September 08, 2015, 01:02:00 PM
 #6

Nice I will set up one of my 2 sample sticks on bfgminer today

I need to try the same thing. I currently have it working perfect with cgminer.   But am interested in trying bfgminer for fun.

Congratz on making it this far on a product.  I still hope to see even more products from GekkoScience.
sidehack
Legendary
*
Offline Offline

Activity: 1484

Curmudgeonly hardware guy


View Profile
September 08, 2015, 01:57:12 PM
 #7

The sample sticks won't actually work with BFG or cgminer-gekko. The new softwares use our modified manufacturer and device strings in the CP2102 (that's the hex files Luke-Jr provided) to ID the sticks uniquely from other devices. The Icarus driver doesn't really do that; it sends work in specified formats and parses the response, compares it to known formats and assumes it knows what miner is running based on that. This is why the stick will ID as a U3 in stock cgminer, because it's the closest matching device that cgminer knows how to work with.

The test sticks have not been updated to the proper hex, so the CP2102 will still ID with stock details. BFGMiner will not recognize it at all, and cgminer will still think it's a U3.

Selling seconds 2Pacs for a friend's med bills - PM for details
Currently in development - 20-120GH USB stick; 700GH 75W pod; 4TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
philipma1957
Legendary
*
Offline Offline

Activity: 1890


A new tool for prediction https://bitvol.info/


View Profile
September 08, 2015, 05:49:51 PM
 #8

The sample sticks won't actually work with BFG or cgminer-gekko. The new softwares use our modified manufacturer and device strings in the CP2102 (that's the hex files Luke-Jr provided) to ID the sticks uniquely from other devices. The Icarus driver doesn't really do that; it sends work in specified formats and parses the response, compares it to known formats and assumes it knows what miner is running based on that. This is why the stick will ID as a U3 in stock cgminer, because it's the closest matching device that cgminer knows how to work with.

The test sticks have not been updated to the proper hex, so the CP2102 will still ID with stock details. BFGMiner will not recognize it at all, and cgminer will still think it's a U3.


 Info is helpful thanks as  I saved time .

Please support sidehack with his new miner project Send to : 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
I mine alt coins with https://simplemining.net I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
novak@gekkoscience
Full Member
***
Offline Offline

Activity: 173


View Profile
September 08, 2015, 07:24:50 PM
 #9

I added a couple lines to address the points Phillipma made.  Phil, can you run on/build on linux?  If so I might have a version just lying around with the ramp initialization but not checking for the serial number or product string.  If you want I could just post it for you to test your samples with as you seem pretty eager (I think your sticks should be in the mail today though so the wait is coming to an end anyhow).

--
novak
philipma1957
Legendary
*
Offline Offline

Activity: 1890


A new tool for prediction https://bitvol.info/


View Profile
September 08, 2015, 10:18:14 PM
 #10

My software skills are pretty weak.

Not a big deal as the new ones are coming.

I also have a house full of pcs and or macs.

So when the new ones come I will setup one with the bfgminer and one with the new cfgminer.

As for running Linux I should learn, but most likely I  just do not have the time.

Please support sidehack with his new miner project Send to : 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
I mine alt coins with https://simplemining.net I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
valkir
Legendary
*
Offline Offline

Activity: 1274



View Profile
September 08, 2015, 10:51:14 PM
 #11

Happy to be part of this awesome project!  Grin

██     Please support sidehack with his new miner project Send to :

1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
novak@gekkoscience
Full Member
***
Offline Offline

Activity: 173


View Profile
September 08, 2015, 10:55:02 PM
 #12

My software skills are pretty weak.

Not a big deal as the new ones are coming.

I also have a house full of pcs and or macs.

So when the new ones come I will setup one with the bfgminer and one with the new cfgminer.

As for running Linux I should learn, but most likely I  just do not have the time.


That's fine I just wasn't sure if you had a pi or something that you could build cgminer on- thought I'd offer.

If you have any trouble with the cgminer let me know, this is my first time making my own driver for it.  As for everything you'll need zadig on windows.

--
novak
tiberium
Newbie
*
Offline Offline

Activity: 11


View Profile
September 08, 2015, 11:48:42 PM
 #13

TY sidehack and novak!

came nicely and safely packaged.

I'll play with it later tonight!

http://i.imgur.com/MjgcFh8.jpg
http://i.imgur.com/7bcg433.jpg
Luke-Jr
Legendary
*
Offline Offline

Activity: 2240



View Profile
September 09, 2015, 01:39:15 AM
 #14

The sample sticks won't actually work with BFG or cgminer-gekko. The new softwares use our modified manufacturer and device strings in the CP2102 (that's the hex files Luke-Jr provided) to ID the sticks uniquely from other devices.
Should work fine, just won't autodetect. So you'll need -S compac:\\.\COM1 (or whatever; compac:all is fine too).

notlist3d
Legendary
*
Offline Offline

Activity: 1386



View Profile
September 09, 2015, 04:30:27 AM
 #15

TY sidehack and novak!

came nicely and safely packaged.

I'll play with it later tonight!




I like the all green looks pretty sexy.   Everything from PCB to heatsink.

Thanks for posting closeups of final product.
tiberium
Newbie
*
Offline Offline

Activity: 11


View Profile
September 09, 2015, 04:49:46 AM
 #16

NP

I just posted them hoping that it would motivate a few people on the sidelines.


Searing
Legendary
*
Offline Offline

Activity: 1512


Clueless!


View Profile
September 09, 2015, 05:00:19 AM
 #17



OK I'll be that guy...have no idea how to set up a usb stick Sad

so.....if someone could point me to the dummy directions I'd appreciate it Smiley

be step by step ....my first ASIC was a plug and play KNC Jupiter 550gh ....so never had to learn any of this stuff

to top it all off I'll likely run them on a Unbuntu machine(s) (which i just run putty.exe on) so them skills are lame to (the 2 laptops monitoring with putty.exe my Titan(s))


(there is always that one clueless guy ..yep its me) Smiley   lost in the cornfield maze need a search and rescue team Smiley





novak@gekkoscience
Full Member
***
Offline Offline

Activity: 173


View Profile
September 09, 2015, 05:30:33 AM
 #18



OK I'll be that guy...have no idea how to set up a usb stick Sad

so.....if someone could point me to the dummy directions I'd appreciate it Smiley

be step by step ....my first ASIC was a plug and play KNC Jupiter 550gh ....so never had to learn any of this stuff

to top it all off I'll likely run them on a Unbuntu machine(s) (which i just run putty.exe on) so them skills are lame to (the 2 laptops monitoring with putty.exe my Titan(s))


(there is always that one clueless guy ..yep its me) Smiley   lost in the cornfield maze need a search and rescue team Smiley


If you want to run the sticks on linux, you'll need either bfgminer or cgminer.  Either way you are probably going to have to compile them, but I've had little trouble with this so it's probably just a matter of running a few simple commands.

Here's what you'd do to get cgminer on linux going:
1. Open a terminal.
2. wget http://gekkoscience.com/misc/cgminer-gekko.tar.gz            

This downloads the file- you can save it from your browser instead, it's the same thing.

3. tar -xvzf cgminer-gekko.tar.gz

This extracts the files. which are compressed (like a zip file for linux)

4. cd cgminer-gekko
 
Enters the cgminer-gekko folder you just extracted.

5. sudo apt-get install build-essential autoconf automake libtool

You need to install the dependencies for cgminer.

6. ./autogen.sh

This will generate a configure script for you which will set up compiling for your system.

7. ./configure --enable-gekko

This will configure the build.  This is the most likely place to have anything go wrong, if it does, let me know exactly what's up.  Odds are it would be some package that you should have installed.

8. make

Performs the build.  If you get an error there- again, let me know details.

You are ready to run cgminer.  This should look something like:

./cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr --compac-freq 150

Although if you don't have permissions setup you may have to become root or use sudo, eg,

sudo ./cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr --compac-freq 150

cgminer should now detect any compacs plugged in while it is running.  Obviously you'll use a slightly different command to launch cgminer, if you use that one you'll be mining for us!  Most pools even post example commands, let me know if you need help figuring it out.

--
novak
Jake36
Sr. Member
****
Offline Offline

Activity: 331


View Profile
September 09, 2015, 12:42:30 PM
 #19

Thanks Novak, I'll try loading cgminer-gekko up on the Pi today after work.

So hopefully by the time the sticks arrive, I'll have the hub and everything else ready, then all I have to do is plug, tweak a little, and play  Smiley
fullzero
Legendary
*
Offline Offline

Activity: 1078



View Profile
September 09, 2015, 01:02:09 PM
 #20

Got 2 sticks yesterday  Grin

I haven't tried high settings yet; but they work great @ 150.


Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 132 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!