Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: jstefanop on May 04, 2018, 10:33:38 PM



Title: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 04, 2018, 10:33:38 PM
So certain members of this forum think its cool to rip off GPL code then do simple mods and profit greatly off it without releasing the code after having plenty of time to do so, therefore I decided to release a simple binary that does the most important function for free on the stock L3+ firmware ;) Figured lots of L3+ users would appreciate this with low profits and summer incoming.

My tests show that most boards will run on stock frequency (384) at the lowest voltage setting (0xfe) reliably at about 160 watts per board at the wall.

Source and release binary are here: https://github.com/jstefanop/bitmain-tools

This binary allows you to easily modify voltages on a per board bases for L3+ miners. It *should* work on all L3+ boards as long as they have the proper PIC version, If the binary complains about a wrong PIC version let me know (it wont do anything unless your board has the version I have tested on).

USAGE:

Since this need to be run directly from the miner console, below is my attempt at a user friendly instructions for people not familiar with the command line:

Download the release binary on GitHub and copy it over to your antminer:

Code:
scp [Directory you downloaded tool]/set_voltage root@[your miners ip]:/config

ssh into your miner and cd to config folder (this is the only folder that is saved on reboot on antminers so we saved the binary here).

Code:
ssh root@[your miners ip]
cd /config

binary accepts two inputs in the format of:

Code:
./set_voltage [chain# 1-4] [voltage in hex]

bitmains voltage controller can be configured to change the 12v input roughly +/- 1v from 10v, and this is configurable via a hex range of 0x00-0xfe, with the default being set to the middle (0x80). Higher hex values (0x80-0xfe) will LOWER voltage, lower values (0x00-0x7f) will INCREASE voltage from the default.

If your not familiar with hex numbering, all you need to know is that they range from 0-9, then a-f

For example if you want to slightly decrease your voltage on chain #1 you would input:

Code:
./set_voltage 1 90

increments of 0x10 are good starting point to test a sweet spot for each board for a particular frequency. Lowering voltage until you get around 1 HW error per minute is usually a good reference “sweet spot.”

So lower voltages from stock in increments of 0x10 are 90, A0, B0, C0, D0, E0, F0 and higher are 0x70, 0x60, 0x50 etc. If you want slightly higher resolution just go increments of 0x08, so lowering voltage in lower increments would look like 0x88, 0x90, 0x98, 0xA0, 0xA8, 0xB0 etc.

The tool directly writes the voltages to the pic controllers memory, so all changes are saved even on reboot and power down. If you want to set everything back to stock, you have to set the stock voltage for each chain using:

Code:
./set_voltage 1 80
./set_voltage 2 80
./set_voltage 3 80
./set_voltage 4 80

Enjoy! Keep in mind that the "other" solution has take a good few bucks or so a month of profit per L3 miner, so while I like helping out the community when I can especially in cases like this, please consider donating a few dollars per L3 if you end up using this tool, especially if you guys want me to work on similar tools or release more free stuff (like the auto voltage tuner I'm working on)  :P

LTC: LQZpb8AqbggUmsdPKr28DzdNcRP7MJ8kEf
BTC: 1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf


DISCLAMER: While the tool has basic error checking its not idiot proof, so be careful especially when overvolting. IM NOT RESPONSIBLE IF YOU FRY YOUR BOARD.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: hinvestmentgroup on May 04, 2018, 11:07:06 PM
Thanks!  I am very excited to try this.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Longsnowsm on May 05, 2018, 12:11:52 AM
jstefanop,

What is the hash rate at that lowest speed?  I am just trying to think how to make this simple enough that a hosting location would be willing, able to update miners.  Thoughts?  Thanks for working on this.  I think the L3+ needs some help if coin prices don't get a pump.

Longsnowsm


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 05, 2018, 12:23:46 AM
jstefanop,

What is the hash rate at that lowest speed?  I am just trying to think how to make this simple enough that a hosting location would be willing, able to update miners.  Thoughts?  Thanks for working on this.  I think the L3+ needs some help if coin prices don't get a pump.

Longsnowsm


Its the stock frequency so 500 MH/s. Keep in mind that not all hashboards will work at the lowest voltage setting on stock frequency, so you might have to undervolt some boards less. If you have your miners hosted, you should just be able to SSH into them and under volt them yourself?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Longsnowsm on May 05, 2018, 12:27:27 AM
No access at my hosting location.  They have it locked down.  So I basically have to manage my miners through Mining Rig Rentals.  So in my case it would have to be something more or less "default" so that the technicians would be able to set it and forget it it kind of thing. 


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: nazzer on May 05, 2018, 12:45:44 AM
Let's see how it goes ...

Code:
root@L3no01:/config# chmod a+x set_voltage
root@L3no01:/config# ./set_voltage 1 90

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0x90
Success: Voltage updated!
root@L3no01:/config#


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 05, 2018, 12:46:25 AM
No access at my hosting location.  They have it locked down.  So I basically have to manage my miners through Mining Rig Rentals.  So in my case it would have to be something more or less "default" so that the technicians would be able to set it and forget it it kind of thing. 

If you want to play it safe, start off with 0xa0 undervolt. That should give most boards no issue at stock frequency, and still get a noticeable reduction in power. So you can't even see the web interface on your miners?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 05, 2018, 12:48:31 AM
Let's see how it goes ...

Code:
root@L3no01:/config# chmod a+x set_voltage
root@L3no01:/config# ./set_voltage 1 90

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0x90
Success: Voltage updated!
root@L3no01:/config#

Looks good! Don't forget you need to do the same for the rest of the boards.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: nazzer on May 05, 2018, 12:59:43 AM
If you want to play it safe, start off with 0xa0 undervolt. That should give most boards no issue at stock frequency, and still get a noticeable reduction in power. So you can't even see the web interface on your miners?

Looks good! Don't forget you need to do the same for the rest of the boards.

I'm running at 462, chain 3 already giving 1 error per minute so leaving that alone for now.
Setting 1, 2 and 4 to 0xa0 and see how it goes over the next hour or so.

Power at wall now: ~950W / 240V (previously ~990W) - APW3++


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: racebyu on May 05, 2018, 04:10:55 AM
Very nice. So could we then turn down the voltage and boost the freq to get more hashing power at 800 watts then supplied by Bitmain? If the units voltage is high to start might be a bit of tuning between the voltage and freq. I assume the unit locks up if the freq is adjusted top high while under voltage.



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 05, 2018, 07:29:15 AM
Very nice. So could we then turn down the voltage and boost the freq to get more hashing power at 800 watts then supplied by Bitmain? If the units voltage is high to start might be a bit of tuning between the voltage and freq. I assume the unit locks up if the freq is adjusted top high while under voltage.



It wont lock up...ASICs are dumb and they will just keep hashing but return bad data...thats what HW errors are. You want to tune it so HW errors are to minimum (ie under 1 a min or so).


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: nazzer on May 05, 2018, 08:15:15 AM
Very nice. So could we then turn down the voltage and boost the freq to get more hashing power at 800 watts then supplied by Bitmain? If the units voltage is high to start might be a bit of tuning between the voltage and freq. I assume the unit locks up if the freq is adjusted top high while under voltage.

Results:

Chain 1, 2 and 4 voltage set to 0xc0,  < 1 HW error per minute
Chain 3 is at default 0x80

Power at wall ~900 W @ 462MHz vs 990 W @462 and ~830 W @384MHz with default voltage

20% increase in hashrate, < 10% increase in power draw at the wall


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Firstblackhaw on May 05, 2018, 11:15:29 AM
I tried it, but it errors
"root@antMiner:/config# ./set_voltage 1 90
./set_voltage: line 1: //: Permission denied
./set_voltage: line 2: //: Permission denied
./set_voltage: line 3: //: Permission denied
./set_voltage: line 4: //: Permission denied
./set_voltage: line 5: //: Permission denied
./set_voltage: line 6: //: Permission denied
./set_voltage: line 28: static: not found
./set_voltage: line 29: static: not found
./set_voltage: line 30: static: not found
./set_voltage: line 31: static: not found
./set_voltage: line 32: static: not found
./set_voltage: line 33: static: not found
./set_voltage: line 34: static: not found
./set_voltage: line 35: pthread_mutex_t: not found
./set_voltage: line 36: pthread_mutex_t: not found
./set_voltage: line 40: syntax error: unexpected "("
root@antMiner:/config# root@antMiner:/config# ./set_voltage 1 90
./set_voltage: line 35: pthread_mutex_t: not found
./set_voltage: line 36: pthread_mutex_t: not found
./set_voltage: line 40: syntax error: unexpected "("

Do I need reboot my L3+?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: psycodad on May 05, 2018, 12:32:22 PM
I tried it, but it errors
"root@antMiner:/config# ./set_voltage 1 90
./set_voltage: line 1: //: Permission denied
./set_voltage: line 2: //: Permission denied
./set_voltage: line 3: //: Permission denied
./set_voltage: line 4: //: Permission denied
./set_voltage: line 5: //: Permission denied
./set_voltage: line 6: //: Permission denied
./set_voltage: line 28: static: not found
./set_voltage: line 29: static: not found
./set_voltage: line 30: static: not found
./set_voltage: line 31: static: not found
./set_voltage: line 32: static: not found
./set_voltage: line 33: static: not found
./set_voltage: line 34: static: not found
./set_voltage: line 35: pthread_mutex_t: not found
./set_voltage: line 36: pthread_mutex_t: not found
./set_voltage: line 40: syntax error: unexpected "("
root@antMiner:/config# root@antMiner:/config# ./set_voltage 1 90
./set_voltage: line 35: pthread_mutex_t: not found
./set_voltage: line 36: pthread_mutex_t: not found
./set_voltage: line 40: syntax error: unexpected "("

Do I need reboot my L3+?


Try the obvious and see if that helps:

Code:
chmod u+x /config/set_voltage



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: psycodad on May 05, 2018, 12:42:03 PM
Thanks for this awesome tool jstefanop!

While lowering the voltage on all my L3+, I had one that said on board #1:

Code:
for i in 1 2 3 4; do /config/set_voltage $i a0; done

 version = 0x03
reading voltage

 voltage = 0xff
setting voltage
reading voltage

 voltage = 0xa0
Success: Voltage updated!

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
...

Means I received this miner with 0xff for board 1 from bitmain and funny enough it never made a single error on any of its boards in its current lifetime. I am now considering to run my tests backwards, meaning starting with 0xff and seeing if it stays stable, I bet they do (most).

Thanks again!



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 05, 2018, 04:33:25 PM
Thanks for this awesome tool jstefanop!

While lowering the voltage on all my L3+, I had one that said on board #1:

Code:
for i in 1 2 3 4; do /config/set_voltage $i a0; done

 version = 0x03
reading voltage

 voltage = 0xff
setting voltage
reading voltage

 voltage = 0xa0
Success: Voltage updated!

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
...

Means I received this miner with 0xff for board 1 from bitmain and funny enough it never made a single error on any of its boards in its current lifetime. I am now considering to run my tests backwards, meaning starting with 0xff and seeing if it stays stable, I bet they do (most).

Thanks again!



That’s weird...i think that 0xff sets DAC off, but this setting is not saved that’s why the tool only has range up to 0xfe


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: farmerjake on May 05, 2018, 06:26:03 PM
doing this on mac, and not very experienced, but running into an issue
download, unzip the files from github to downloads folder
try the scp command to send to antminer. set_voltage not found. Have to enter set_voltage_new.c for it to be found
then I get the same error as above
I tried chmod u+x /config/set_voltage_new.c as well

Quote
"root@IP ADDRESS:/config# ./set_voltage_new.c 1 90
./set_voltage: line 1: //: Permission denied
./set_voltage: line 2: //: Permission denied
./set_voltage: line 3: //: Permission denied
./set_voltage: line 4: //: Permission denied
./set_voltage: line 5: //: Permission denied
./set_voltage: line 6: //: Permission denied
./set_voltage: line 28: static: not found
./set_voltage: line 29: static: not found
./set_voltage: line 30: static: not found
./set_voltage: line 31: static: not found
./set_voltage: line 32: static: not found
./set_voltage: line 33: static: not found
./set_voltage: line 34: static: not found
./set_voltage: line 35: pthread_mutex_t: not found
./set_voltage: line 36: pthread_mutex_t: not found
./set_voltage: line 40: syntax error: unexpected "("


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 05, 2018, 06:48:10 PM
doing this on mac, and not very experienced, but running into an issue
download, unzip the files from github to downloads folder
try the scp command to send to antminer. set_voltage not found. Have to enter set_voltage_new.c for it to be found
then I get the same error as above
I tried chmod u+x /config/set_voltage_new.c as well

Quote
"root@IP ADDRESS:/config# ./set_voltage_new.c 1 90
./set_voltage: line 1: //: Permission denied
./set_voltage: line 2: //: Permission denied
./set_voltage: line 3: //: Permission denied
./set_voltage: line 4: //: Permission denied
./set_voltage: line 5: //: Permission denied
./set_voltage: line 6: //: Permission denied
./set_voltage: line 28: static: not found
./set_voltage: line 29: static: not found
./set_voltage: line 30: static: not found
./set_voltage: line 31: static: not found
./set_voltage: line 32: static: not found
./set_voltage: line 33: static: not found
./set_voltage: line 34: static: not found
./set_voltage: line 35: pthread_mutex_t: not found
./set_voltage: line 36: pthread_mutex_t: not found
./set_voltage: line 40: syntax error: unexpected "("

Your trying to run the source code which wont work  :P...all you need to download is the release binary (click on the release tab on GitHub). Transfer that over and try again.


EDIT: https://github.com/jstefanop/bitmain-tools/releases/download/v.1/set_voltage.zip


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: farmerjake on May 05, 2018, 07:19:05 PM
doing this on mac, and not very experienced, but running into an issue
download, unzip the files from github to downloads folder
try the scp command to send to antminer. set_voltage not found. Have to enter set_voltage_new.c for it to be found
then I get the same error as above
I tried chmod u+x /config/set_voltage_new.c as well

Quote
"root@IP ADDRESS:/config# ./set_voltage_new.c 1 90
./set_voltage: line 1: //: Permission denied
./set_voltage: line 2: //: Permission denied
./set_voltage: line 3: //: Permission denied
./set_voltage: line 4: //: Permission denied
./set_voltage: line 5: //: Permission denied
./set_voltage: line 6: //: Permission denied
./set_voltage: line 28: static: not found
./set_voltage: line 29: static: not found
./set_voltage: line 30: static: not found
./set_voltage: line 31: static: not found
./set_voltage: line 32: static: not found
./set_voltage: line 33: static: not found
./set_voltage: line 34: static: not found
./set_voltage: line 35: pthread_mutex_t: not found
./set_voltage: line 36: pthread_mutex_t: not found
./set_voltage: line 40: syntax error: unexpected "("

Your trying to run the source code which wont work  :P...all you need to download is the release binary (click on the release tab on GitHub). Transfer that over and try again.


EDIT: https://github.com/jstefanop/bitmain-tools/releases/download/v.1/set_voltage.zip

Well I feel dumb LOL! Will try it and let y'all know the results

Edit: set  power value to 90 on all boards across 9 units. Everything seems solid for now. Need to figure out what the next incremental step down in terms of voltage is and try that when I am physically located by the machines.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: racebyu on May 06, 2018, 12:33:37 AM

Enjoy! Keep in mind that the "other" solution has take a good few bucks or so a month of profit per L3 miner, so while I like helping out the community when I can especially in cases like this, please consider donating a few dollars per L3 if you end up using this tool, especially if you guys want me to work on similar tools or release more free stuff (like the auto voltage tuner I'm working on)  :P

LTC: LQZpb8AqbggUmsdPKr28DzdNcRP7MJ8kEf
BTC: 1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf

DISCLAMER: While the tool has basic error checking its not idiot proof, so be careful especially when overvolting. IM NOT RESPONSIBLE IF YOU FRY YOUR BOARD.

Wow, I missed the Auto voltage tuner in your first post, that would be the cats ass!!
Would you make it start at a baseline voltage then count the HW errors over time and adjust each board voltage up/down to get the error count around 1 per minute? I guess this would take a bit of time for testing and auto adjustments then write and store the final file. I would definitely give a LTC donation for this feature.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Searing on May 06, 2018, 01:34:05 AM
A guy below (see thread) tried to look at the 'supposed' L3++ that bitmain has...and looks like to me (no expert) it is just an overclocked

L3+ with your kind of trick with the firmware (I don't code please correct me if wrong)

Anyway, link to what he has found out on his L3++ so far

https://bitcointalk.org/index.php?topic=1864920.msg36382669#msg36382669 (https://bitcointalk.org/index.php?topic=1864920.msg36382669#msg36382669)


Be nice to cross confirm that L3++ is just a 'lightly' overclocked L3+ and that we can do the same with little risk with your firmware as well

I'll leave this to folk smarter than me on this kinda thing...but figured you'd like the above link

brad


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: farmerjake on May 06, 2018, 06:48:15 PM
Anyone aware of what the next voltage step down from 90 is? A0?
Is there a decent hexadecimal guide online somewhere?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 06, 2018, 07:09:28 PM
so what am I doing wrong?



https://i.imgur.com/bOxkHQl.png


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: fvineyard on May 06, 2018, 08:21:16 PM
@ phillipma, try adding the "." (period) at the beginning of the command line.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: ZedZedNova on May 06, 2018, 09:39:08 PM
so what am I doing wrong?
https://i.imgur.com/bOxkHQl.png

Hey Phil,

Looks like you are missing a couple of things in the command you are typing on the miner. In jstefanop's first message:

USAGE:

Since this need to be run directly from the miner console, below is my attempt at a user friendly instructions for people not familiar with the command line:

Download the release binary on GitHub and copy it over to your antminer:

Code:
scp [Directory you downloaded tool]/set_voltage root@[your miners ip]:/config

ssh into your miner and cd to config folder (this is the only folder that is saved on reboot on antminers so we saved the binary here).

Code:
ssh root@[your miners ip]
cd /config

binary accepts two inputs in the format of:

Code:
./set_voltage [chain# 1-4] [voltage in hex]

bitmains voltage controller can be configured to change the 12v input roughly +/- 1v from 10v, and this is configurable via a hex range of 0x00-0xfe, with the default being set to the middle (0x80). Higher hex values (0x80-0xfe) will LOWER voltage, lower values (0x00-0x7f) will INCREASE voltage from the default.

If your not familiar with hex numbering, all you need to know is that they range from 0-9, then a-f

For example if you want to slightly decrease your voltage on chain #1 you would input:

Code:
./set_voltage 1 90

increments of 0x10 are good starting point to test a sweet spot for each board for a particular frequency. Lowering voltage until you get around 1 HW error per minute is usually a good reference “sweet spot.”

So lower voltages from stock in increments of 0x10 are 90, A0, B0, C0, D0, E0, F0 and higher are 0x70, 0x60, 0x50 etc. If you want slightly higher resolution just go increments of 0x08, so lowering voltage in lower increments would look like 0x88, 0x90, 0x98, 0xA0, 0xA8, 0xB0 etc.

The tool directly writes the voltages to the pic controllers memory, so all changes are saved even on reboot and power down. If you want to set everything back to stock, you have to set the stock voltage for each chain using:

Code:
./set_voltage 1 80
./set_voltage 2 80
./set_voltage 3 80
./set_voltage 4 80



When you download the file to your Mac, make a note of where it is since you will need to copy it to the miner using scp and put it in the /config directory on the miner. Once you have copied the code to the miner you will need to login on the miner using ssh and then cd to the /config directory on the miner. Once you are in the /config directory on the miner, you will need to run the set_voltage command. The actual command is ./set_voltage, and you need to make sure that you use the leading ./, without it the command won't run. I'd explain why, but it's a linux thing, and not necessary unless you want to know.

I'll be online for a while, so PM me, or reply here and I can help you through it.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 06, 2018, 09:51:58 PM
so what am I doing wrong?
https://i.imgur.com/bOxkHQl.png

Hey Phil,

Looks like you are missing a couple of things in the command you are typing on the miner. In jstefanop's first message:

USAGE:

Since this need to be run directly from the miner console, below is my attempt at a user friendly instructions for people not familiar with the command line:

Download the release binary on GitHub and copy it over to your antminer:

Code:
scp [Directory you downloaded tool]/set_voltage root@[your miners ip]:/config

ssh into your miner and cd to config folder (this is the only folder that is saved on reboot on antminers so we saved the binary here).

Code:
ssh root@[your miners ip]
cd /config

binary accepts two inputs in the format of:

Code:
./set_voltage [chain# 1-4] [voltage in hex]

bitmains voltage controller can be configured to change the 12v input roughly +/- 1v from 10v, and this is configurable via a hex range of 0x00-0xfe, with the default being set to the middle (0x80). Higher hex values (0x80-0xfe) will LOWER voltage, lower values (0x00-0x7f) will INCREASE voltage from the default.

If your not familiar with hex numbering, all you need to know is that they range from 0-9, then a-f

For example if you want to slightly decrease your voltage on chain #1 you would input:

Code:
./set_voltage 1 90

increments of 0x10 are good starting point to test a sweet spot for each board for a particular frequency. Lowering voltage until you get around 1 HW error per minute is usually a good reference “sweet spot.”

So lower voltages from stock in increments of 0x10 are 90, A0, B0, C0, D0, E0, F0 and higher are 0x70, 0x60, 0x50 etc. If you want slightly higher resolution just go increments of 0x08, so lowering voltage in lower increments would look like 0x88, 0x90, 0x98, 0xA0, 0xA8, 0xB0 etc.

The tool directly writes the voltages to the pic controllers memory, so all changes are saved even on reboot and power down. If you want to set everything back to stock, you have to set the stock voltage for each chain using:

Code:
./set_voltage 1 80
./set_voltage 2 80
./set_voltage 3 80
./set_voltage 4 80



When you download the file to your Mac, make a note of where it is since you will need to copy it to the miner using scp



Been a long time since I did any Mac terminal

But give me a minute I will try


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: ZedZedNova on May 06, 2018, 09:54:30 PM

Been a long time since I did any Mac terminal

But give me a minute I will try

No worries. I'll be online for a while, PM or post here and I'll help


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 06, 2018, 09:55:07 PM
/Users/macmini/Downloads/set_voltage


so I think that is the directory above

so I tried this

scp /Users/macmini/Downloads/set_voltage root@192.168.0.109:/config



and this came up

root@192.168.0.109's password:

I could not enter  a password and if I hit enter it said wrong password


https://i.imgur.com/1VjL7un.png


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: ZedZedNova on May 06, 2018, 10:14:58 PM
/Users/macmini/Downloads/set_voltage


so I think that is the directory above

so I tried this

scp /Users/macmini/Downloads/set_voltage root@192.168.0.109:/config



and this came up

root@192.168.0.109's password:

I could not enter  a password and if I hit enter it said wrong password


https://i.imgur.com/1VjL7un.png

Have you changed the admin password on the miner? If not it's likely the same as the default on the S7-LN, which is admin.

the command I would use is:
Code:
scp /Users/macmini/Downloads/set_voltage root@192.168.0.109:/config/.

I just added a /. at the end of the scp command.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: nazzer on May 07, 2018, 12:26:58 AM
/Users/macmini/Downloads/set_voltage

so I think that is the directory above

so I tried this

scp /Users/macmini/Downloads/set_voltage root@192.168.0.109:/config

and this came up

root@192.168.0.109's password:

I could not enter  a password and if I hit enter it said wrong password

Have you tried typing in your password and pressing the enter key?
scp and other ssh tools will not echo a "*" or "." when you key in the password (so people cannot guess your password's length)

...

UPDATES -

Running my L3+ at 462M (20% OC)
All boards are set at 0xd0
Error rate is the wrong side of 1% right now

Effective hash rate at pool has been good - averaging 550-600

Power draw at wall ~ 870 W compared to ~ 830 W at stock voltage and speed

I'm now getting 15-20% more effective hash rate with only a 5% increase in power draw.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 07, 2018, 12:58:24 AM
/Users/macmini/Downloads/set_voltage

so I think that is the directory above

so I tried this

scp /Users/macmini/Downloads/set_voltage root@192.168.0.109:/config

and this came up

root@192.168.0.109's password:

I could not enter  a password and if I hit enter it said wrong password

Have you tried typing in your password and pressing the enter key?
scp and other ssh tools will not echo a "*" or "." when you key in the password (so people cannot guess your password's length)

...

UPDATES -

Running my L3+ at 462M (20% OC)
All boards are set at 0xd0
Error rate is the wrong side of 1% right now

Effective hash rate at pool has been good - averaging 550-600

Power draw at wall ~ 870 W compared to ~ 830 W at stock voltage and speed

I'm now getting 15-20% more effective hash rate with only a 5% increase in power draw.

That may be good idea thanks. duh  it works

Got down to 625 watts set on freq 312

https://i.imgur.com/92XV30n.png


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 07, 2018, 02:49:15 AM


Got down to 625 watts set on freq 312


At 312 freq you can prob set the lowest voltage on all 4 chains (0xfe).


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: ZedZedNova on May 07, 2018, 02:53:02 AM
Got down to 625 watts set on freq 312

Sweet! Glad you were able to get it to work.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: oomurashin on May 07, 2018, 02:59:14 AM
is this tool work with A3 too?  ??? ??? ???


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 07, 2018, 03:02:12 AM


Got down to 625 watts set on freq 312


At 312 freq you can prob set the lowest voltage on all 4 chains (0xfe).

I did go to 0xf0


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: nazzer on May 07, 2018, 03:06:40 AM
Got down to 625 watts set on freq 312
At 312 freq you can prob set the lowest voltage on all 4 chains (0xfe).
I did go to 0xf0

0xfe is the lowest voltage setting you can go to (0xfe is bigger than 0xf0)


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 07, 2018, 03:44:48 AM
Got down to 625 watts set on freq 312
At 312 freq you can prob set the lowest voltage on all 4 chains (0xfe).
I did go to 0xf0

0xfe is the lowest voltage setting you can go to (0xfe is bigger than 0xf0)

I figured that and went back to try the lower voltage it does work.

fans  are nice and low. Dropped to 600 watts.
This allows two per psu. A bitmain aw3+ could run two at 600 watts.





https://i.imgur.com/FzVhQke.png


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: botarnold on May 07, 2018, 03:58:09 AM
Why doesn't the hashrate on my pool stats match with my miner?

My miner is reporting 604MH with 462 frequency. But the pool is reporting 570MH?


If overclocking to 462M without undervolting is already generating HW errors, does that mean I will have to OVERVOLT my miner?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 07, 2018, 04:02:08 AM
Why doesn't the hashrate on my pool stats match with my miner?

My miner is reporting 604MH with 462 frequency. But the pool is reporting 570MH?


If overclocking to 462M without undervolting is already generating HW errors, does that mean I will have to OVERCLOCK my miner?

Very hard to answer.  Are you tossing thousands of errors hundreds of errors or dozens of errors.

In day 100 errors is no big deal


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: botarnold on May 07, 2018, 04:09:08 AM
Why doesn't the hashrate on my pool stats match with my miner?

My miner is reporting 604MH with 462 frequency. But the pool is reporting 570MH?


If overclocking to 462M without undervolting is already generating HW errors, does that mean I will have to OVERCLOCK my miner?

Very hard to answer.  Are you tossing thousands of errors hundreds of errors or dozens of errors.

In day 100 errors is no big deal

Mine indeed is tossing 1100 HW in 2 hours.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: nazzer on May 07, 2018, 06:03:18 AM
Why doesn't the hashrate on my pool stats match with my miner?

My miner is reporting 604MH with 462 frequency. But the pool is reporting 570MH?


If overclocking to 462M without undervolting is already generating HW errors, does that mean I will have to OVERCLOCK my miner?

Very hard to answer.  Are you tossing thousands of errors hundreds of errors or dozens of errors.

In day 100 errors is no big deal

Mine indeed is tossing 1100 HW in 2 hours.

It's also very dependent on how the pool parcels out work, how much work is thrown away, difficulty settings etc

I'm getting 1% error rate, difficulty at 65k, pool reported rate average for the past 24h between 550 to 600; miner reports effective rate of 595 (due to errors ~1%) at 462M frequency


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: gaalx01 on May 07, 2018, 07:02:23 AM
Change can be done through the Putty program?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: botarnold on May 07, 2018, 12:10:27 PM
Why doesn't the hashrate on my pool stats match with my miner?

My miner is reporting 604MH with 462 frequency. But the pool is reporting 570MH?


If overclocking to 462M without undervolting is already generating HW errors, does that mean I will have to OVERCLOCK my miner?

Very hard to answer.  Are you tossing thousands of errors hundreds of errors or dozens of errors.

In day 100 errors is no big deal

Mine indeed is tossing 1100 HW in 2 hours.

It's also very dependent on how the pool parcels out work, how much work is thrown away, difficulty settings etc

I'm getting 1% error rate, difficulty at 65k, pool reported rate average for the past 24h between 550 to 600; miner reports effective rate of 595 (due to errors ~1%) at 462M frequency

Did you undervolt or overvolt it? What does 1% error rate mean? My HW errors are numbers like 5k in 10 hours, still reporting 599MH average on stats panel. Pool panel (litecoinpool) reports 540-660 so huge fluctuation here. Feeling like mine needs an overvolt.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 07, 2018, 12:26:50 PM
Why doesn't the hashrate on my pool stats match with my miner?

My miner is reporting 604MH with 462 frequency. But the pool is reporting 570MH?


If overclocking to 462M without undervolting is already generating HW errors, does that mean I will have to OVERCLOCK my miner?

Very hard to answer.  Are you tossing thousands of errors hundreds of errors or dozens of errors.

In day 100 errors is no big deal

Mine indeed is tossing 1100 HW in 2 hours.

It's also very dependent on how the pool parcels out work, how much work is thrown away, difficulty settings etc

I'm getting 1% error rate, difficulty at 65k, pool reported rate average for the past 24h between 550 to 600; miner reports effective rate of 595 (due to errors ~1%) at 462M frequency

Did you undervolt or overvolt it? What does 1% error rate mean? My HW errors are numbers like 5k in 10 hours, still reporting 599MH average on stats panel. Pool panel (litecoinpool) reports 540-660 so huge fluctuation here. Feeling like mine needs an overvolt.

yeah  do the smallest overvolt setting and see if you reduce  hw

my hw for  9 hours

bd 1 ..... 2
bd 2 ..... 85
bd 3 ..... 2
bd 4 ..... 0


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: nazzer on May 07, 2018, 12:53:36 PM
Why doesn't the hashrate on my pool stats match with my miner?

My miner is reporting 604MH with 462 frequency. But the pool is reporting 570MH?


If overclocking to 462M without undervolting is already generating HW errors, does that mean I will have to OVERCLOCK my miner?

Very hard to answer.  Are you tossing thousands of errors hundreds of errors or dozens of errors.

In day 100 errors is no big deal

Mine indeed is tossing 1100 HW in 2 hours.

It's also very dependent on how the pool parcels out work, how much work is thrown away, difficulty settings etc

I'm getting 1% error rate, difficulty at 65k, pool reported rate average for the past 24h between 550 to 600; miner reports effective rate of 595 (due to errors ~1%) at 462M frequency

Did you undervolt or overvolt it? What does 1% error rate mean? My HW errors are numbers like 5k in 10 hours, still reporting 599MH average on stats panel. Pool panel (litecoinpool) reports 540-660 so huge fluctuation here. Feeling like mine needs an overvolt.


1% errors means that 1% of overall hash is in error - basically, miner reports 604 as what the chips are hashing, 595 as average, and hardware errors under nonce reports 1% errors.
Fluctuation is normal, over time miner is "600 MH/sec" but difficulty and shares are based on luck - in the long run I should be getting around 600 MH - 1% = 594 at pool.
This is further reduced by work from pool not being "instant" and the antminer software itself has discarded work.




Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: yrk1957 on May 07, 2018, 02:03:08 PM
Thank you Sir!

I set all to C0 and temps dropped 4 deg across the board. I am sure power would be down too.

Sent $5 for my 2 L3s.

Edit: For reference I am 425 freq / 550 MH/s for each.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 07, 2018, 02:11:04 PM
I will do a second one with clear shots to help.

I am working with Mac .

Set at freq 359 hash is 471mh stock voltage

I set to 0xf0



https://i.imgur.com/gyuAKYz.png


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: TheYankeesWin! on May 07, 2018, 03:20:10 PM
So phil  with new voltage   how much watts  did you drop from stock voltage?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 07, 2018, 03:22:28 PM
@ yankees

 this unit was at freq 359---- hash 472---- watts 800---- HW 0
this unit is now freq  359---- hash 472---- watts 701---- HW 0
this unit is now freq  359---- hash 467---- watts 6xx---- HW 0 lowest volts

so 100 watts saved or 2.4 kwatts a day  or 72 kwatts a month

I have 12 units  so 12 x 72 =  864 kwatts a month  at 10 cents a kwatt  that is 86 dollars a month  1032 dollars a year.

and  I am not a the rock bottom setting of 0xfe  !

I will see if I can get that to work on this unit.

just did it  works fine


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: rs1x on May 07, 2018, 03:36:22 PM
I will do a second one with clear shots to help.

I am working with Mac .

Set at freq 359 hash is 471mh stock voltage

I set to 0xf0



https://i.imgur.com/gyuAKYz.png

so your command looks like this:

Code:
./set_voltage 1 F0
   

the 0 = zero


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: gaalx01 on May 07, 2018, 04:06:08 PM
Can I apply this file to adjust the voltage on the D3?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: botarnold on May 07, 2018, 04:21:28 PM
Why doesn't the hashrate on my pool stats match with my miner?

My miner is reporting 604MH with 462 frequency. But the pool is reporting 570MH?


If overclocking to 462M without undervolting is already generating HW errors, does that mean I will have to OVERCLOCK my miner?

Very hard to answer.  Are you tossing thousands of errors hundreds of errors or dozens of errors.

In day 100 errors is no big deal

Mine indeed is tossing 1100 HW in 2 hours.

I'm now seeing a clearer picture of it. The % error is indicated at the HW row under the Nounce# column right?

The value for my first rig is 0.4% despite getting 7k HW errors in 14 hours.

The value for my second rig is 0.01% with just 200 HW errors.

What about the percentage of DiffA# column?


It's also very dependent on how the pool parcels out work, how much work is thrown away, difficulty settings etc

I'm getting 1% error rate, difficulty at 65k, pool reported rate average for the past 24h between 550 to 600; miner reports effective rate of 595 (due to errors ~1%) at 462M frequency

Did you undervolt or overvolt it? What does 1% error rate mean? My HW errors are numbers like 5k in 10 hours, still reporting 599MH average on stats panel. Pool panel (litecoinpool) reports 540-660 so huge fluctuation here. Feeling like mine needs an overvolt.


1% errors means that 1% of overall hash is in error - basically, miner reports 604 as what the chips are hashing, 595 as average, and hardware errors under nonce reports 1% errors.
Fluctuation is normal, over time miner is "600 MH/sec" but difficulty and shares are based on luck - in the long run I should be getting around 600 MH - 1% = 594 at pool.
This is further reduced by work from pool not being "instant" and the antminer software itself has discarded work.




% error is indicated under Nonce# column HW row right?

For the first machine, I get 7k hw errors in 15 hours, 0.4056%
Second machine 4k hw errors, 0.2532%
The third machine I got 158 hw errors, with the number just being 0.0101%

These percentages do seem like hw error % due to their relevance proportionally.
As long as I keep these numbers reasonable, I'm undervolting correctly?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 07, 2018, 04:50:51 PM
Why doesn't the hashrate on my pool stats match with my miner?

My miner is reporting 604MH with 462 frequency. But the pool is reporting 570MH?


If overclocking to 462M without undervolting is already generating HW errors, does that mean I will have to OVERCLOCK my miner?

Very hard to answer.  Are you tossing thousands of errors hundreds of errors or dozens of errors.

In day 100 errors is no big deal

Mine indeed is tossing 1100 HW in 2 hours.

I'm now seeing a clearer picture of it. The % error is indicated at the HW row under the Nounce# column right?

The value for my first rig is 0.4% despite getting 7k HW errors in 14 hours.

The value for my second rig is 0.01% with just 200 HW errors.

What about the percentage of DiffA# column?


It's also very dependent on how the pool parcels out work, how much work is thrown away, difficulty settings etc

I'm getting 1% error rate, difficulty at 65k, pool reported rate average for the past 24h between 550 to 600; miner reports effective rate of 595 (due to errors ~1%) at 462M frequency

Did you undervolt or overvolt it? What does 1% error rate mean? My HW errors are numbers like 5k in 10 hours, still reporting 599MH average on stats panel. Pool panel (litecoinpool) reports 540-660 so huge fluctuation here. Feeling like mine needs an overvolt.


1% errors means that 1% of overall hash is in error - basically, miner reports 604 as what the chips are hashing, 595 as average, and hardware errors under nonce reports 1% errors.
Fluctuation is normal, over time miner is "600 MH/sec" but difficulty and shares are based on luck - in the long run I should be getting around 600 MH - 1% = 594 at pool.
This is further reduced by work from pool not being "instant" and the antminer software itself has discarded work.




% error is indicated under Nonce# column HW row right?

For the first machine, I get 7k hw errors in 15 hours, 0.4056%
Second machine 4k hw errors, 0.2532%
The third machine I got 158 hw errors, with the number just being 0.0101%

These percentages do seem like hw error % due to their relevance proportionally.
As long as I keep these numbers reasonable, I'm undervolting correctly?


Yes  I shoot for under

0.0500%


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: gaalx01 on May 07, 2018, 05:08:08 PM
D3 is not supported.
https://i.gyazo.com/b564e88c0e3603530d7fd4ef9d7732e8.png


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 07, 2018, 05:11:59 PM
Can I apply this file to adjust the voltage on the D3?

this is his file
I looked at it  and I am not sure I see if it can or can't work


Code:
//
//  set_voltage_new.c
// 
//
//  Created by jstefanop on x/xx/18.
//

#include <stdint.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <linux/i2c-dev.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <pthread.h>

#define PIC_COMMAND_1                       0x55
#define PIC_COMMAND_2                       0xaa
#define GET_VOLTAGE                         0x18
#define SET_VOLTAGE                         0x10
#define JUMP_FROM_LOADER_TO_APP             0x06
#define RESET_PIC                           0x07
#define READ_PIC_SOFTWARE_VERSION           0x17
static unsigned char Pic_command_1[1] = {PIC_COMMAND_1};
static unsigned char Pic_command_2[1] = {PIC_COMMAND_2};
static unsigned char Pic_set_voltage[1] = {SET_VOLTAGE};
static unsigned char Pic_get_voltage[1] = {GET_VOLTAGE};
static unsigned char Pic_read_pic_software_version[1] = {READ_PIC_SOFTWARE_VERSION};
static unsigned char Pic_jump_from_loader_to_app[1] = {JUMP_FROM_LOADER_TO_APP};
static unsigned char Pic_reset[1] = {RESET_PIC};
pthread_mutex_t iic_mutex = PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_t i2c_mutex = PTHREAD_MUTEX_INITIALIZER;



void pic_send_command(int fd)
{
    //printf("--- %s\n", __FUNCTION__);
    pthread_mutex_lock(&i2c_mutex);
    write(fd, Pic_command_1, 1);
    write(fd, Pic_command_2, 1);
    pthread_mutex_unlock(&i2c_mutex);
}

void pic_read_pic_software_version(unsigned char *version, int fd)
{
    pic_send_command(fd);
   
    //printf("\n--- %s\n", __FUNCTION__);
    pthread_mutex_lock(&i2c_mutex);
    write(fd, Pic_read_pic_software_version, 1);
    read(fd, version, 1);
    pthread_mutex_unlock(&i2c_mutex);
}

void pic_read_voltage(unsigned char *voltage, int fd)
{
   
    pic_send_command(fd);
   
    //printf("\n--- %s\n", __FUNCTION__);
   
    pthread_mutex_lock(&i2c_mutex);
    write(fd, Pic_get_voltage, 1);
    read(fd, voltage, 1);
    pthread_mutex_unlock(&i2c_mutex);
   
    usleep(500000);
}

void pic_set_voltage(unsigned char *voltage, int fd)
{
   
    pic_send_command(fd);
   
    //printf("\n--- %s\n", __FUNCTION__);
   
    pthread_mutex_lock(&i2c_mutex);
    write(fd, Pic_set_voltage, 1);
    write(fd, voltage, 1);
    pthread_mutex_unlock(&i2c_mutex);
   
    usleep(500000);
}



void pic_jump_from_loader_to_app(int fd)
{
    pic_send_command(fd);
   
    //printf("\n--- %s\n", __FUNCTION__);
    pthread_mutex_lock(&i2c_mutex);
    write(fd, Pic_jump_from_loader_to_app, 1);
    pthread_mutex_unlock(&i2c_mutex);
    usleep(500000);
}

void pic_reset(int fd)
{
    pic_send_command(fd);
   
    printf("\n--- %s\n", __FUNCTION__);
    pthread_mutex_lock(&i2c_mutex);
    write(fd, Pic_reset, 1);
    pthread_mutex_unlock(&i2c_mutex);
    usleep(600*1000);
}


void main (int argc, char *argv[]){
   
    if (argc != 3) {
        printf("Incorrect arguments\n");
        printf("Usage:\n");
        printf("./set_voltage [chain# 1-4] [voltage in hex]\n");
        exit(1);
    }
   
    int chain = atoi(argv[1]);
    unsigned char set_voltage = strtol(argv[2], NULL, 16);
   
    if(chain > 4 || chain == 0){
        printf("Invalid chain #, valid range 1-4\n");
        exit(1);
    }
    if(strtol(argv[2], NULL, 16) > 0xfe){
        printf("Invalid hex voltage, valid range 0x00-0xfe\n");
        exit(1);
    }
   
    int fd;
    char filename[40];
    unsigned char version = 0;
    unsigned char voltage = 0;
    int const i2c_slave_addr[4] = {0xa0,0xa2,0xa4,0xa6};
   
    chain--;
   
    sprintf(filename,"/dev/i2c-0");
   
    if ((fd = open(filename,O_RDWR)) < 0) {
        printf("Failed to open the bus\n");
        exit(1);
    }
   
    pthread_mutex_lock(&iic_mutex);
    if (ioctl(fd,I2C_SLAVE,i2c_slave_addr[chain] >> 1 )) {
        printf("Failed to acquire bus access and/or talk to slave.\n");
        exit(1);
    }
   // pic_reset(fd);
   // pic_jump_from_loader_to_app(fd);
    pic_read_pic_software_version(&version, fd);
    printf("\n version = 0x%02x\n", version);
   
    if(version != 0x03){
        printf("Wrong PIC version\n");
        exit(1);
    }
   
    printf("reading voltage\n");
    pic_read_voltage(&voltage, fd);
   
    printf("\n voltage = 0x%02x\n", voltage);
   
    printf("setting voltage\n");
    pic_set_voltage(&set_voltage, fd);
   
    printf("reading voltage\n");
    pic_read_voltage(&voltage, fd);
    printf("\n voltage = 0x%02x\n", voltage);
   
   // pic_reset(fd);
    pthread_mutex_unlock(&iic_mutex);
   
    if(voltage != set_voltage)
        printf("ERROR: Voltage was not successfully set\n");
    else
        printf("Success: Voltage updated!\n");
   
}




Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: racebyu on May 07, 2018, 05:48:53 PM
Why doesn't the hashrate on my pool stats match with my miner?

My miner is reporting 604MH with 462 frequency. But the pool is reporting 570MH?


If overclocking to 462M without undervolting is already generating HW errors, does that mean I will have to OVERVOLT my miner?


I would think your hash rate of the unit is not the same as the pool due to the hardware errors,
only accepted good shares, stale, orphaned, duplicate would be used to calculate your hash rate
over a period of time.

I have my unit running at 555Mhs @ freq 425 stock volatage and want to see how much I can turn
it down and get the least power draw. Anyone dial back yet on a overclocked unit?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: rs1x on May 07, 2018, 06:08:27 PM
I will do a second one with clear shots to help.

I am working with Mac .

Set at freq 359 hash is 471mh stock voltage

I set to 0xf0





so your command looks like this:

Code:
./set_voltage 1 F0
   

the 0 = zero

This was a dumb question.  Sorry.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 07, 2018, 06:15:45 PM

Yea ill add D3 support when I have time


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: botarnold on May 07, 2018, 06:39:53 PM

Love to have A3 support too. With new miners incoming from other competition.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: gauldicus on May 07, 2018, 09:14:41 PM
Would love a version of this in graphical form. Im a noob with this command line stuff. Incidentally I have a no devfee D3 bios where you can reduce noise and watts if anyone wants it.



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: nazzer on May 07, 2018, 10:13:21 PM
I would think your hash rate of the unit is not the same as the pool due to the hardware errors,
only accepted good shares, stale, orphaned, duplicate would be used to calculate your hash rate
over a period of time.

I have my unit running at 555Mhs @ freq 425 stock volatage and want to see how much I can turn
it down and get the least power draw. Anyone dial back yet on a overclocked unit?

I'm running at 462, underclocked at 0xd0 getting 595MH (due to HW errors) at 870W, compared to stock freq/voltage I get 830W


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: botarnold on May 07, 2018, 11:18:05 PM
I would think your hash rate of the unit is not the same as the pool due to the hardware errors,
only accepted good shares, stale, orphaned, duplicate would be used to calculate your hash rate
over a period of time.

I have my unit running at 555Mhs @ freq 425 stock volatage and want to see how much I can turn
it down and get the least power draw. Anyone dial back yet on a overclocked unit?

I'm running at 462, underclocked at 0xd0 getting 595MH (due to HW errors) at 870W, compared to stock freq/voltage I get 830W

I have 4 running at 462M now with HW errors <0.08%.

In conclusion, a few things were done to try and keep HW errors < 0.08%

Individual boards with high HW @ 462 gets an overvolt at 0x78 or 70.

Boards with average HW gets a 1-2 step undervolt 0x88, 0x90

Good boards gets more undervolting. I have one that throws 1HW in 10 mins at 0xb0


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: nazzer on May 07, 2018, 11:34:13 PM
...

I'm running at 462, underclocked at 0xd0 getting 595MH (due to HW errors) at 870W, compared to stock freq/voltage I get 830W

I have 4 running at 462M now with HW errors <0.08%.

In conclusion, a few things were done to try and keep HW errors < 0.08%

Individual boards with high HW @ 462 gets an overvolt at 0x78 or 70.

Boards with average HW gets a 1-2 step undervolt 0x88, 0x90

Good boards gets more undervolting. I have one that throws 1HW in 10 mins at 0xb0

My goal right now is to increase revenue and improve profitability - Hash at 595 gives roughly 15-20% increased revenue with an efficiency gain to 0.68MH/W over 0.60MH/W hence improving profitability.




Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: botarnold on May 07, 2018, 11:57:42 PM
...

I'm running at 462, underclocked at 0xd0 getting 595MH (due to HW errors) at 870W, compared to stock freq/voltage I get 830W

I have 4 running at 462M now with HW errors <0.08%.

In conclusion, a few things were done to try and keep HW errors < 0.08%

Individual boards with high HW @ 462 gets an overvolt at 0x78 or 70.

Boards with average HW gets a 1-2 step undervolt 0x88, 0x90

Good boards gets more undervolting. I have one that throws 1HW in 10 mins at 0xb0

My goal right now is to increase revenue and improve profitability - Hash at 595 gives roughly 15-20% increased revenue with an efficiency gain to 0.68MH/W over 0.60MH/W hence improving profitability.




How far have you tried OCing your miner?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: nazzer on May 07, 2018, 11:59:47 PM
How far have you tried OCing your miner?

Right now 462 (20%)

Given HW error rate is at 1.3% right now undervolting at 0xd0 I'll stop here first

It's been quite stable over the past 24 hours


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: farmerjake on May 08, 2018, 12:20:22 AM
Has anyone tested what each incremental decrease in voltage translates to? I underclocked all my L3+ to 0xf0 today and across 9 units seemed to have saved about 3-4a at 208v. Curious if anyone has tested what this correlates to on an individual unit.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: KougarLOB on May 08, 2018, 03:16:08 AM
Would love a version of this in graphical form. Im a noob with this command line stuff. Incidentally I have a no devfee D3 bios where you can reduce noise and watts if anyone wants it.

Agreed.  I liked Blissz's version better.  Yes, it has a fee and I understand the controversy there but it's as easy to use as the stock browser interface.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 08, 2018, 03:27:34 AM
Would love a version of this in graphical form. Im a noob with this command line stuff. Incidentally I have a no devfee D3 bios where you can reduce noise and watts if anyone wants it.

Agreed.  I liked Blissz's version better.  Yes, it has a fee and I understand the controversy there but it's as easy to use as the stock browser interface.

Many say that blissz is committing a crime or a civil tort.  So if you use his software you could be involved in a punitive lawsuit.

While you may like it why not pay some coin to this person to get a legal GUI


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Searing on May 08, 2018, 03:49:35 AM
Would love a version of this in graphical form. Im a noob with this command line stuff. Incidentally I have a no devfee D3 bios where you can reduce noise and watts if anyone wants it.

Agreed.  I liked Blissz's version better.  Yes, it has a fee and I understand the controversy there but it's as easy to use as the stock browser interface.

Many say that blissz is committing a crime or a civil tort.  So if you use his software you could be involved in a punitive lawsuit.

While you may like it why not pay some coin to this person to get a legal GUI


NOT sure if this applies and is completely OPEN SOURCE and NO $$$ are involved...just saying... I believe 2 parties can modify whatever the hell they want...if they
don't use the Bitmain software (make their own that does something similar from scratch) and want to void the warranty (in our case most L3+'s are past the 6 month date...
and again the NO profit aspect of this mod...

anyway, better minds then me know...but how I've always seen it done....or heard about such things..



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: KougarLOB on May 08, 2018, 05:22:56 AM
Would love a version of this in graphical form. Im a noob with this command line stuff. Incidentally I have a no devfee D3 bios where you can reduce noise and watts if anyone wants it.

Agreed.  I liked Blissz's version better.  Yes, it has a fee and I understand the controversy there but it's as easy to use as the stock browser interface.

Many say that blissz is committing a crime or a civil tort.  So if you use his software you could be involved in a punitive lawsuit.

While you may like it why not pay some coin to this person to get a legal GUI


NOT sure if this applies and is completely OPEN SOURCE and NO $$$ are involved...just saying... I believe 2 parties can modify whatever the hell they want...if they
don't use the Bitmain software (make their own that does something similar from scratch) and want to void the warranty (in our case most L3+'s are past the 6 month date...
and again the NO profit aspect of this mod...

anyway, better minds then me know...but how I've always seen it done....or heard about such things..

I would gladly pay (donate to) jstefanop after a GUI is developed.
I find Linux coding annoying and would love a low/no-fee, community approved, user friendly alternative to BlissZ or stock.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Sandal_Hat on May 08, 2018, 12:30:45 PM
This is great news. I go test it out too. Hope there can be one for the S9.

Edit
Will make a donation after some testing. Thanks


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: toptek on May 08, 2018, 12:45:59 PM
Would love a version of this in graphical form. Im a noob with this command line stuff. Incidentally I have a no devfee D3 bios where you can reduce noise and watts if anyone wants it.

Agreed.  I liked Blissz's version better.  Yes, it has a fee and I understand the controversy there but it's as easy to use as the stock browser interface.

Many say that blissz is committing a crime or a civil tort.  So if you use his software you could be involved in a punitive lawsuit.

While you may like it why not pay some coin to this person to get a legal GUI


NOT sure if this applies and is completely OPEN SOURCE and NO $$$ are involved...just saying... I believe 2 parties can modify whatever the hell they want...if they
don't use the Bitmain software (make their own that does something similar from scratch) and want to void the warranty (in our case most L3+'s are past the 6 month date...
and again the NO profit aspect of this mod...

anyway, better minds then me know...but how I've always seen it done....or heard about such things..

I would gladly pay (donate to) jstefanop after a GUI is developed.
I find Linux coding annoying and would love a low/no-fee, community approved, user friendly alternative to BlissZ or stock.


Then Donate now and jstefanop will, he did with the Alchemist miner and charged a one time fee .. it was reason able and this should be even lower because all he has to do is write the code . i wonder what he can get out of these miners this far down the road hash wise .

IN fact i donated the other day when i saw jstefanopis writing something for the L3's i know hell do it right . ......

Ive got my two L3 running now without using BlissZ clocked at 450 with the voltage set at


450
./set_voltage 1 c0
./set_voltage 2 d0
./set_voltage 3 d0
./set_voltage 4 b0

got it to about 1 hw error a hour doing that .


 I don't like using BlissZ firmware because of the fee it's annoying knowing some one is sucking off me when I would pay BlissZ a one time fee per miner for a no fee version but his greed won't let him some have all ready asked BlissZ an he ignored them .

an before anyone tiries  "the don't use it" EXCUSE,  i don't use BlissZ firmware ,I"M running stock firmware , i tried BlissZ firmware to see what all the benefit is which is not much other then you have more control over you miners .. so i stopped using it and hoped some one else would come up with some thing .


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 08, 2018, 01:51:36 PM
...





Then Donate now and jstefanop will, he did with the Alchemist miner and charged a one time fee .. it was reason able and this should be even lower because all he has to do is write the code . i wonder what he can get out of these miners this far down the road hash wise .

IN fact i donated the other day when i saw jstefanopis writing something for the L3's i know hell do it right . ......

...

I just donated 0.003 btc to his address

https://blockchain.info/address/14w9Lea6kdVzspJk8TQRe7qSYu9LhzJJsh

https://blockchain.info/tx/9401c0ee31116b421b1e6204bbadba2f576e39ad72f0d10a9f1eade9efdffb3c

I also purchased 8 of his usb sticks last winter.



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 08, 2018, 04:26:44 PM
...





Then Donate now and jstefanop will, he did with the Alchemist miner and charged a one time fee .. it was reason able and this should be even lower because all he has to do is write the code . i wonder what he can get out of these miners this far down the road hash wise .

IN fact i donated the other day when i saw jstefanopis writing something for the L3's i know hell do it right . ......

...

I just donated 0.003 btc to his address

https://blockchain.info/address/14w9Lea6kdVzspJk8TQRe7qSYu9LhzJJsh

https://blockchain.info/tx/9401c0ee31116b421b1e6204bbadba2f576e39ad72f0d10a9f1eade9efdffb3c

I also purchased 8 of his usb sticks last winter.



Thanks to the very few of you that have donated. Id spend some time to write a GUI version, except I would need to create a custom firmware version from scratch, since there is no way to edit the web GUI without updating the whole bitmain firmware. Figured this way would be easier and not require you to update the firmware at all.

 I know the command line seems scary to some but this is super easy to do, and there is very little risk of screwing up your antminer, even if you accidentally delete the whole root directory :p Bitmain's firmware is pretty good in that regard since they unpack the whole kernel and stock filesystem on each reboot.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 08, 2018, 04:59:59 PM
...





Then Donate now and jstefanop will, he did with the Alchemist miner and charged a one time fee .. it was reason able and this should be even lower because all he has to do is write the code . i wonder what he can get out of these miners this far down the road hash wise .

IN fact i donated the other day when i saw jstefanopis writing something for the L3's i know hell do it right . ......

...

I just donated 0.003 btc to his address

https://blockchain.info/address/14w9Lea6kdVzspJk8TQRe7qSYu9LhzJJsh

https://blockchain.info/tx/9401c0ee31116b421b1e6204bbadba2f576e39ad72f0d10a9f1eade9efdffb3c

I also purchased 8 of his usb sticks last winter.



Thanks to the very few of you that have donated. Id spend some time to write a GUI version, except I would need to create a custom firmware version from scratch, since there is no way to edit the web GUI without updating the whole bitmain firmware. Figured this way would be easier and not require you to update the firmware at all.

 I know the command line seems scary to some but this is super easy to do, and there is very little risk of screwing up your antminer, even if you accidentally delete the whole root directory :p Bitmain's firmware is pretty good in that regard since they unpack the whole kernel and stock filesystem on each reboot.


It was easy on terminal via mac  I just was fooled about password because I have not done it since 2014 with s-1's.

first down load  your file


https://github.com/jstefanop/bitmain-tools/releases/download/v.1/set_voltage.zip

then open terminal on a mac  when is asks for password type in admin



Last login: Mon May  7 11:10:06 on ttys002
macs-Mac-mini-4:~ macmini$ scp /Users/macmini/Downloads/set_voltage root@192.168.0.165:/config
The authenticity of host '192.168.0.165 (192.168.0.165)' can't be established.
RSA key fingerprint is 12:41:2a:98:5e:19:4f:dc:5e:16:f8:b0:e6:07:46:9a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.165' (RSA) to the list of known hosts.
root@192.168.0.165's password:    admin
set_voltage                                                                                                                                                                                                                               100% 9204     9.0KB/s   00:00    
macs-Mac-mini-4:~ macmini$ ssh root@192.168.0.165
root@192.168.0.165's password:  admin
root@L3antMinerNine9:~# cd /config
root@L3antMinerNine9:/config# ./set_voltage 1 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@L3antMinerNine9:/config# ./set_voltage 2 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@L3antMinerNine9:/config# ./set_voltage 3 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@L3antMinerNine9:/config# ./set_voltage 4 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@L3antMinerNine9:/config# Write failed: Broken pipe
macs-Mac-mini-4:~ macmini$
macs-Mac-mini-4:~ macmini$
macs-Mac-mini-4:~ macmini$
macs-Mac-mini-4:~ macmini$
macs-Mac-mini-4:~ macmini$
macs-Mac-mini-4:~ macmini$


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: toptek on May 08, 2018, 06:04:46 PM
on a windows PC use Winscp https://winscp.net/eng/download.php and use SSH https://www.ssh.com/ssh/ you need both unless your willing to try the New SSH  in window 10 April update .

GUI version will be nice but if  it works just as good using CMD why not . an there is all most no chance of breaking a controller like a full firmware up date might do . some one also told me you can use this to edit the firmware i couldn't figure how to

Antminer Toolkit - Miner Controller

https://shop.bitmain.com/support.htm?pid=00720170302102826819kGXDSLgM069C


I know it probable the same thing jstefanop is using .


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: hinvestmentgroup on May 08, 2018, 10:37:39 PM

Just thought I'd let people know, I ran the tool on my L3++ and the default voltage appears to be 0x60 instead of 0x80 like on the L3+.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: racebyu on May 09, 2018, 01:37:21 AM
on a windows PC use Winscp https://winscp.net/eng/download.php and use SSH https://www.ssh.com/ssh/ you need both unless your willing to try the New SSH  in window 10 April update .

GUI version will be nice but if  it works just as good using CMD why not . an there is all most no chance of breaking a controller like a full firmware up date might do . some one also told me you can use this to edit the firmware i couldn't figure how to

Antminer Toolkit - Miner Controller

https://shop.bitmain.com/support.htm?pid=00720170302102826819kGXDSLgM069C


I know it probable the same thing jstefanop is using .

Ok, so I can SSH into the miner no problem and see root dir and go into the config directory but had a issue sending the file over using WinSCP.
Do I use the command line option in WinSCP to copy the file over?
The voltage file is in my download directory so used:  scp c:/users/home computer/downloads/set_voltage root@192.168.1.140:/config
I got an error so something in line might be wrong?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: hinvestmentgroup on May 09, 2018, 01:40:07 AM
on a windows PC use Winscp https://winscp.net/eng/download.php and use SSH https://www.ssh.com/ssh/ you need both unless your willing to try the New SSH  in window 10 April update .

GUI version will be nice but if  it works just as good using CMD why not . an there is all most no chance of breaking a controller like a full firmware up date might do . some one also told me you can use this to edit the firmware i couldn't figure how to

Antminer Toolkit - Miner Controller

https://shop.bitmain.com/support.htm?pid=00720170302102826819kGXDSLgM069C


I know it probable the same thing jstefanop is using .

Ok, so can SSH into the miner no problem and see root dir but had a issue sending the file over using WinSCP.
Do I use the command line option in WinSCP to copy the file over?
The voltage file is in my download directory so used:  scp c:/users/home computer/downloads/set_voltage root@192.168.1.140:/config
I got an error so something in line might be wrong?


I am also on windows.  I used Putty SCP and had trouble at first as well.  I resolved my issues by forcing scp (vs sftp) using the -scp flag.  By default it was trying to use sftp and would give me an error.  Maybe something similar on WinScp?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: toptek on May 09, 2018, 01:54:06 AM
The way i do it with Winscp, I use the gui part sense I download any per compiled files to my windows box and open the miner in a Winscp GUI window then go to what ever folder on the right side i need in the GUI and only use SSH when needed for CMD commands and also make sure if you use the GUI for Winscp right click the file, to give it full access after it's on the miner so you can use the file .  you can either drag it from windows or send it over from left to right in the GUI an can set it up to give full access as it's dragged from the windows box .

only time i really use SSH is with some command lines or compiling, some stuff you have to compile in Linux or it won't work by dragging it over . or doing updates that can only be done using SSH.

I do it something like this once I'm logged into SSH for the miner

use SCP for the file protocol set it to port 22, host is the antminers ip . user is root pw is admin if you right click the login on the left side it gives you the option to use SSH .. in the GUI it looks like two computers just above the new session button on the left middle section for SSH using the Winscp gui ..

cd /config

./set_voltage 1 c0
./set_voltage 2 d0
./set_voltage 3 d0
./set_voltage 4 b0


I would make a video how to but I suck at making videos.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: toptek on May 09, 2018, 02:22:35 AM

Just thought I'd let people know, I ran the tool on my L3++ and the default voltage appears to be 0x60 instead of 0x80 like on the L3+.

so the L3 ++ uses less power at the same hash rate as the L3+ ? . i might buy one more in about two weeks i have a 200 $ coupon some one gave me . sense I looked at the L3 ++ it says you can only use a 220 coupon or lower and mine expires on June 1 st.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: racebyu on May 09, 2018, 02:26:56 AM
Hey I got it, thanks guys, running 555Mhs at freq 425 and pulling 810 watts at socket measured with
my watt-o-meter since voltage mod. The original power draw at stock voltage was 895 watts.

I used the WinSCP and the two panel interface, connected with user - root and password - admin
then found the "set voltage" file in the left panel (computer) then dragged it to the right panel (miner)
into the Config directory. If you only see Root in the right panel then make sure to go to top pull down
box above  "Downloads" and click to get /<root> and the Config directory should be in the right panels
list of directories.

I used Bitwise SSH to connect again with user - root and password - admin and the changed from the
main directory to the Config directory with cd /config. Then typed chmod a+x set voltage and then
adjusted for each board to C0 with command ./set_voltage 1 C0
All my boards came with the voltage set to 0X80.

Right now looks like 10% increase in Mhs and 10% decrease in power draw at these voltage settings.

Do you restart your miner after the mods? and also I only see a few HW errors 2-4 in the last 30 plus
minutes (one board has none), so does them mean voltage can be reduced a bit more to D0?



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: racebyu on May 09, 2018, 02:41:49 AM

Just thought I'd let people know, I ran the tool on my L3++ and the default voltage appears to be 0x60 instead of 0x80 like on the L3+.

so the L3 ++ uses less power at the same hash rate as the L3+ ? . i might buy one more in about two weeks i have a 200 $ coupon some one gave me . sense I looked at the L3 ++ it says you can only use a 220 coupon or lower and mine expires on June 1 st.


What is the actual hash rate on the L3++ the website said 580Mhs but no mention of power draw?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: toptek on May 09, 2018, 02:57:51 AM
Hey I got it, thanks guys, running 555Mhs at freq 425 and pulling 810 watts at socket measured with
my watt-o-meter since voltage mod. The original power draw at stock voltage was 895 watts.

I used the WinSCP and the two panel interface, connected with user - root and password - admin
then found the "set voltage" file in the left panel (computer) then dragged it to the right panel (miner)
into the Config directory. If you only see Root in the right panel then make sure to go to top pull down
box above  "Downloads" and click to get /<root> and the Config directory should be in the right panels
list of directories.

I used Bitwise SSH to connect again with user - root and password - admin and the changed from the
main directory to the Config directory with cd /config. Then typed chmod a+x set voltage and then
adjusted for each board to C0 with command ./set_voltage 1 C0
All my boards came with the voltage set to 0X80.

Right now looks like 10% increase in Mhs and 10% decrease in power draw at these voltage settings.

Do you restart your miner after the mods? and also I only see a few HW errors 2-4 in the last 30 plus
minutes (one board has none), so does them mean voltage can be reduced a bit more to D0?



I would either restart it or turn it off for a few seconds then back on to make sure it is taking effect in a good way :) ....

so does them mean voltage can be reduced a bit more

 yes how much more can't say because i don't really understand hex to well Ive been looking for a table to go by so i can do some more tweaking to see how far i can push it .

you can 2 volt each board and raise the freg till really bad hardware errors start then take it down till they stop .

but I don't know what 2 volts is = to in Hex or i would try it .


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: NoIdeaAsWell on May 09, 2018, 03:24:58 AM
I would LOVE something for the A3 please

that thing is just sitting there doing f all due to the noise it makes.  Even in the garage.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: racebyu on May 09, 2018, 04:09:47 AM
After about 1 hour of run time at 555Mhs @ freq 425 I have 2-3 errors on boards 1 & 2, board 3 has zero and
board 4 has 12 HW errors so 1 every 5 minutes.
I will try to decrease the voltage on the 1-3 boards, was set to CO but will try DO and if it has to many can
back off to C8 (think half way between the two settings). So hex values A0, B0, C0 etc and half way finer
settings between those are A8, B8, C8 etc, we have 254 steps for voltage 127 plus and 127 neg of midpoint?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: fabry1999 on May 09, 2018, 07:08:47 AM
I would LOVE something for the A3 please

that thing is just sitting there doing f all due to the noise it makes.  Even in the garage.

I would like to have this mod on A3 too !


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: tuljan on May 09, 2018, 10:05:36 AM
Are there any new custom roms for antminers?
I heard L3+ has one but there was a problem with cgminer it uses, i think.
Any info you can share?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: hinvestmentgroup on May 09, 2018, 10:09:01 AM

Just thought I'd let people know, I ran the tool on my L3++ and the default voltage appears to be 0x60 instead of 0x80 like on the L3+.

so the L3 ++ uses less power at the same hash rate as the L3+ ? . i might buy one more in about two weeks i have a 200 $ coupon some one gave me . sense I looked at the L3 ++ it says you can only use a 220 coupon or lower and mine expires on June 1 st.

My understanding is that 0x60 is actually a higher voltage than 0x80.  It comes with the frequency set at 450 and hashes around 580-585.  I undervolted all but 1 board that I get hardware errors on to 0x90.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Sandal_Hat on May 09, 2018, 11:50:38 AM
I would LOVE something for the A3 please

that thing is just sitting there doing f all due to the noise it makes.  Even in the garage.

I would like to have this mod on A3 too !

I think it would be better if it works on the S9 lol. I dont think a GUI is needed. Miners should not be so lazy. Juz troubleshoot.

I am a small miner. I donated some https://live.blockcypher.com/ltc/tx/347048d8e30195b941b5f52616c64745481b7c9d6e81b9e0ac3c7f5d8d498e45/

Thanks :)


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Tigggger on May 09, 2018, 12:49:10 PM
Thanks to the very few of you that have donated. Id spend some time to write a GUI version, except I would need to create a custom firmware version from scratch, since there is no way to edit the web GUI without updating the whole bitmain firmware. Figured this way would be easier and not require you to update the firmware at all.

Thanks for making this available for free with instructions that even an idiot like me when it comes to the command line could follow.

Sent $10 your way
https://chainz.cryptoid.info/ltc/tx.dws?358c91779aa9ce6957bdba79b38f394ba17e2f0d334a1e3d1a8e0b0f60a8b2a5.htm

Some auto function would still be nice that lowers voltage, checks errors after a certain time and then either carries on lowering the voltage or stops and puts it back up one. GenTarkin did something very similar with the KNC Titan


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 09, 2018, 01:15:32 PM
I realized I gave 0.002 btc not 0.003 btc


LTC: LQZpb8AqbggUmsdPKr28DzdNcRP7MJ8kEf

BTC: 1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf


LTC:LX5vpxrQE4eLRLPobKwZhw2comkKFCh3p4




BTC:14w9Lea6kdVzspJk8TQRe7qSYu9LhzJJsh      I sent to here


@ jstefanop  are all above addresses good?

I just sent 0.0022 from profile wallet

https://blockchain.info/tx/5680de333a1efaac0e660aab6030ceb5bcf141614d8bf65cd12a0769840e7bde



and I did send  0.002 from coinbase


https://blockchain.info/tx/9401c0ee31116b421b1e6204bbadba2f576e39ad72f0d10a9f1eade9efdffb3c


So 0.0042 btc total

 will be saving 12 x 100 = 1200 watts   that is over 850 k-watts a month. that is 85 dollars at 10 cents

I will send to you again in June.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 09, 2018, 06:21:04 PM

Just thought I'd let people know, I ran the tool on my L3++ and the default voltage appears to be 0x60 instead of 0x80 like on the L3+.

so the L3 ++ uses less power at the same hash rate as the L3+ ? . i might buy one more in about two weeks i have a 200 $ coupon some one gave me . sense I looked at the L3 ++ it says you can only use a 220 coupon or lower and mine expires on June 1 st.

My understanding is that 0x60 is actually a higher voltage than 0x80.  It comes with the frequency set at 450 and hashes around 580-585.  I undervolted all but 1 board that I get hardware errors on to 0x90.


L3++ is just an L3+ that uses more power and is less efficient. The 0x60 voltage setting for L3++ is a higher voltage, needed because of the higher stock frequency they ship with. Like most people with this tool have found out though most of these boards can handle higher clocks AND be undervolted. Obviously bitmain is just playing it super safe since I'm sure they get lots of newbs freaking out when they see 1 HW error  ;D


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 09, 2018, 06:31:05 PM
After about 1 hour of run time at 555Mhs @ freq 425 I have 2-3 errors on boards 1 & 2, board 3 has zero and
board 4 has 12 HW errors so 1 every 5 minutes.
I will try to decrease the voltage on the 1-3 boards, was set to CO but will try DO and if it has to many can
back off to C8 (think half way between the two settings). So hex values A0, B0, C0 etc and half way finer
settings between those are A8, B8, C8 etc, we have 254 steps for voltage 127 plus and 127 neg of midpoint?

Thats correct, 0x08 gives a resolution of +/- 16 steps that should be sufficient for most tuning. If you really want to go up one step at a time for people that don't know hex...if your starting at 0x90 you would go 0x91, 92....99, 9A, 9B....9F, A0, A1 etc... but that is quite over kill since a single step changes the 12v input voltage by about 10mv, which translates to less than 1mv at the chip level (chip core voltage is input voltage/12).


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: supersonic on May 09, 2018, 07:18:02 PM
@jstefanop awesome that You released this, im hoping this will go further, thanx. 0.01BTC coming Your way.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: taserz on May 09, 2018, 08:12:57 PM
I am curious if my hosting provider would be okay with doing this for me so I can save a little on power.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: taserz on May 09, 2018, 08:44:06 PM

Enjoy! Keep in mind that the "other" solution has take a good few bucks or so a month of profit per L3 miner, so while I like helping out the community when I can especially in cases like this, please consider donating a few dollars per L3 if you end up using this tool, especially if you guys want me to work on similar tools or release more free stuff (like the auto voltage tuner I'm working on)  :P

LTC: LQZpb8AqbggUmsdPKr28DzdNcRP7MJ8kEf
BTC: 1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf

DISCLAMER: While the tool has basic error checking its not idiot proof, so be careful especially when overvolting. IM NOT RESPONSIBLE IF YOU FRY YOUR BOARD.

Wow, I missed the Auto voltage tuner in your first post, that would be the cats ass!!
Would you make it start at a baseline voltage then count the HW errors over time and adjust each board voltage up/down to get the error count around 1 per minute? I guess this would take a bit of time for testing and auto adjustments then write and store the final file. I would definitely give a LTC donation for this feature.

That is literally how bitmains auto tune is it restarts a bunch of times


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Sandal_Hat on May 10, 2018, 10:07:39 AM
After about 1 hour of run time at 555Mhs @ freq 425 I have 2-3 errors on boards 1 & 2, board 3 has zero and
board 4 has 12 HW errors so 1 every 5 minutes.
I will try to decrease the voltage on the 1-3 boards, was set to CO but will try DO and if it has to many can
back off to C8 (think half way between the two settings). So hex values A0, B0, C0 etc and half way finer
settings between those are A8, B8, C8 etc, we have 254 steps for voltage 127 plus and 127 neg of midpoint?

Thats correct, 0x08 gives a resolution of +/- 16 steps that should be sufficient for most tuning. If you really want to go up one step at a time for people that don't know hex...if your starting at 0x90 you would go 0x91, 92....99, 9A, 9B....9F, A0, A1 etc... but that is quite over kill since a single step changes the 12v input voltage by about 10mv, which translates to less than 1mv at the chip level (chip core voltage is input voltage/12).

Can u do it with the S9 pls. I reckon that will be more useful since btc is bigger and S9 uses more power. I tried but it says cannot find chain 6-8. This only works for chain 1-4?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: psycodad on May 10, 2018, 12:01:46 PM
As I am brewing up my own autotuner, I needed stefanops binary to be able to just report voltages without prior setting.
My changes and a slightly improved binary (segfault fixed and a few output improvements) can be found here:

https://github.com/psycodad-bct/bitmain-tools/releases/tag/v1.01

Again thanks for jstefanop for releasing his code. Hope this is useful for some of you.

Usage is the same as the original, except you can omit the voltage or voltage and chain and just get the current settings reported back then:

Code:
root@antMiner:/config# ./sv 2
Reading voltage chain 2:
chain 2: voltage = 0xa4

root@antMiner:/config# ./sv
Reading all voltages
chain 1: voltage = 0xe5
chain 2: voltage = 0xa4
chain 3: voltage = 0xa5
chain 4: voltage = 0xc0

Disclaimer: While I have done everything to avoid problems and tested it extensively I know barely what I am doing here.
So use completely at your own risk!


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: urgcm on May 10, 2018, 01:41:59 PM
So, the default voltage parameter is 0x80. What real voltage is applied to the board with this setting?

What voltage will be applied to the board if i'll set up 0x70?  0x60? 0x50?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: sololoop on May 10, 2018, 03:22:51 PM
Thx jstefanop.
Testing my ten L3+ with lowest voltage (0xfe). Currently running 400 frequency.

Can this set frequency for each board individually?
for example :
board 1,2,3 running very smooth on 450 frequency & voltage 0xc0 with less HW
board 4  cant go over 400 no mater how high is voltage (0x30) , too much HW (error every sec)



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 10, 2018, 03:48:25 PM
Thx jstefanop.
Testing my ten L3+ with lowest voltage (0xfe). Currently running 400 frequency.

Can this set frequency for each board individually?
for example :
board 1,2,3 running very smooth on 450 frequency & voltage 0xc0 with less HW
board 4  cant go over 400 no mater how high is voltage (0x30) , too much HW (error every sec)



I will chime in it can give multiple voltage for each board.

Not mutilple freq.

So this means you can choose  freq 400 knowing the three boards are under tasked or choose say 425 and tossing lots of errors on the poor board

btw don't volt the bad board that high you will just burn it out.

personally i would swap it to a different L3+  but if you have 1 l3+ that is not an option.



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 10, 2018, 05:03:30 PM
Thx jstefanop.
Testing my ten L3+ with lowest voltage (0xfe). Currently running 400 frequency.

Can this set frequency for each board individually?
for example :
board 1,2,3 running very smooth on 450 frequency & voltage 0xc0 with less HW
board 4  cant go over 400 no mater how high is voltage (0x30) , too much HW (error every sec)



No since tuning voltage and frequency for each board is redundant and way more complicated than it needs to be. You just choose a frequency you want to run, and then tune the voltage on each board. Sounds to me like you have a faulty board....there are some boards that will just produce more errors regardless of what voltage/frequency you set (i.e. some chips just have logic defects that will produce errors even if the frequency/voltage is low/high enough).


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: taserz on May 10, 2018, 07:51:40 PM
How difficult is auto-tune to code. Set voltage restart hash for 5 minutes count error rate per board restart try new on etc etc? Just curious how it is done.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: sololoop on May 11, 2018, 02:08:00 AM
Thx jstefanop.
Testing my ten L3+ with lowest voltage (0xfe). Currently running 400 frequency.

Can this set frequency for each board individually?
for example :
board 1,2,3 running very smooth on 450 frequency & voltage 0xc0 with less HW
board 4  cant go over 400 no mater how high is voltage (0x30) , too much HW (error every sec)



No since tuning voltage and frequency for each board is redundant and way more complicated than it needs to be. You just choose a frequency you want to run, and then tune the voltage on each board. Sounds to me like you have a faulty board....there are some boards that will just produce more errors regardless of what voltage/frequency you set (i.e. some chips just have logic defects that will produce errors even if the frequency/voltage is low/high enough).

Copy that. I got few faulty boards that must run on 384 freq or below.
I will try philipma1957 's advice to swap those faulty boards.

Thanks.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 11, 2018, 03:08:03 AM
Thx jstefanop.
Testing my ten L3+ with lowest voltage (0xfe). Currently running 400 frequency.

Can this set frequency for each board individually?
for example :
board 1,2,3 running very smooth on 450 frequency & voltage 0xc0 with less HW
board 4  cant go over 400 no mater how high is voltage (0x30) , too much HW (error every sec)



No since tuning voltage and frequency for each board is redundant and way more complicated than it needs to be. You just choose a frequency you want to run, and then tune the voltage on each board. Sounds to me like you have a faulty board....there are some boards that will just produce more errors regardless of what voltage/frequency you set (i.e. some chips just have logic defects that will produce errors even if the frequency/voltage is low/high enough).

Copy that. I got few faulty boards that must run on 384 freq or below.
I will try philipma1957 's advice to swap those faulty boards.

Thanks.

And run them gentle like freq 359 with lowest volts


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: urgcm on May 11, 2018, 03:20:50 AM
How difficult is auto-tune to code. Set voltage restart hash for 5 minutes count error rate per board restart try new on etc etc? Just curious how it is done.
not in C code, but rather in bash script.
i've wrote some scripts that change freq in /config/cgminer.conf and then restart cgminer, wait 5 minutes and check HWerrs, temperature and rate for that freq.
from hi values of freq to lower ones - when you get HWerrs lower than some limit (half percent, for example) - you get right freq value.
voltage has to be changed via set_voltage program, and then start freq-optimization script again.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: urgcm on May 11, 2018, 03:23:25 AM
No since tuning voltage and frequency for each board is redundant and way more complicated than it needs to be. You just choose a frequency you want to run, and then tune the voltage on each board.
Dear Stefano,
could you please describe the value of voltage we pass to set_voltage ?
The default value of 0x80 - what real voltage does it correspond to ?
And the 0x70?
How to translate 0x70 to Volts?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: ordimans on May 11, 2018, 09:18:33 AM
The same script doesn't work for S9 ?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: greyday on May 11, 2018, 10:02:09 AM
Ooh, interesting. I just took my L3 offline because it crossed the magic 1:1 electricity to profit line last week. May have to plug it back in and give it a whirl.

If you're looking for suggestions for future projects, the A3 is also on that borderline at this point...


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Sandal_Hat on May 11, 2018, 12:07:15 PM
The same script doesn't work for S9 ?

It doesnt, unfortinately. Ihave tried.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: fabry1999 on May 11, 2018, 12:20:24 PM
I have try on A3 but use a different PIC and I get:

root@antMiner_A3:/config# ./set_voltage 1 90

 version = 0xff
Wrong PIC version

Is it possible update the code in order to support A3 PIC ?

thx


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 11, 2018, 04:22:09 PM
I have try on A3 but use a different PIC and I get:

root@antMiner_A3:/config# ./set_voltage 1 90

 version = 0xff
Wrong PIC version

Is it possible update the code in order to support A3 PIC ?

thx

Ill check the A3 and see if I can get it to work, S9 uses completely proprietary stuff on hardware and software level now so without reverse engineering it wont be possible. Im pretty sure the S9 already does auto voltage tuning anyway.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: taserz on May 11, 2018, 04:37:06 PM
Thx jstefanop.
Testing my ten L3+ with lowest voltage (0xfe). Currently running 400 frequency.

Can this set frequency for each board individually?
for example :
board 1,2,3 running very smooth on 450 frequency & voltage 0xc0 with less HW
board 4  cant go over 400 no mater how high is voltage (0x30) , too much HW (error every sec)



No since tuning voltage and frequency for each board is redundant and way more complicated than it needs to be. You just choose a frequency you want to run, and then tune the voltage on each board. Sounds to me like you have a faulty board....there are some boards that will just produce more errors regardless of what voltage/frequency you set (i.e. some chips just have logic defects that will produce errors even if the frequency/voltage is low/high enough).

Copy that. I got few faulty boards that must run on 384 freq or below.
I will try philipma1957 's advice to swap those faulty boards.

Thanks.

And run them gentle like freq 359 with lowest volts

Hell I got boards that have to be run at like 300 and they still cause the miner to crash. Once the L3+ start going they degrade really fast.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Sandal_Hat on May 11, 2018, 04:44:03 PM
I have try on A3 but use a different PIC and I get:

root@antMiner_A3:/config# ./set_voltage 1 90

 version = 0xff
Wrong PIC version

Is it possible update the code in order to support A3 PIC ?

thx

Ill check the A3 and see if I can get it to work, S9 uses completely proprietary stuff on hardware and software level now so without reverse engineering it wont be possible. Im pretty sure the S9 already does auto voltage tuning anyway.

I see. Thanks for info.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: brunocrypto on May 11, 2018, 05:17:21 PM
Thanks you for the tips for the Bitmain L3+ Voltage Control !


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: FNT on May 12, 2018, 05:01:45 AM
I have try on A3 but use a different PIC and I get:

root@antMiner_A3:/config# ./set_voltage 1 90

 version = 0xff
Wrong PIC version

Is it possible update the code in order to support A3 PIC ?

thx

Ill check the A3 and see if I can get it to work, S9 uses completely proprietary stuff on hardware and software level now so without reverse engineering it wont be possible. Im pretty sure the S9 already does auto voltage tuning anyway.

Hi jstefanop,

Thanks for your effort and opensource tool!!
I tried it on A3 but I only get 0xff for PIC version and for voltage!
This is not possible, I haven‘t set the voltage at this point, as read pic
delivers 0xff... any thoughs about that?
Maybe other pic addresses?

Bye, FNT


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: toptek12 on May 12, 2018, 12:28:32 PM
any one try on a V9 yet ? . can it be done on a V9 with the right PIC version update ?. just wondering no big deal other wise .

I'm toptek some one hacked  my account an i may not get it back sigh never put a key on it owell I think i pissed some one off in one post about keeping asic off our gpu mining . ....


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: connectCORRECT on May 12, 2018, 12:49:17 PM
https://imgur.com/a/ZaWxu2O

Hello
is it possible that my version of L3 + (12/2017) does not work?
Or am I doing something wrong?
Thanks for reply or advice

P.S.
ssh login and commands after restarting L3 +
I tried everything possible and still the same.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: FNT on May 12, 2018, 02:09:00 PM
https://imgur.com/a/ZaWxu2O

Hello
is it possible that my version of L3 + (12/2017) does not work?
Or am I doing something wrong?
Thanks for reply or advice

P.S.
ssh login and commands after restarting L3 +
I tried everything possible and still the same.

Hi!

Looks like you haven‘t set permission right.

sudo chmod a+x set_voltage

See also first posts...

Bye, FNT


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: racebyu on May 12, 2018, 02:11:32 PM
https://imgur.com/a/ZaWxu2O

Hello
is it possible that my version of L3 + (12/2017) does not work?
Or am I doing something wrong?
Thanks for reply or advice

P.S.
ssh login and commands after restarting L3 +
I tried everything possible and still the same.

Make sure enter this first before setting volatages.

chmod a+x set_voltage

then set each voltage for board 1-4


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: connectCORRECT on May 12, 2018, 02:24:35 PM
Thanks a lot, it's OK. I wrote a + x. The webtranslator has a space between a + x. With the spaces it does not work. That was the mistake :-)


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: vegasguy on May 13, 2018, 09:31:43 PM
For us noobs is there a way to make a windows version?

Vegas


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: firepredator on May 14, 2018, 12:09:27 AM
Hi,

Is this tool anyway to apply it to other S9 / S7 Miners? Or could somebody here please help me regarding how can we do it?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 14, 2018, 12:15:57 AM
For us noobs is there a way to make a windows version?

Vegas

Fuck I hate working with ssh and putty  with windows.  It was bad enough  with mac ;D

I have 3 more to program  Maybe monday  I will do them  on windows and make a video for youtube.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: rs1x on May 14, 2018, 01:06:48 AM
For us noobs is there a way to make a windows version?

Vegas

I am willing to help you - if you ensure you donate to the developer.  It's very very easy on windows.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 14, 2018, 01:13:07 AM
For us noobs is there a way to make a windows version?

Vegas

I am willing to help you - if you ensure you donate to the developer.  It's very very easy on windows.

If you Make a window setup like the mac I did below.
and if vegasguy   donates  some coin to the op

I will add some more coin as I don't want to do it on windows as I have not done it in 3 or 4 years and simply don't remember how to do it.


here is mac below

Code:
It was easy on terminal via mac  I just was fooled about password because I have not done it since 2014 with s-1's.

first down load  your file


https://github.com/jstefanop/bitmain-tools/releases/download/v.1/set_voltage.zip

then open terminal on a mac  when is asks for password type in admin



Last login: Mon May  7 11:10:06 on ttys002
macs-Mac-mini-4:~ macmini$ scp /Users/macmini/Downloads/set_voltage root@192.168.0.165:/config
The authenticity of host '192.168.0.165 (192.168.0.165)' can't be established.
RSA key fingerprint is 12:41:2a:98:5e:19:4f:dc:5e:16:f8:b0:e6:07:46:9a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.165' (RSA) to the list of known hosts.
root@192.168.0.165's password:    admin
set_voltage                                                                                                                                                                                                                               100% 9204     9.0KB/s   00:00    
macs-Mac-mini-4:~ macmini$ ssh root@192.168.0.165
root@192.168.0.165's password:  admin
root@L3antMinerNine9:~# cd /config
root@L3antMinerNine9:/config# ./set_voltage 1 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@L3antMinerNine9:/config# ./set_voltage 2 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@L3antMinerNine9:/config# ./set_voltage 3 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@L3antMinerNine9:/config# ./set_voltage 4 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!


boot ended the session once i was done

root@L3antMinerNine9:/config# Write failed: Broken pipe
macs-Mac-mini-4:~ macmini$
macs-Mac-mini-4:~ macmini$
macs-Mac-mini-4:~ macmini$
macs-Mac-mini-4:~ macmini$
macs-Mac-mini-4:~ macmini$
macs-Mac-mini-4:~ macmini$


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: rs1x on May 14, 2018, 01:31:36 AM
For us noobs is there a way to make a windows version?

Vegas

I am willing to help you - if you ensure you donate to the developer.  It's very very easy on windows.

If you Make a window setup like the mac I did below.
and if vegasguy   donates  some coin to the op

I will add some more coin as I don't want to do it on windows as I have not done it in 3 or 4 years and simply don't remember how to do it.


here is mac below

Code:
It was easy on terminal via mac  I just was fooled about password because I have not done it since 2014 with s-1's.

first down load  your file


https://github.com/jstefanop/bitmain-tools/releases/download/v.1/set_voltage.zip

then open terminal on a mac  when is asks for password type in admin



Last login: Mon May  7 11:10:06 on ttys002
macs-Mac-mini-4:~ macmini$ scp /Users/macmini/Downloads/set_voltage root@192.168.0.165:/config
The authenticity of host '192.168.0.165 (192.168.0.165)' can't be established.
RSA key fingerprint is 12:41:2a:98:5e:19:4f:dc:5e:16:f8:b0:e6:07:46:9a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.165' (RSA) to the list of known hosts.
root@192.168.0.165's password:    admin
set_voltage                                                                                                                                                                                                                               100% 9204     9.0KB/s   00:00    
macs-Mac-mini-4:~ macmini$ ssh root@192.168.0.165
root@192.168.0.165's password:  admin
root@L3antMinerNine9:~# cd /config
root@L3antMinerNine9:/config# ./set_voltage 1 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@L3antMinerNine9:/config# ./set_voltage 2 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@L3antMinerNine9:/config# ./set_voltage 3 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@L3antMinerNine9:/config# ./set_voltage 4 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!


boot ended the session once i was done

root@L3antMinerNine9:/config# Write failed: Broken pipe
macs-Mac-mini-4:~ macmini$
macs-Mac-mini-4:~ macmini$
macs-Mac-mini-4:~ macmini$
macs-Mac-mini-4:~ macmini$
macs-Mac-mini-4:~ macmini$
macs-Mac-mini-4:~ macmini$

i can put some notes together  - the only difference on windows would be instead of using terminal (mac) you use Putty.  Google > putty download > ssh to your l3 > run same commands you ran on mac.

voila ;D



i could do a teamviewer session with vegas if he wishes


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 14, 2018, 01:59:00 AM
here it is in mac again
download file

https://github.com/jstefanop/bitmain-tools/releases/download/v.1/set_voltage.zip


open terminal


philsbeasts-Pro:~ philsbeast$ scp /Users/philsbeast/Downloads/set_voltage root@192.168.0.162:/config
The authenticity of host '192.168.0.162 (192.168.0.162)' can't be established.
RSA key fingerprint is 66:b4:f9:99:92:2c:17:66:70:6e:08:f5:41:ee:d3:1d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.162' (RSA) to the list of known hosts.
root@192.168.0.162's password: admin
set_voltage                                                                            100% 9204     9.0KB/s   00:00    
philsbeasts-Pro:~ philsbeast$ ssh root@192.168.0.162
root@192.168.0.162's password: admin
root@antMinerL3one1:~# cd /config
root@antMinerL3one1:/config# ./set_voltage 1 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@antMinerL3one1:/config#  ./set_voltage 1 fe

 version = 0x03
reading voltage

 voltage = 0xfe
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@antMinerL3one1:/config# ./set_voltage 2 fe

 version = 0x03
reading voltage

 voltage = 0x60
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@antMinerL3one1:/config# ./set_voltage 3 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@antMinerL3one1:/config# ./set_voltage 4 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@antMinerL3one1:/config#



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: sololoop on May 14, 2018, 03:34:15 AM
After the swapping game in this weekend. I have done rearrange l3+ with lowest voltage.
With this awesome Voltage Control Tool. I have set everything to lowest voltage (0xfe) and rearrange the miners with similar frequency boards in reasonable hw(1 or 2 hw in minute)
Herewith is the result :
L3+ : lowest voltage (0xfe)
freq        hashrate   
456m        592m
444m        577m
437m        567m
431m        562m
425m        551m
419m        544m
412m        535m
400m        520m
356m        465m

L3++:   
freq     voltage      hashrate
450m    b0 & c0        585m


Sent 0.2 LTC to his address.
https://live.blockcypher.com/ltc/tx/93dbcb6bda38aaa7cf3bb173c0d2eb60e85170e6733db1ea2b26b968edba8ac2/ (https://live.blockcypher.com/ltc/tx/93dbcb6bda38aaa7cf3bb173c0d2eb60e85170e6733db1ea2b26b968edba8ac2/)



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: scorchwiskey on May 14, 2018, 04:50:08 AM
I installed Blissz firmware and read from each voltage setting.

Voltage
Lowest    0xff
1      0xf5
2      0xeb
3      0xe1
4      0xd7
5      0xcd
6      0xc3
7      0xb9
8      0xaf
9      0xa5
10      0x9b
11      0x91
12      0x87
13      0x7d
14      0x73
15      0x69
16      0x5f


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: sololoop on May 14, 2018, 06:20:19 AM
For us noobs is there a way to make a windows version?

Vegas

I did it on windows.
1. download and install SSH tool for windows. https://www.putty.org/ (https://www.putty.org/)
2. save binary "set_voltage" to windows (for example c:\voltage)
3. Change directory to the path "program files/putty" on windows command prompt
    run "cmd". blue color text is typing in cmd
    cd c:\program files\putty      (for 64 bits putty)
    or
    cd c:\program files (x86)\putty    (for 32 bits putty)
                                                                        
4. pscp -scp c:\voltage\set_voltage root@[your miners ip]:\config
    update cashed key? y or n
    root@[your miners ip]'s password: admin
    set_voltage     | 8kB  | 9.0 kB/s  | ETA  00:00:00 | 100%                               <---- copy binary "set_voltage" to miner  Done

5. Run Putty.exe , type miner ip in Host Name. Then another cmd will popup. (Putty security alert, answer yes or no)
    login as: root
    root@[your miners ip]'s password: admin
    root@antMiner:~# cd /config
    root@antMiner:/config# chmod a+x set_voltage
    root@antMiner:/config# ./set_voltage 1 fe
                                        ./set_voltage 2 fe
                                        ./set_voltage 3 fe
                                        ./set_voltage 4 fe
                                        
    


  


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: fabry1999 on May 14, 2018, 09:18:50 AM
I have try on A3 but use a different PIC and I get:

root@antMiner_A3:/config# ./set_voltage 1 90

 version = 0xff
Wrong PIC version

Is it possible update the code in order to support A3 PIC ?

thx

Ill check the A3 and see if I can get it to work, S9 uses completely proprietary stuff on hardware and software level now so without reverse engineering it wont be possible. Im pretty sure the S9 already does auto voltage tuning anyway.

Hi jstefanop,

did you check the A3 ?

thanks


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: nastyrunner on May 14, 2018, 09:37:43 AM
Hi, I am getting the following error, what could be the reason?
root@antMiner:/config# ./set_voltage_new.c 1 f0
./set_voltage_new.c: line 1: //: Permission denied
./set_voltage_new.c: line 2: //: Permission denied
./set_voltage_new.c: line 3: //: Permission denied
./set_voltage_new.c: line 4: //: Permission denied
./set_voltage_new.c: line 5: //: Permission denied
./set_voltage_new.c: line 6: //: Permission denied
./set_voltage_new.c: line 28: static: not found
./set_voltage_new.c: line 29: static: not found
./set_voltage_new.c: line 30: static: not found
./set_voltage_new.c: line 31: static: not found
./set_voltage_new.c: line 32: static: not found
./set_voltage_new.c: line 33: static: not found
./set_voltage_new.c: line 34: static: not found
./set_voltage_new.c: line 35: pthread_mutex_t: not found
./set_voltage_new.c: line 36: pthread_mutex_t: not found
./set_voltage_new.c: line 40: syntax error: unexpected "("


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: fabry1999 on May 14, 2018, 09:58:07 AM
Hi, I am getting the following error, what could be the reason?
root@antMiner:/config# ./set_voltage_new.c 1 f0
./set_voltage_new.c: line 1: //: Permission denied
./set_voltage_new.c: line 2: //: Permission denied
./set_voltage_new.c: line 3: //: Permission denied
./set_voltage_new.c: line 4: //: Permission denied
./set_voltage_new.c: line 5: //: Permission denied
./set_voltage_new.c: line 6: //: Permission denied
./set_voltage_new.c: line 28: static: not found
./set_voltage_new.c: line 29: static: not found
./set_voltage_new.c: line 30: static: not found
./set_voltage_new.c: line 31: static: not found
./set_voltage_new.c: line 32: static: not found
./set_voltage_new.c: line 33: static: not found
./set_voltage_new.c: line 34: static: not found
./set_voltage_new.c: line 35: pthread_mutex_t: not found
./set_voltage_new.c: line 36: pthread_mutex_t: not found
./set_voltage_new.c: line 40: syntax error: unexpected "("


Please read the post and you will find the answer !!!

your trying to run the source code !

you have to download the executable file and then modify the permission and run it.



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: nastyrunner on May 14, 2018, 10:58:51 AM
Hi, I am getting the following error, what could be the reason?
root@antMiner:/config# ./set_voltage_new.c 1 f0
./set_voltage_new.c: line 1: //: Permission denied
./set_voltage_new.c: line 2: //: Permission denied
./set_voltage_new.c: line 3: //: Permission denied
./set_voltage_new.c: line 4: //: Permission denied
./set_voltage_new.c: line 5: //: Permission denied
./set_voltage_new.c: line 6: //: Permission denied
./set_voltage_new.c: line 28: static: not found
./set_voltage_new.c: line 29: static: not found
./set_voltage_new.c: line 30: static: not found
./set_voltage_new.c: line 31: static: not found
./set_voltage_new.c: line 32: static: not found
./set_voltage_new.c: line 33: static: not found
./set_voltage_new.c: line 34: static: not found
./set_voltage_new.c: line 35: pthread_mutex_t: not found
./set_voltage_new.c: line 36: pthread_mutex_t: not found
./set_voltage_new.c: line 40: syntax error: unexpected "("


Please read the post and you will find the answer !!!

your trying to run the source code !

you have to download the executable file and then modify the permission and run it.



My bad, it was previously mentioned!


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: nastyrunner on May 14, 2018, 11:08:21 AM
here it is in mac again
download file

https://github.com/jstefanop/bitmain-tools/releases/download/v.1/set_voltage.zip


open terminal


philsbeasts-Pro:~ philsbeast$ scp /Users/philsbeast/Downloads/set_voltage root@192.168.0.162:/config
The authenticity of host '192.168.0.162 (192.168.0.162)' can't be established.
RSA key fingerprint is 66:b4:f9:99:92:2c:17:66:70:6e:08:f5:41:ee:d3:1d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.162' (RSA) to the list of known hosts.
root@192.168.0.162's password: admin
set_voltage                                                                            100% 9204     9.0KB/s   00:00    
philsbeasts-Pro:~ philsbeast$ ssh root@192.168.0.162
root@192.168.0.162's password: admin
root@antMinerL3one1:~# cd /config
root@antMinerL3one1:/config# ./set_voltage 1 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@antMinerL3one1:/config#  ./set_voltage 1 fe

 version = 0x03
reading voltage

 voltage = 0xfe
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@antMinerL3one1:/config# ./set_voltage 2 fe

 version = 0x03
reading voltage

 voltage = 0x60
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@antMinerL3one1:/config# ./set_voltage 3 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@antMinerL3one1:/config# ./set_voltage 4 fe

 version = 0x03
reading voltage

 voltage = 0x80
setting voltage
reading voltage

 voltage = 0xfe
Success: Voltage updated!
root@antMinerL3one1:/config#



You are amazing buddy!


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: psycodad on May 15, 2018, 07:56:51 PM
I have pushed a quick-baked script for voltage autotuning of L3+ miners to my github (see "scripts" subdirectory):
https://github.com/psycodad-bct/bitmain-tools

The bct thread for it is here:
https://bitcointalk.org/index.php?topic=3835841

Please note that you you need a Linux computer (or possibly MacOS) with python to run this script.
It will not work under windows!

Hope this is useful for some of you.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Ameador1 on May 16, 2018, 02:33:03 PM
I used the software that @jstefanop has put out here on 2 L3+ units last night! Excellent!

I used the WinSCP to do it all - I have Putty on my system, so not sure if it picked up on that or if it has it embedded in the software or install, but once I established a connection to the miner with WinSCP, I was able to open a Putty window from a button in WinSCP that opened right to the miner already connected to - just entered password and followed the directions.

Anyway - I will write more on it later but the end result was that I got them both running at the lowest power (0xfe) and was able to clock them both up to 394MHz (~515MH) without any issue. I recorded temps at each step and after clocking up to 394, the temps were back to about the same as they were running at 0x80 (normal voltage factory setting). So I ended up at about 15% less power use with about a 2% increase in hash rate with temps staying in the same ballpark as they started at. I was getting no more HW errors that before with this config - I was targeting lowering power use, then improving hash rate - while maintaining similar temps. I'm sure I could have increased hash rates by more than 2%, but I didn't want the additional heat. My miners are running overall hotter right now than I want - getting ready to move them to a cooler place with better airflow, but until then, I need to keep the temps in check.

Very Good!

Now - I have two L3++ units as well. They are running at 450MHz from Bitmain and running generally in the 590-600MH range. So my question on these - is there already any kind of automatic voltage adjustments going on with these L3++ units? Their MH number seem to be fluctuating much more and much more constantly - like something is being adjusted constantly. My L3+ units stay around 502MH to 503MH very consistently (well, now 514MH to 517MH  :) ) - but these L3++ units are bouncing around probably 570MH to 615MH constantly. I mean I just site there watching to numbers fluctuating none stop (using Awesome Miner). So I just wanted to see what you guys think - I know I saw someone else had used this on the L3++, but just wondering if it might interfere with Bitmain's settings if they may be messing with an auto voltage system design as well.

Also, one of my L3++ units has 1 hash board that is running a little more than, but pretty close to, 1 HW per minute with factory settings. Is this worth contacting Bitmain over? I'm wondering if dropping the voltage on this unit with this software from @jstefanop will potentially ease that number down - less power - less heat - maybe help improve the HW rate?

And lastly - I had a thought/concern about the lower power settings. When running electrical - it is always better to use heavier wire as it is more efficient at carrying the electricity: less power loss due to resistance (generally lost in the form of heat) and improves the watts used by the connected equipment, etc... When doing electrical runs that are too long for the gauge wire used, you frequently hear about how that can damage equipment due to the power reaching the connected devices not being strong enough - too much lost in the transmission and the overly low power somehow causing damage to the connected devices. Is this is a concern here? If we lower the voltage down to lowest setting - is this somehow stressing the miner's components in a way that might cause them to fail earlier? Should we look at lowering the voltage some, but not to the lowest settings? I don't know and am truly asking. What are your thoughts on this? I am very happy with the idea of lowering heat, power costs, and/or even getting improved hash rates - but...

Thanks!


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: toptek12 on May 16, 2018, 04:41:24 PM
I installed Blissz firmware and read from each voltage setting.

Voltage
Lowest    0xff
1      0xf5
2      0xeb
3      0xe1
4      0xd7
5      0xcd
6      0xc3
7      0xb9
8      0xaf
9      0xa5
10      0x9b
11      0x91
12      0x87
13      0x7d
14      0x73
15      0x69
16      0x5f


Thanks been looking for this , my other btalk account was hacked and it's looking like they might not give it back sigh ... owell

@jstefanop  just sent another 12 bucks in BTC as a donation not for another L3 +.

https://btc-bitcore2.trezor.io/tx/27b175d77b13d941742c69e509481463a02fed09cf0361317a237513830e3afb


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: yrk1957 on May 16, 2018, 04:54:42 PM
Any chance of doing something similar for S9?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: greyday on May 16, 2018, 10:24:20 PM
I used the software that @jstefanop has put out here on 2 L3+ units last night! Excellent!

I used the WinSCP to do it all - I have Putty on my system, so not sure if it picked up on that or if it has it embedded in the software or install, but once I established a connection to the miner with WinSCP, I was able to open a Putty window from a button in WinSCP that opened right to the miner already connected to - just entered password and followed the directions.

Anyway - I will write more on it later but the end result was that I got them both running at the lowest power (0xfe) and was able to clock them both up to 394MHz (~515MH) without any issue. I recorded temps at each step and after clocking up to 394, the temps were back to about the same as they were running at 0x80 (normal voltage factory setting). So I ended up at about 15% less power use with about a 2% increase in hash rate with temps staying in the same ballpark as they started at. I was getting no more HW errors that before with this config - I was targeting lowering power use, then improving hash rate - while maintaining similar temps. I'm sure I could have increased hash rates by more than 2%, but I didn't want the additional heat. My miners are running overall hotter right now than I want - getting ready to move them to a cooler place with better airflow, but until then, I need to keep the temps in check.

Very Good!

Now - I have two L3++ units as well. They are running at 450MHz from Bitmain and running generally in the 590-600MH range. So my question on these - is there already any kind of automatic voltage adjustments going on with these L3++ units? Their MH number seem to be fluctuating much more and much more constantly - like something is being adjusted constantly. My L3+ units stay around 502MH to 503MH very consistently (well, now 514MH to 517MH  :) ) - but these L3++ units are bouncing around probably 570MH to 615MH constantly. I mean I just site there watching to numbers fluctuating none stop (using Awesome Miner). So I just wanted to see what you guys think - I know I saw someone else had used this on the L3++, but just wondering if it might interfere with Bitmain's settings if they may be messing with an auto voltage system design as well.

Also, one of my L3++ units has 1 hash board that is running a little more than, but pretty close to, 1 HW per minute with factory settings. Is this worth contacting Bitmain over? I'm wondering if dropping the voltage on this unit with this software from @jstefanop will potentially ease that number down - less power - less heat - maybe help improve the HW rate?

And lastly - I had a thought/concern about the lower power settings. When running electrical - it is always better to use heavier wire as it is more efficient at carrying the electricity: less power loss due to resistance (generally lost in the form of heat) and improves the watts used by the connected equipment, etc... When doing electrical runs that are too long for the gauge wire used, you frequently hear about how that can damage equipment due to the power reaching the connected devices not being strong enough - too much lost in the transmission and the overly low power somehow causing damage to the connected devices. Is this is a concern here? If we lower the voltage down to lowest setting - is this somehow stressing the miner's components in a way that might cause them to fail earlier? Should we look at lowering the voltage some, but not to the lowest settings? I don't know and am truly asking. What are your thoughts on this? I am very happy with the idea of lowering heat, power costs, and/or even getting improved hash rates - but...

Thanks!

Play with your settings. I was gettin 620 out of my L3+ for months stably with decent temps.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Ameador1 on May 17, 2018, 01:11:05 AM
Thx jstefanop.
Testing my ten L3+ with lowest voltage (0xfe). Currently running 400 frequency.

Can this set frequency for each board individually?
for example :
board 1,2,3 running very smooth on 450 frequency & voltage 0xc0 with less HW
board 4  cant go over 400 no mater how high is voltage (0x30) , too much HW (error every sec)



I will chime in it can give multiple voltage for each board.

Not mutilple freq.

So this means you can choose  freq 400 knowing the three boards are under tasked or choose say 425 and tossing lots of errors on the poor board

btw don't volt the bad board that high you will just burn it out.

personally i would swap it to a different L3+  but if you have 1 l3+ that is not an option.

I have an L3++ I'm working on refining now. Chains 1 and 3 had voltage set at 0x60 by Bitmain. Chains 2 and 4 had their voltages set at 0x3f. Frequency is at 450MHz. These were all Bitmain settings. Chain 4 has been getting excessive errors - as high as 1.48 HW errors per minute since I really started tracking it today, where the other chains are 0 or very few HW errors (including chain2 that was also at 0x3f). I raised the voltage on Chain 4 to 0x30 and then to 0x28 as it got better at 0x30 and then even better at 0x28. It is now under 1 HW error per minute. But I saw your comment here about not setting the voltage to 0x30 without burning it out. Bitmain has this set to 0x3f by default. Would you recommend leaving the 0x28 setting being that it showed improvement in HW errors - or drop the frequency some as well as lowering the voltage? If lowering, what would you recommend as the max higher end voltage setting?

Thanks!


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Ameador1 on May 18, 2018, 03:45:16 PM
/Users/macmini/Downloads/set_voltage

so I think that is the directory above

so I tried this

scp /Users/macmini/Downloads/set_voltage root@192.168.0.109:/config

and this came up

root@192.168.0.109's password:

I could not enter  a password and if I hit enter it said wrong password

Have you tried typing in your password and pressing the enter key?
scp and other ssh tools will not echo a "*" or "." when you key in the password (so people cannot guess your password's length)

...

UPDATES -

Running my L3+ at 462M (20% OC)
All boards are set at 0xd0
Error rate is the wrong side of 1% right now

Effective hash rate at pool has been good - averaging 550-600

Power draw at wall ~ 870 W compared to ~ 830 W at stock voltage and speed

I'm now getting 15-20% more effective hash rate with only a 5% increase in power draw.

@Nazzer (and others as well) - what are your targets for HW errors? For nonce HW Error %, but also, number of HW errors per minute for any particular hash board.
I see that @philipma1957 says he tries to keep under 0.05% nonce HW error%. I think you are saying in this post you target 1%?

I have seen references to keeping under 1 HW error per minute, but not sure if this is per board or total HW errors per minute across all boards. I would think it important to know per board so I/we don't push any individual board too hard on HW errors.

I have thus far been trying to keep each board at less than 1 HW error per minute with Nonce HW Err % to 0.05% or less.

Also, I saw in the L3 thread, that in early 2018 - there was a change in L3+ has boards - type N and type S and that one or the other cannot be OCed as high as the other. Do you know how we can tell which hash boards we have and what max ranges of OCing can be accomplished on each?

Thanks!

BTW, I have tweaked 2 - L3+'s and 1 - L3++ (voltage and OCing) and have improved hash rate with lower watts - currently have dropped wattage use across the 3 by about 330watts! I have one more L3++ to tweak and may be getting another L3+ soon. Once I tweak the last L3++ and figure out my overall savings, I will contribute some BTC to @jstefanop for this cool software!


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: gaalx01 on May 19, 2018, 04:46:41 AM
D3 and A3 - still not supported?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on May 19, 2018, 05:36:07 AM
I realized I gave 0.002 btc not 0.003 btc


LTC: LQZpb8AqbggUmsdPKr28DzdNcRP7MJ8kEf

BTC: 1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf


LTC:LX5vpxrQE4eLRLPobKwZhw2comkKFCh3p4




BTC:14w9Lea6kdVzspJk8TQRe7qSYu9LhzJJsh      I sent to here


@ jstefanop  are all above addresses good?

I just sent 0.0022 from profile wallet

https://blockchain.info/tx/5680de333a1efaac0e660aab6030ceb5bcf141614d8bf65cd12a0769840e7bde



and I did send  0.002 from coinbase


https://blockchain.info/tx/9401c0ee31116b421b1e6204bbadba2f576e39ad72f0d10a9f1eade9efdffb3c


So 0.0042 btc total

 will be saving 12 x 100 = 1200 watts   that is over 850 k-watts a month. that is 85 dollars at 10 cents

I will send to you again in June.


so I was checking donations made or at least deposits made

https://blockchain.info/address/1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf

0.01412 btc since may 7

https://blockchain.info/address/14w9Lea6kdVzspJk8TQRe7qSYu9LhzJJsh

0.0042 btc since may 8

https://live.blockcypher.com/ltc/address/LQZpb8AqbggUmsdPKr28DzdNcRP7MJ8kEf/

.2762 ltc  last 10 days


https://live.blockcypher.com/ltc/address/LX5vpxrQE4eLRLPobKwZhw2comkKFCh3p4/

0.0633 ltc last 10 days


so

0.0183 btc =  150 usd

0.3395 ltc =    45 usd


so he has received a max of 195 usd in donations.

Consider that this software saves  me about 100 watts a miner  and I have 12 miners  = 1200 watts  = about 30 kwatts a day or 3.00usd a day at 10 cent a kwatt.

that is 90 a month.  I gave him .0042 btc or 35 usd so far.

If I could code this  I would want a few more then the 195  for the ltc alone.

So I think he will not be rushing to do more for us. @ op I will send you 0.0058 soon  which will be 0.0100 total  and that will equal 1 month of my power savings.

If people want D3 or A3  you could those him more coin.

Be sure to send to his address in his op  https://bitcointalk.org/index.php?topic=3546316.msg36338080#msg36338080



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: LMC01 on May 19, 2018, 09:38:27 AM
I realized I gave 0.002 btc not 0.003 btc


LTC: LQZpb8AqbggUmsdPKr28DzdNcRP7MJ8kEf

BTC: 1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf


LTC:LX5vpxrQE4eLRLPobKwZhw2comkKFCh3p4




BTC:14w9Lea6kdVzspJk8TQRe7qSYu9LhzJJsh      I sent to here


@ jstefanop  are all above addresses good?

I just sent 0.0022 from profile wallet

https://blockchain.info/tx/5680de333a1efaac0e660aab6030ceb5bcf141614d8bf65cd12a0769840e7bde



and I did send  0.002 from coinbase


https://blockchain.info/tx/9401c0ee31116b421b1e6204bbadba2f576e39ad72f0d10a9f1eade9efdffb3c


So 0.0042 btc total

 will be saving 12 x 100 = 1200 watts   that is over 850 k-watts a month. that is 85 dollars at 10 cents

I will send to you again in June.


so I was checking donations made or at least deposits made

https://blockchain.info/address/1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf

0.01412 btc since may 7

https://blockchain.info/address/14w9Lea6kdVzspJk8TQRe7qSYu9LhzJJsh

0.0042 btc since may 8

https://live.blockcypher.com/ltc/address/LQZpb8AqbggUmsdPKr28DzdNcRP7MJ8kEf/

.2762 ltc  last 10 days


https://live.blockcypher.com/ltc/address/LX5vpxrQE4eLRLPobKwZhw2comkKFCh3p4/

0.0633 ltc last 10 days


so

0.0183 btc =  150 usd

0.3395 ltc =    45 usd


so he has received a max of 195 usd in donations.

Consider that this software saves  me about 100 watts a miner  and I have 12 miners  = 1200 watts  = about 30 kwatts a day or 3.00usd a day at 10 cent a kwatt.

that is 90 a month.  I gave him .0042 btc or 35 usd so far.

If I could code this  I would want a few more then the 195  for the ltc alone.

So I think he will not be rushing to do more for us. @ op I will send you 0.0058 soon  which will be 0.0100 total  and that will equal 1 month of my power savings.

If people want D3 or A3  you could those him more coin.

Be sure to send to his address in his op  https://bitcointalk.org/index.php?topic=3546316.msg36338080#msg36338080



Yep, well said philipma!

I have used it on about 20 L3+ so far.  That might go up based on reliability of the modded units. 
The big benefit for me is not the $ saving on electricity or any boost in hashrate. 
It reduces my overall temps and pulls my electrical current consumption back to safer levels. 
The drop in temps is very dramatic, 3-4 degrees C per board. 
I was planning to monitor my machines for a while more before donating, but it's worth .25 LTC and more to me, so here's my first transfer. 
There will be more if I'm still happy in a month or so.

https://live.blockcypher.com/ltc/tx/ab4d415f25773ceca707831a8600528366078fca2fba5fb5ccfb454eb393ad27/



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: mohicans on May 19, 2018, 11:21:18 AM
how do I read the chain voltage?

I tried :

root@antMiner:/config# ./get_voltage

but its says not found... FYI, I can apply voltage successfully..

I thought of reading it before applying changes...


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: R0mi on May 19, 2018, 09:32:41 PM

on a windows PC use Winscp https://winscp.net/eng/download.php and use SSH https://www.ssh.com/ssh/ you need both unless your willing to try the New SSH  in window 10 April update .

...


Agreed. Windows users just need winscp to move the file "set_voltage" from their PC download directory to their L3+ /config directory.  Drag and drop the file over from your PC to the L3+

Then use SSH or PuTTY to run the few commands listed on page 1.  Not difficult.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: FNT on May 20, 2018, 06:14:41 PM
Hi guys,

Finally, I got an A3 to work, other routines but work now for A3 and should also work for D3.
https://bitcointalk.org/index.php?topic=4032178.0

Bye, FNT


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Tendo on May 20, 2018, 06:34:03 PM
Well I have mine OCd would this kill that?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Searing on May 20, 2018, 06:46:15 PM
I realized I gave 0.002 btc not 0.003 btc


LTC: LQZpb8AqbggUmsdPKr28DzdNcRP7MJ8kEf

BTC: 1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf


LTC:LX5vpxrQE4eLRLPobKwZhw2comkKFCh3p4




BTC:14w9Lea6kdVzspJk8TQRe7qSYu9LhzJJsh      I sent to here


@ jstefanop  are all above addresses good?

I just sent 0.0022 from profile wallet

https://blockchain.info/tx/5680de333a1efaac0e660aab6030ceb5bcf141614d8bf65cd12a0769840e7bde



and I did send  0.002 from coinbase


https://blockchain.info/tx/9401c0ee31116b421b1e6204bbadba2f576e39ad72f0d10a9f1eade9efdffb3c


So 0.0042 btc total

 will be saving 12 x 100 = 1200 watts   that is over 850 k-watts a month. that is 85 dollars at 10 cents

I will send to you again in June.


so I was checking donations made or at least deposits made

https://blockchain.info/address/1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf

0.01412 btc since may 7

https://blockchain.info/address/14w9Lea6kdVzspJk8TQRe7qSYu9LhzJJsh

0.0042 btc since may 8

https://live.blockcypher.com/ltc/address/LQZpb8AqbggUmsdPKr28DzdNcRP7MJ8kEf/

.2762 ltc  last 10 days


https://live.blockcypher.com/ltc/address/LX5vpxrQE4eLRLPobKwZhw2comkKFCh3p4/

0.0633 ltc last 10 days


so

0.0183 btc =  150 usd

0.3395 ltc =    45 usd


so he has received a max of 195 usd in donations.

Consider that this software saves  me about 100 watts a miner  and I have 12 miners  = 1200 watts  = about 30 kwatts a day or 3.00usd a day at 10 cent a kwatt.

that is 90 a month.  I gave him .0042 btc or 35 usd so far.

If I could code this  I would want a few more then the 195  for the ltc alone.

So I think he will not be rushing to do more for us. @ op I will send you 0.0058 soon  which will be 0.0100 total  and that will equal 1 month of my power savings.

If people want D3 or A3  you could those him more coin.

Be sure to send to his address in his op  https://bitcointalk.org/index.php?topic=3546316.msg36338080#msg36338080



I will donate as soon as me and my partner get around to making these tweaks...but as of now my partner is still setting up L3+'s in the box

and dealing with an electrican...with his stuff..if this keeps up ..the whole thing will be 'moot' anyway...my L3+'s that are up are making

53c a day after electric....just saying..others may be in despair and not really also be jumping on this mod...as we speak..for the same reasons as

me ....why bother improving the engines on the Titanic if the iceberg of difficulty is gonna sink the L3+ boat anyway...

IF we manage to get the LTC price say above $160 again, (where I'm making more than a $1 a day) you

may have some more motivated people...as to myself ..I watch this mess and basically am turning into a

'lump' of an unmotivated miner....ie (are the miners up ...good....goes back to bed pulls covers over his head)





Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 21, 2018, 04:10:30 PM
I realized I gave 0.002 btc not 0.003 btc


LTC: LQZpb8AqbggUmsdPKr28DzdNcRP7MJ8kEf

BTC: 1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf


LTC:LX5vpxrQE4eLRLPobKwZhw2comkKFCh3p4




BTC:14w9Lea6kdVzspJk8TQRe7qSYu9LhzJJsh      I sent to here


@ jstefanop  are all above addresses good?

I just sent 0.0022 from profile wallet

https://blockchain.info/tx/5680de333a1efaac0e660aab6030ceb5bcf141614d8bf65cd12a0769840e7bde



and I did send  0.002 from coinbase


https://blockchain.info/tx/9401c0ee31116b421b1e6204bbadba2f576e39ad72f0d10a9f1eade9efdffb3c


So 0.0042 btc total

 will be saving 12 x 100 = 1200 watts   that is over 850 k-watts a month. that is 85 dollars at 10 cents

I will send to you again in June.


so I was checking donations made or at least deposits made

https://blockchain.info/address/1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf

0.01412 btc since may 7

https://blockchain.info/address/14w9Lea6kdVzspJk8TQRe7qSYu9LhzJJsh

0.0042 btc since may 8

https://live.blockcypher.com/ltc/address/LQZpb8AqbggUmsdPKr28DzdNcRP7MJ8kEf/

.2762 ltc  last 10 days


https://live.blockcypher.com/ltc/address/LX5vpxrQE4eLRLPobKwZhw2comkKFCh3p4/

0.0633 ltc last 10 days


so

0.0183 btc =  150 usd

0.3395 ltc =    45 usd


so he has received a max of 195 usd in donations.

Consider that this software saves  me about 100 watts a miner  and I have 12 miners  = 1200 watts  = about 30 kwatts a day or 3.00usd a day at 10 cent a kwatt.

that is 90 a month.  I gave him .0042 btc or 35 usd so far.

If I could code this  I would want a few more then the 195  for the ltc alone.

So I think he will not be rushing to do more for us. @ op I will send you 0.0058 soon  which will be 0.0100 total  and that will equal 1 month of my power savings.

If people want D3 or A3  you could those him more coin.

Be sure to send to his address in his op  https://bitcointalk.org/index.php?topic=3546316.msg36338080#msg36338080



I will donate as soon as me and my partner get around to making these tweaks...but as of now my partner is still setting up L3+'s in the box

and dealing with an electrican...with his stuff..if this keeps up ..the whole thing will be 'moot' anyway...my L3+'s that are up are making

53c a day after electric....just saying..others may be in despair and not really also be jumping on this mod...as we speak..for the same reasons as

me ....why bother improving the engines on the Titanic if the iceberg of difficulty is gonna sink the L3+ boat anyway...

IF we manage to get the LTC price say above $160 again, (where I'm making more than a $1 a day) you

may have some more motivated people...as to myself ..I watch this mess and basically am turning into a

'lump' of an unmotivated miner....ie (are the miners up ...good....goes back to bed pulls covers over his head)





I think your logic is a bit off ;) If anything lower prices/profits will motivate people more to reduce voltages and increase efficiency. If your scraping by and can reduce power by 10-20% thats pretty big...of course 10-20% power reduction did not matter when the L3's were making 1k per month last year ;)


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Longsnowsm on May 21, 2018, 04:33:53 PM
If I had access to my miners at my hosting location I would certainly give this a shot... And I would gladly donate to this effort.   So I am stuck paying through the nose for power I shouldn't have to consume.   :-[

What is the average power savings so far with this mod?  I fired off an email to my support at my hosting location to ask them if they would be willing to perform this mod. 


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Searing on May 21, 2018, 07:37:42 PM
I realized I gave 0.002 btc not 0.003 btc


LTC: LQZpb8AqbggUmsdPKr28DzdNcRP7MJ8kEf

BTC: 1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf


LTC:LX5vpxrQE4eLRLPobKwZhw2comkKFCh3p4




BTC:14w9Lea6kdVzspJk8TQRe7qSYu9LhzJJsh      I sent to here


@ jstefanop  are all above addresses good?

I just sent 0.0022 from profile wallet

https://blockchain.info/tx/5680de333a1efaac0e660aab6030ceb5bcf141614d8bf65cd12a0769840e7bde



and I did send  0.002 from coinbase


https://blockchain.info/tx/9401c0ee31116b421b1e6204bbadba2f576e39ad72f0d10a9f1eade9efdffb3c


So 0.0042 btc total

 will be saving 12 x 100 = 1200 watts   that is over 850 k-watts a month. that is 85 dollars at 10 cents

I will send to you again in June.


so I was checking donations made or at least deposits made

https://blockchain.info/address/1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf

0.01412 btc since may 7

https://blockchain.info/address/14w9Lea6kdVzspJk8TQRe7qSYu9LhzJJsh

0.0042 btc since may 8

https://live.blockcypher.com/ltc/address/LQZpb8AqbggUmsdPKr28DzdNcRP7MJ8kEf/

.2762 ltc  last 10 days


https://live.blockcypher.com/ltc/address/LX5vpxrQE4eLRLPobKwZhw2comkKFCh3p4/

0.0633 ltc last 10 days


so

0.0183 btc =  150 usd

0.3395 ltc =    45 usd


so he has received a max of 195 usd in donations.

Consider that this software saves  me about 100 watts a miner  and I have 12 miners  = 1200 watts  = about 30 kwatts a day or 3.00usd a day at 10 cent a kwatt.

that is 90 a month.  I gave him .0042 btc or 35 usd so far.

If I could code this  I would want a few more then the 195  for the ltc alone.

So I think he will not be rushing to do more for us. @ op I will send you 0.0058 soon  which will be 0.0100 total  and that will equal 1 month of my power savings.

If people want D3 or A3  you could those him more coin.

Be sure to send to his address in his op  https://bitcointalk.org/index.php?topic=3546316.msg36338080#msg36338080



I will donate as soon as me and my partner get around to making these tweaks...but as of now my partner is still setting up L3+'s in the box

and dealing with an electrican...with his stuff..if this keeps up ..the whole thing will be 'moot' anyway...my L3+'s that are up are making

53c a day after electric....just saying..others may be in despair and not really also be jumping on this mod...as we speak..for the same reasons as

me ....why bother improving the engines on the Titanic if the iceberg of difficulty is gonna sink the L3+ boat anyway...

IF we manage to get the LTC price say above $160 again, (where I'm making more than a $1 a day) you

may have some more motivated people...as to myself ..I watch this mess and basically am turning into a

'lump' of an unmotivated miner....ie (are the miners up ...good....goes back to bed pulls covers over his head)





I think your logic is a bit off ;) If anything lower prices/profits will motivate people more to reduce voltages and increase efficiency. If your scraping by and can reduce power by 10-20% thats pretty big...of course 10-20% power reduction did not matter when the L3's were making 1k per month last year ;)

I probably was not clear...if the price of LTC say reaches a point, where you can't mine it with the elec costs for the majority of the 'consumer' small guys

1-20 Bitmain units say...then that leaves Bitmain......centralized mining....likely with new 'supposed' 1.5gh units they will mine for 5 months over the summer

and allow us 'crumbs' of pre-orders in the fall ...after driving up difficulty another 30% say...thus, the choice is see all your pow-scrypt current miners scrap'd

and watch bitmain play these games and have to 'start over' with their products on their timeline in say late fall...

so my point to the 'voltage' fix...sure...it helps a lot....say you get 15% reduction in power..sure...it helps...but just saying...looks a bit rigged...Bitmain...coupons expireiing (most) june 1st, I think it is, etc, etc

and may not really matter much in the next month if trends continue..the end result is pow scrypt pretty much centralized to bitmain data halls and the rest of

the stuff doorstops ..remember we are looking at 30% difficulty rise per month....we saw this game by KNC in 2014 using pre-order money to make BTC Neptunes for

their data halls first and then release to thenpublic...they were good for 5 months and made 25% of cost back at best.....not exactly the same thing...but the intent to

control pow-scrypt seems to ben the same...as KNC BTC tricks ..back in the day...

I will get this stuff up eventually, electrician issues on the place I'm hosting and they have to get 160 L3+'s up (bigger folk than me) thus probably  be 2

weeks before a guy can get to these mods on my stuff

anyway, we will be the first to know I guess

I'll get the donation out as soon as 1) installed 2) and see what I'm making to give him appropriate $$$ he deserves... but a couple months more of sideways

in price with difficulty rises and especially if bitmain really does have supposed 1.5gh units for pow scrypt coming out this summer and same pre-orders for fall

that has me a bit concerned...hopefully I'm dead wrong in a big way...

later
brad




Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: CryptoNewbies on May 22, 2018, 10:46:56 AM
D3 and A3 - still not supported?
[/https://github.com/ForexNeuroTraderquote]

i already tested on A3 and D3 works fine and easy


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: gaalx01 on May 22, 2018, 12:56:52 PM
D3 and A3 - still not supported?
[/https://github.com/ForexNeuroTraderquote]

i already tested on A3 and D3 works fine and easy

What exactly works?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Longsnowsm on May 23, 2018, 02:17:16 AM
So i still have some old L3's around here.  Will this work with the old original L3?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: darval on May 25, 2018, 08:47:05 PM
Hey all,
I took the work that jstephanop did for the L3, cleaned it up a bit to make it easier to script with (there is a quiet mode which just outputs values).  I then added support for the A3 based on the work that FNT did.  We now have a single program that will work with both the L3 and A3 (don't have a D3 but it may work on that too).

At this point I would call it pre-release since although I have tested it on my L3's and A3's, it has not had a lot of testing.  Some of the changes I made include timing changes in theory to make it faster, so I would be interested if you are seeing any error messages at all. 

Like any of this stuff, use at your own risk. :o

Code and binary are here: https://github.com/darval/bitmain-tools

@jstephanop @FNT
If you guys want to merge all this into a single repo, I am good with that.  Take a look at the changes I made and see if you see any issues, or are interested in merging it back into your versions. :)


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Longsnowsm on May 25, 2018, 10:28:11 PM
Is the L3 and L3+ the same as far as using this tool? 


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: darval on May 25, 2018, 10:42:00 PM
Is the L3 and L3+ the same as far as using this tool? 
Unfortunately all I have are L3+'s, so I don't know.  If they are using the same pic, the answer is yes.  If you have one and want to try, it will tell you if it doesn't find the same pic version.  The L3 version expects a pic software version of 0x03, the A3 version expects a pic version of 0x81 and uses a slightly different protocol. 


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: alexis97 on May 26, 2018, 04:15:18 AM
make a script - turn off the fans (maximum speed) when rebooting

$$$


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: gaalx01 on May 26, 2018, 09:14:50 AM
Hey all,
I took the work that jstephanop did for the L3, cleaned it up a bit to make it easier to script with (there is a quiet mode which just outputs values).  I then added support for the A3 based on the work that FNT did.  We now have a single program that will work with both the L3 and A3 (don't have a D3 but it may work on that too).

At this point I would call it pre-release since although I have tested it on my L3's and A3's, it has not had a lot of testing.  Some of the changes I made include timing changes in theory to make it faster, so I would be interested if you are seeing any error messages at all. 

Like any of this stuff, use at your own risk. :o

Code and binary are here: https://github.com/darval/bitmain-tools

@jstephanop @FNT
If you guys want to merge all this into a single repo, I am good with that.  Take a look at the changes I made and see if you see any issues, or are interested in merging it back into your versions. :)

Is there a compiled version for A3 or is the compiled version of v3.2 from L3 + suitable?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: darval on May 26, 2018, 10:28:03 AM
Hey all,
I took the work that jstephanop did for the L3, cleaned it up a bit to make it easier to script with (there is a quiet mode which just outputs values).  I then added support for the A3 based on the work that FNT did.  We now have a single program that will work with both the L3 and A3 (don't have a D3 but it may work on that too).

At this point I would call it pre-release since although I have tested it on my L3's and A3's, it has not had a lot of testing.  Some of the changes I made include timing changes in theory to make it faster, so I would be interested if you are seeing any error messages at all. 

Like any of this stuff, use at your own risk. :o

Code and binary are here: https://github.com/darval/bitmain-tools

@jstephanop @FNT
If you guys want to merge all this into a single repo, I am good with that.  Take a look at the changes I made and see if you see any issues, or are interested in merging it back into your versions. :)

Is there a compiled version for A3 or is the compiled version of v3.2 from L3 + suitable?
The compiled version in the release above works with both L3+ and A3.  There is a flag 'set_voltage -l' for L3+ or 'set_voltage -a' for A3 that tells it which machine you are using it on.  I could change it to autdetect but I figure you know what machine you are running on and I didn't to use the wrong protocol in case it caused unexpected side effects. :(


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: alexis97 on May 26, 2018, 04:36:04 PM
Does it work on the L3?
error on L3 (not L3 +)

root@antMiner1:/config# ./set_voltage 1 D0
-sh: ./set_voltage: Permission denied

p.s.
figured out
-
how to turn off the fans (maximum speed) when rebooting?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: sergey1301 on May 30, 2018, 01:05:17 PM
Thank you!! I'll try later. You need to run through - Mining Rig Rentals? With 0xa0 undervolt you need to reduce power? Will there be no problems?



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Wolf_Tech on May 30, 2018, 01:54:22 PM
I found a easier way and it makes it perm set.

The blizz firmware worked flawless with voltage settings but the dev fee sucked. I did some testing and digging and found out how he changed the voltage inside his firmware.

He changed the values of the gpio drivers to 1 for lowest setting of voltage. I also found once you set the voltage to 1 inside his firmware it makes it perm set inside the miner reguardless of what firmware you use.

I converted mine over which is working fine. I'm at 700 watts at 384Mhz on all my miners now.

Steps to do this.

1. Installed blizz firmware.
2. Goto global settings and Change the voltage to the value of "1" do not use lowest because then it will reset voltage back to 10 if new firmware is loaded.
3. Flash default antminer firmware back.
4. Check temps you will notice the temps about 10c lower which means its working.

No dev fee, Lower Wattage and lower temps.

Also the settings stay in the miner period forever.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: jstefanop on May 31, 2018, 07:08:15 PM
I found a easier way and it makes it perm set.

The blizz firmware worked flawless with voltage settings but the dev fee sucked. I did some testing and digging and found out how he changed the voltage inside his firmware.

He changed the values of the gpio drivers to 1 for lowest setting of voltage. I also found once you set the voltage to 1 inside his firmware it makes it perm set inside the miner reguardless of what firmware you use.

I converted mine over which is working fine. I'm at 700 watts at 384Mhz on all my miners now.

Steps to do this.

1. Installed blizz firmware.
2. Goto global settings and Change the voltage to the value of "1" do not use lowest because then it will reset voltage back to 10 if new firmware is loaded.
3. Flash default antminer firmware back.
4. Check temps you will notice the temps about 10c lower which means its working.

No dev fee, Lower Wattage and lower temps.

Also the settings stay in the miner period forever.

Blizz and I use the same way to change the voltage...it flashes the PIC controller's voltage offset which persists on the actual hash board (its not inside the linux controller). My tool does that exact same thing, without needing to flash his firmware, change the voltage, and flash back...not sure how that is "easier" :p

I guess it makes sense if your that scared to learn 3 command lines and need a GUI to do it.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: WetHook on June 02, 2018, 08:18:57 PM
Thank you!
$25 sent in LTC and more on the way soon.
759903410b55d3ad7231a7b272dbd05f83f2c5cd170571cee905770ab8478eec


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: greyday on June 06, 2018, 08:58:24 AM
EDIT: I found the solution, it's even on page one, but I'm leaving this here as it would help other new folk for you to add that to the instruction post, and it should definitely be in the github readme. Otherwise, good work, it works well. :)

ORIGINAL PROBLEM:

Posted this to the github as well, but sharing here too:

Tried running script following README and not found. CPed the file to match the command name (copied version removed the _new.c) and result was this:

./set_voltage: line 1: //: Permission denied
./set_voltage: line 2: //: Permission denied
./set_voltage: line 3: //: Permission denied
./set_voltage: line 4: //: Permission denied
./set_voltage: line 5: //: Permission denied
./set_voltage: line 6: //: Permission denied
./set_voltage: line 28: static: not found
./set_voltage: line 29: static: not found
./set_voltage: line 30: static: not found
./set_voltage: line 31: static: not found
./set_voltage: line 32: static: not found
./set_voltage: line 33: static: not found
./set_voltage: line 34: static: not found
./set_voltage: line 35: pthread_mutex_t: not found
./set_voltage: line 36: pthread_mutex_t: not found
./set_voltage: line 40: syntax error: unexpected "("


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: greyday on June 06, 2018, 09:34:00 AM
All of the above said, at 475 freq it helped me shave 2-3 degrees off per card, which is well worth a $20 from me, donating now. Well done!


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: bclcjunkie on June 09, 2018, 03:27:04 AM
great work buddy! So that means this should work on D3s too? Has anyone tried this jstefanop's tool on D3s?


I found a easier way and it makes it perm set.

The blizz firmware worked flawless with voltage settings but the dev fee sucked. I did some testing and digging and found out how he changed the voltage inside his firmware.

He changed the values of the gpio drivers to 1 for lowest setting of voltage. I also found once you set the voltage to 1 inside his firmware it makes it perm set inside the miner reguardless of what firmware you use.

I converted mine over which is working fine. I'm at 700 watts at 384Mhz on all my miners now.

Steps to do this.

1. Installed blizz firmware.
2. Goto global settings and Change the voltage to the value of "1" do not use lowest because then it will reset voltage back to 10 if new firmware is loaded.
3. Flash default antminer firmware back.
4. Check temps you will notice the temps about 10c lower which means its working.

No dev fee, Lower Wattage and lower temps.

Also the settings stay in the miner period forever.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: TheMiningDwarf on June 16, 2018, 05:41:21 PM
Hi
Window user here, Never used command line that much in my life, but with several tiral and error I made it.
Its easier then it look.
Donation sent : https://blockchain.info/address/1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf
Thanks again for the tool and tanks for all members here who I PM and helped me.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Wolf_Tech on July 18, 2018, 01:39:17 AM
I tried it this way all I get is permission denied.

Putty direct in ssh.



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Wolf_Tech on July 18, 2018, 02:12:59 AM
Figured it out. Also 0xfe is not the lowest its 0xff according to blizz firmware.

But the set_voltage wont allow that setting


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on September 08, 2018, 01:10:15 PM
not to lose the crypto currency in MEW, read this article

ht tp:// s0e.ru/ 4739963


phishing again


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: alexis97 on September 12, 2018, 08:19:20 PM
Make the same for the z9 mini, because new batch of miners since September does not work in the dispersal, only at 600
probably because of the voltage


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: fyoung55 on September 22, 2018, 04:40:09 PM
Great work!  I wish I had seen this back in May  :(

Currently running 425 freq which is 555Mh/s and only pulling 760W.  Only getting about 8 - 10 HW errors per hour and my nonce HW error is about .03%

Fans are set to 30% which keeps me under 50 on all bards.

Had to set all of my volatges to f0 since fe kicked out too many HW errors.  Sending some LTC your way in thanks for saving me some money!



Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: fliperone on September 25, 2018, 02:14:05 PM
I found a easier way and it makes it perm set.

The blizz firmware worked flawless with voltage settings but the dev fee sucked. I did some testing and digging and found out how he changed the voltage inside his firmware.

He changed the values of the gpio drivers to 1 for lowest setting of voltage. I also found once you set the voltage to 1 inside his firmware it makes it perm set inside the miner reguardless of what firmware you use.

I converted mine over which is working fine. I'm at 700 watts at 384Mhz on all my miners now.

Steps to do this.

1. Installed blizz firmware.
2. Goto global settings and Change the voltage to the value of "1" do not use lowest because then it will reset voltage back to 10 if new firmware is loaded.
3. Flash default antminer firmware back.
4. Check temps you will notice the temps about 10c lower which means its working.

No dev fee, Lower Wattage and lower temps.

Also the settings stay in the miner period forever.

Blizz and I use the same way to change the voltage...it flashes the PIC controller's voltage offset which persists on the actual hash board (its not inside the linux controller). My tool does that exact same thing, without needing to flash his firmware, change the voltage, and flash back...not sure how that is "easier" :p

I guess it makes sense if your that scared to learn 3 command lines and need a GUI to do it.

Great work mate! Please can you take a look into Z9 mini as well? They changed something from Batch 1 to Batch 2 and now we cant OC them any more. They must have lowered the Voltages as the machines become unstable :/


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: ZergeZ on October 06, 2018, 07:35:45 PM
Hello All!

Does somebody have  last version of binary  from darval:    set_voltage_new    (v0.3)   which can work with 16f1704 in both protocols?
I didn't find it on github.

Pls, put here or in PM.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: efudd on October 06, 2018, 07:50:17 PM
Hello All!

Does somebody have  last version of binary  from darval:    set_voltage_new    (v0.3)   which can work with 16f1704 in both protocols?
I didn't find it on github.

Pls, put here or in PM.

I do not think anything exists yet for the 16F1704, but I welcome correction.
That is one of the things I'm hoping to work on soon.

-j


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: ZergeZ on October 06, 2018, 08:19:47 PM
Hello dear freind.  I glad to hear your again!

You may be right, but I asked about little another.
There are present code for control voltage via 16f1704 on github, made by darval:    set_voltage_new    (v0.3):
https://github.com/darval/bitmain-tools/releases/tag/v0.3 (https://github.com/darval/bitmain-tools/releases/tag/v0.3)

But I need compiled binary file for this code which not present there. I'm beginer in Linux and cann't compile it myself - something do wrong.

Can somebody show me right commands for compile c code  to binary, using  Linux inside Asic?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: efudd on October 06, 2018, 11:38:04 PM
Hello dear freind.  I glad to hear your again!

You may be right, but I asked about little another.
There are present code for control voltage via 16f1704 on github, made by darval:    set_voltage_new    (v0.3):
https://github.com/darval/bitmain-tools/releases/tag/v0.3 (https://github.com/darval/bitmain-tools/releases/tag/v0.3)

But I need compiled binary file for this code which not present there. I'm beginer in Linux and cann't compile it myself - something do wrong.

Can somebody show me right commands for compile c code  to binary, using  Linux inside Asic?

I would love to help, but at the moment I do not have an ARM environment to compile in. I just checked the code there and it does not mention 16f1704 at all... instead it is an attempt at a generic implementation that covers multiple PICs. I'm unsure if the 16F1704 fits into what was used on the A3 or not.

-j


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: ZergeZ on October 07, 2018, 08:50:11 PM
I'm unsure if the 16F1704 fits into what was used on the A3 or not.
A3 and L3+ have same 16F1704, also as z9m.  May be it has another adreses, or something else made another.
You investigated z9 big.  Is there same VRM scheme as on z9m?

Are somebody  can make good photos of A3 and L3+ hash plate?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: efudd on October 07, 2018, 09:23:20 PM
I'm unsure if the 16F1704 fits into what was used on the A3 or not.
A3 and L3+ have same 16F1704, also as z9m.  May be it has another adreses, or something else made another.
You investigated z9 big.  Is there same VRM scheme as on z9m?

Are somebody  can make good photos of A3 and L3+ hash plate?

Ah, ok. That helps a ton then -- I have another Z9 large coming in this wednesday (I'm without hardware at the moment) and can investigate then.

-j


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: carrierlost on October 21, 2018, 03:41:24 PM
Would it possible to support the X3 as well?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: FNT on October 22, 2018, 05:56:34 AM
Hi guys,

for A3 pics, check my post:

https://bitcointalk.org/index.php?topic=3080241.msg31765109

A3 uses PIC 1704 to control the voltage.

Bye, FNT


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on December 18, 2018, 03:33:06 AM
I was loading some ebay l3+  with  the  set_voltage control and got this


https://i.imgur.com/N5HUIrB.png









How do I fix it.  I loaded 11 units today with low volt software   but this one  does not allow it.

Is there a way to correct the issue?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: ZedZedNova on December 18, 2018, 05:48:52 AM
I was loading some ebay l3+  with  the  set_voltage control and got this


https://i.imgur.com/N5HUIrB.png









How do I fix it.  I loaded 11 units today with low volt software   but this one  does not allow it.

Is there a way to correct the issue?

Hi Phil,

in that terminal window type:
Code:
\rm -f ~/.ssh/known_hosts
then hit return
you should be able to login again


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on December 19, 2018, 04:40:54 AM
I was loading some ebay l3+  with  the  set_voltage control and got this


https://i.imgur.com/N5HUIrB.png









How do I fix it.  I loaded 11 units today with low volt software   but this one  does not allow it.

Is there a way to correct the issue?

Hi Phil,

in that terminal window type:
Code:
\rm -f ~/.ssh/known_hosts
then hit return
you should be able to login again


thanks I will try when I wake  up as it is late and I have been busy playing with the avalon a921


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on December 19, 2018, 11:11:31 PM
okay did this

philsbeasts-Pro:~ philsbeast$ \rm -f -/.ssh/known_hosts
rm: illegal option -- /
usage: rm [-f | -i] [-dPRrvW] file ...
       unlink file
philsbeasts-Pro:~ philsbeast$
\rm -f ~/.ssh/known_hosts

note not -

\rm -f ~/.ssh/known_hosts

it worked thanks here is a merit


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: ZedZedNova on December 22, 2018, 08:29:17 PM
okay did this

philsbeasts-Pro:~ philsbeast$ \rm -f -/.ssh/known_hosts
rm: illegal option -- /
usage: rm [-f | -i] [-dPRrvW] file ...
       unlink file
philsbeasts-Pro:~ philsbeast$
\rm -f ~/.ssh/known_hosts

note not -

\rm -f ~/.ssh/known_hosts

it worked thanks here is a merit

ugh, yeah, I see that when I wrapped the command in the code format it made the ~ look like a -. It was late and I didn't notice it.

Glad it worked for you. Thanks for the merit.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on July 10, 2019, 12:27:59 AM
Bumping this as it will save you money. Now that l3+ gear is back in demand to some degree.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: ejonathonw on August 13, 2019, 02:28:17 AM
Bumpity Bump Bump.

Little late to the wagon train but this tool is awesome.  Took some edumacations to figure it out but after perusing the thread all the answers are there.  Big fan of yours! Keep on rocking.  Still pretty young in the game, but if my Doge goes to the moon, I'll convert it to LTC and throw you a bone lol.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on October 20, 2019, 10:42:44 PM
Bumpity Bump Bump.

Little late to the wagon train but this tool is awesome.  Took some edumacations to figure it out but after perusing the thread all the answers are there.  Big fan of yours! Keep on rocking.  Still pretty young in the game, but if my Doge goes to the moon, I'll convert it to LTC and throw you a bone lol.

Bump this up still running. L3+ gear thank you


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Epochjump on November 04, 2019, 02:04:28 AM
Bumpity Bump Bump.

Little late to the wagon train but this tool is awesome.  Took some edumacations to figure it out but after perusing the thread all the answers are there.  Big fan of yours! Keep on rocking.  Still pretty young in the game, but if my Doge goes to the moon, I'll convert it to LTC and throw you a bone lol.

Bump this up still running. L3+ gear thank you
I got 55 L3+ I'd like to convert. I don't have the time or knowledge to do this. If I remote you in on Team Viewer would you do these for a fee? Is it a lot of hours in work?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on November 04, 2019, 05:15:56 AM
Bumpity Bump Bump.

Little late to the wagon train but this tool is awesome.  Took some edumacations to figure it out but after perusing the thread all the answers are there.  Big fan of yours! Keep on rocking.  Still pretty young in the game, but if my Doge goes to the moon, I'll convert it to LTC and throw you a bone lol.

Bump this up still running. L3+ gear thank you
I got 55 L3+ I'd like to convert. I don't have the time or knowledge to do this. If I remote you in on Team Viewer would you do these for a fee? Is it a lot of hours in work?

I did them on a mac not a pc.

maybe you can do ten an hour on a mac.

so 55 would be five maybe six hours.  It would save. 5000 to 5500 watts. or 120 kwatts a day. or 3600 kwatts a month. 


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Russel20 on January 21, 2021, 12:05:24 PM
Hi, everybody. Please tell me how to disable the fan check. in the asic firmware. Since you need to ship in liquid.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: philipma1957 on January 21, 2021, 04:20:45 PM
Hi, everybody. Please tell me how to disable the fan check. in the asic firmware. Since you need to ship in liquid.


So I don't think you can do that.  but you can trick the fan check with this


https://www.ebay.com/itm/New-Miner-fan-simulator-Antminer-Bitmain-for-oil-immersion-asic-cooling/264274759579?


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: Russel20 on January 23, 2021, 08:12:56 AM
blissz is how-it is realized. I need there to be no fan check and a quiet start


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: racebyu on March 18, 2021, 12:39:25 AM
Volt mod and crypto price increase has made the old L3+ miners viable again, not too many newer units out
that do not cost a bunch of $$$ like Innosilicon A6+ or Goldshell LT5. Alt season should hopefully be starting
soon once BTC hits its big spike and retreats.


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: ETZ on January 09, 2022, 06:16:03 PM
Hi guys sorry if i disturb you, next month i should get a Bitmain L3 ++ and i have seen that some users have used a modular power supply and replaced the original fans with noctua i would like to know if there is any guide on how to make this change.
PS: Thanks everyone.
Here (https://www.youtube.com/watch?v=5qvcfxsTWTw)


Title: Re: Bitmain L3+ Voltage Control Tool...Free :)
Post by: fabioA1 on January 31, 2022, 09:11:58 PM
Hi, I have only just seen your interesting post, I would like to try it on my L3 + (3pcs) too. Not knowing programming, I don't understand where the binary code goes. I can't find places where to enter the code in the antimainer screen (http://192.168.1.106/). can you help me like you would an illiterate? they rewarded you as you see fit.
thank you
So certain members of this forum think its cool to rip off GPL code then do simple mods and profit greatly off it without releasing the code after having plenty of time to do so, therefore I decided to release a simple binary that does the most important function for free on the stock L3+ firmware ;) Figured lots of L3+ users would appreciate this with low profits and summer incoming.

My tests show that most boards will run on stock frequency (384) at the lowest voltage setting (0xfe) reliably at about 160 watts per board at the wall.

Source and release binary are here: https://github.com/jstefanop/bitmain-tools

This binary allows you to easily modify voltages on a per board bases for L3+ miners. It *should* work on all L3+ boards as long as they have the proper PIC version, If the binary complains about a wrong PIC version let me know (it wont do anything unless your board has the version I have tested on).

USAGE:

Since this need to be run directly from the miner console, below is my attempt at a user friendly instructions for people not familiar with the command line:

Download the release binary on GitHub and copy it over to your antminer:

Code:
scp [Directory you downloaded tool]/set_voltage root@[your miners ip]:/config

ssh into your miner and cd to config folder (this is the only folder that is saved on reboot on antminers so we saved the binary here).

Code:
ssh root@[your miners ip]
cd /config

binary accepts two inputs in the format of:

Code:
./set_voltage [chain# 1-4] [voltage in hex]

bitmains voltage controller can be configured to change the 12v input roughly +/- 1v from 10v, and this is configurable via a hex range of 0x00-0xfe, with the default being set to the middle (0x80). Higher hex values (0x80-0xfe) will LOWER voltage, lower values (0x00-0x7f) will INCREASE voltage from the default.

If your not familiar with hex numbering, all you need to know is that they range from 0-9, then a-f

For example if you want to slightly decrease your voltage on chain #1 you would input:

Code:
./set_voltage 1 90

increments of 0x10 are good starting point to test a sweet spot for each board for a particular frequency. Lowering voltage until you get around 1 HW error per minute is usually a good reference “sweet spot.”

So lower voltages from stock in increments of 0x10 are 90, A0, B0, C0, D0, E0, F0 and higher are 0x70, 0x60, 0x50 etc. If you want slightly higher resolution just go increments of 0x08, so lowering voltage in lower increments would look like 0x88, 0x90, 0x98, 0xA0, 0xA8, 0xB0 etc.

The tool directly writes the voltages to the pic controllers memory, so all changes are saved even on reboot and power down. If you want to set everything back to stock, you have to set the stock voltage for each chain using:

Code:
./set_voltage 1 80
./set_voltage 2 80
./set_voltage 3 80
./set_voltage 4 80

Enjoy! Keep in mind that the "other" solution has take a good few bucks or so a month of profit per L3 miner, so while I like helping out the community when I can especially in cases like this, please consider donating a few dollars per L3 if you end up using this tool, especially if you guys want me to work on similar tools or release more free stuff (like the auto voltage tuner I'm working on)  :P

LTC: LQZpb8AqbggUmsdPKr28DzdNcRP7MJ8kEf
BTC: 1LeA29mLjTFCyB5J6Yiq4TFtAck2VDPUZf


DISCLAMER: While the tool has basic error checking its not idiot proof, so be careful especially when overvolting. IM NOT RESPONSIBLE IF YOU FRY YOUR BOARD.