Bitcoin Forum
June 24, 2018, 10:55:26 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [All]
  Print  
Author Topic: Hacking the S7 - improving efficiency through minor hardware manipulation  (Read 25010 times)
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 08, 2016, 11:22:24 PM
Merited by OgNasty (1), BitMaxz (1), HagssFIN (1)
#1

So, first thing first. This talk is pretty much specific to the 135-chip S7 version. The earlier 154-chip batches, what with the taller string and fixed voltage, are already as good as they're going to be without a regulator inline of your power supply. But the 135-chip is a bucked string, meaning it's got that regulator built into the board.

It looks like the stock voltage setpoint for an S7 is about 10.3V, or in the 690mV-per-node setpoint. That's about right for 700MHz according to the BM1385 datasheet. A lower-clocked S7 might have a lower voltage setpoint. I just received an S7LN, which is built for 600MHz on two blades; I measured the setpoint at 10.16V or 677mV per node.

The setpoint voltage is fixed. There is no knob to turn to change this.

HOWEVER...

The regulator's voltage is set by a digital potentiometer - more specifically, a digital rheostat (MCP4017). Basically a variable resistor whose resistance is determined by feeding it a number through a serial line. The default value is right in the middle, which is why some "dead" S7 will start to 9.3V - because the value isn't getting updated, so it stays on the middle setting. What should happen is the value gets updated by a little microcontroller (PIC12F1572), which pushes out a fresh value from memory as soon as it kicks on.

That's why Bitmain wants you to power the controller on last (or at least one potential reason), is because the DPOT and PIC get power from the 3.3V wire on the 18-cable to the controller. The "off" value of the DPOT is maximum, so the thing starts to well under 9V; as soon as the circuits see that 3.3V coming in from the controller, the DPOT lights up to center and a short time (a number of milliseconds) later the PIC sends it the number Bitmain gave 'em. If that PIC is toasted, that's when you sit at 9.3V and your S7 is only good for about 450MHz.

At the end of the S7 board are two headers. One two-pin header, GND and tied to a pin on the PIC. One six-pin header, wired up just right for In-Circuit Serial Programming of the PIC. What this means is, with the right basic hardware you should be able to pull firmware off the PIC or update it with your own.

One pin of the PIC, which can be configured for serial data, is tied to the TX pin on the 18-cable. Whether this means it can receive serial data from the controller or not is up to conspiracy theorists to decide. Does Bitmain have a secret version of S7 controller firmware which can change the voltage and they're keeping it for themselves? Maybe. Who knows. For the purposes of the immediate discussion, this is moot.

The PIC12F1572 does not have I2C hardware. Which means the protocol and timings would have to be implemented in software. Since we are talking to only a single device so we don't have to handle collissions, and it responds fast so clock stretching is unnecessary, and since we're only writing so getting responses is unnecessary anyway, it should be pretty straightforward.

I have generated a chart, not of every possible voltage the DPOT can set (since a lot of the voltages are so close together) but of more than half of them. I found hex values corresponding to every 10mV per node from 770mV down to 580mV, which is probably enough granularity for most people.

So what I'm thinking of doing is seeing about writing a basic custom firmware for the PIC, which still unfortunately implements fixed voltage but which can be updated easily to any voltage you want. What I'd probably do is have a set of files, each one labeled with its final setpoint voltage. The PIC would be programmed to set the voltage about 5% high for about a minute, which will help with bootup, warmup and the like. Then it would drop down to the setpoint.

I'm going to be up to my eyeballs in Compac and PSU board manufacture for the next couple weeks, so if anyone already has experience with PICs (and with bit-banging I2C) I'd certainly be interested in sharing what I know and some guinea pig hardware. Otherwise it'll be a hit-or-miss project for me, that probably shouldn't take more than a day or two except it'll be in odd hours between things. That, and I've never programmed PIC and I haven't done any microcontroller coding in about six years.



Guts of the thing - you can see my PICKit that I used to pull firmware and which I'd use to update with new once I can. Also the Bus Pirate currently attached in place of the PIC and feeding values to the DPOT directly.





This setup is currently set at 9.14V (610mV per node) and running at 450MHz stable. You'll probably complain that the error rate is way high. But of the 852 errors noted, 848 of them were from the first 3 minutes while it was warming up and I was still jacking around with the voltage.

If anyone's interested in donating toward this project, 1CoLDs7XNi8ehyFnGWicUhgBGb7Kw42Ugi

1529880926
Hero Member
*
Offline Offline

Posts: 1529880926

View Profile Personal Message (Offline)

Ignore
1529880926
Reply with quote  #2

1529880926
Report to moderator
1529880926
Hero Member
*
Offline Offline

Posts: 1529880926

View Profile Personal Message (Offline)

Ignore
1529880926
Reply with quote  #2

1529880926
Report to moderator
1529880926
Hero Member
*
Offline Offline

Posts: 1529880926

View Profile Personal Message (Offline)

Ignore
1529880926
Reply with quote  #2

1529880926
Report to moderator
The World's Betting Exchange

Bet with play money. Win real Bitcoin. 5BTC Prize Fund for World Cup 2018.

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

Posts: 1529880926

View Profile Personal Message (Offline)

Ignore
1529880926
Reply with quote  #2

1529880926
Report to moderator
ZedZedNova
Sr. Member
****
Offline Offline

Activity: 412
Merit: 257

Ooh La La, C'est Zoom!


View Profile
June 08, 2016, 11:56:35 PM
#2

Interesting project for sure. Looking forward to the updates.

Cheers,

- zed

BTC mining @ ckpool.org | ckpool mining stats || ethOS GPU mining rig Stats || L3+ mining and WTT Tokens @ Giga-Watt
-=O=-
Digital Ocean is where my Masternodes run Digital Ocean Referral Link
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 1484
Merit: 1063


Evil beware: We have waffles!


View Profile
June 09, 2016, 12:47:30 AM
#3

Interesting...
On the batch ones, is the string voltage set by what the PSU provides (at the PCIe plugs) or a fixed board-level buck? I ask because I have a b1 at work that has oc'd beautifully - set to 700MHz both ck and M's Miner Monitor pegs its average hashrate @ 5.43THs with peaks of 6THs and higher  Shocked I have a b5 that does almost as well. Wonder what they would do with a tad more Vcore done by raising the PSU voltage a tad? Wink

For bitcoin to succeed the community must police itself - Joshua Zipkin aka Joshua Alexander leaked AMT A1 miner skype chats
How a miner mfgr SHOULD operate: HaggsFIN trip to Canaan My info useful? Donations welcome! 1Fuzzyk398kDWVjuC5qPX5v6CjSkvbgAbd
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 09, 2016, 01:00:31 AM
#4

If it's a 154-chip, it's straight off the PSU with no regulation. The later 135-chip batches are regulated. As far as I know, the setpoint is not affected by the PSU voltage.

NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 1484
Merit: 1063


Evil beware: We have waffles!


View Profile
June 09, 2016, 01:14:19 AM
#5

If it's a 154-chip, it's straight off the PSU with no regulation. The later 135-chip batches are regulated. As far as I know, the setpoint is not affected by the PSU voltage.
Cool
So if I dial up the output from a IBM 2kw supply another 1/10v or more, things might get interesting...

Sidenote: After the bonded T1 service at work that supplies the VOIP phones and i'net being down since ~ 7:30 this morning, as of 1 hour ago it looks like it's back up. I left 2 s5's powered up there to watch on ck pool. That outage dropped me 86.4THs for (over) 14hrs.  Cry More of a bugger is that now I just don't feeling like going 20 miles to bring it all back up. That can wait til the morning I...

For bitcoin to succeed the community must police itself - Joshua Zipkin aka Joshua Alexander leaked AMT A1 miner skype chats
How a miner mfgr SHOULD operate: HaggsFIN trip to Canaan My info useful? Donations welcome! 1Fuzzyk398kDWVjuC5qPX5v6CjSkvbgAbd
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 09, 2016, 01:57:07 AM
#6

And by "154-chip" obviously I mean "162-chip", which is to say 54 chips per board. Whoops.

adaseb
Legendary
*
Offline Offline

Activity: 1638
Merit: 1058



View Profile
June 09, 2016, 02:03:45 AM
#7

So since each blade is about 200 watts, can these operate at close to the S3 noise levels? Your temps are 47C can you run these S7 safely at like 60C with a slower fan speed?


.FORTUNE.JACK.
      ▄▄███████▄▄
   ▄████▀▀ ▄ ██████▄
  ████ ▄▄███ ████████
 █████▌▐███▌ ▀▄ ▀█████
███████▄██▀▀▀▀▄████████
█████▀▄▄▄▄█████████████
████▄▄▄▄ █████████████
 ██████▌ ███▀████████
  ███████▄▀▄████████
   ▀█████▀▀███████▀
      ▀▀██████▀▀
         
         █
...FortuneJack.com                                             
...THE BIGGEST BITCOIN GAMBLING SITE
       ▄▄█████████▄▄
    ▄█████████████████▄
  ▄█████████████████████▄
 ▄██
█████████▀███████████▄
██████████▀   ▀██████████
█████████▀       ▀█████████
████████           ████████
████████▄   ▄ ▄   ▄████████
██████████▀   ▀██████████
 ▀██
█████████████████████▀
  ▀██
███████████████████▀
    ▀█████████████████▀
       ▀▀█████████▀▀
#JACKMATE
WIN 1 BTC
▄█████████████████████████▄
███████████████████████████
███████████████████████████
██████████▀█████▀██████████
███████▀░░▀░░░░░▀░░▀███████
██████▌░░░░░░░░░░░░░▐██████
██████░░░░██░░░██░░░░██████
█████▌░░░░▀▀░░░▀▀░░░░▐█████
██████▄░░▄▄▄░░░▄▄▄░░▄██████
████████▄▄███████▄▄████████

███████████████████████████
███████████████████████████
▀█████████████████████████▀
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 09, 2016, 02:23:04 AM
#8

I bet you could. The 47C it's currently running, it's only got the pusher fan installed. I bet with both, even with both blades powered up, it'd be a lot cooler.

I'm not going to hardware-hack the other blade, gonna use that as a guinea pig for software changes, so I won't be able to report on that for a while. But there's probably talk about it in the S7LN thread.

RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 09, 2016, 05:56:18 PM
#9

Good to see someone hacking this... I have some PIC hacking experience as was part of a team that reverse engineered and reprogrammed the PIC in the Scalextric Digital Powerbase. Have Pickit 2 and Logic Analyser etc, however no 135 Chip S7. I will look into solving that if the couple of S5 I have on ebay sell.

Rich

→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 09, 2016, 06:06:58 PM
#10

If I'd had the budget I'd have bought one ages ago just for this reason, but it wasn't until I sold the rest of my Compac batch and Bitmain had one for $300 that I was able to bite.

Think you can write a bit-bang I2C capable of sending a single two-byte instruction, waiting for a minute and sending another? The pick-and-place is keeping me pretty busy today but in spare moments I'm looking up details on I2C timings and such, next step is learning the PIC instruction set and breadboarding a bit.

RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 09, 2016, 06:59:14 PM
#11

Yes probably but like you have a lot of other stuff on my plate at the moment. I had however when I first saw the 135 chip S7 bought some PIC12F1572 and some MCP4017 so time permitting can knock something up without an S7. Will PM you with and email as might be interesting to look at the hex code you have downloaded.

Rich

→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 09, 2016, 07:03:28 PM
#12

Alright. I'll keep working on my end and see what I come up with.

The only S7 blade I had access to before yesterday was a roasted 54-chip from a Batch 1 miner, or I'd have been working on this around February.

yslyung
Legendary
*
Online Online

Activity: 1470
Merit: 1000


Mine Mine Mine


View Profile
June 09, 2016, 07:41:03 PM
#13

wow !!! thx for the experiment & find, keeping an eye on this for sure.
philipma1957
Legendary
*
Offline Offline

Activity: 2142
Merit: 1245


Avalon 841 rocks


View Profile
June 09, 2016, 08:13:34 PM
#14

wow !!! thx for the experiment & find, keeping an eye on this for sure.

a 2 board  7 lite down clocked to 2000gh doing .18 watts a gh would be a 360 watt machine.

it would be a decent item

I mine alt coins with https://simplemining.net...
I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 09, 2016, 08:20:47 PM
#15

If it'll hit 0.18 - that's a stretch. You'll probably lose 5% in the buck, then add 30W for fans and controller, and 10% to the PSU, gives you 450W wall. Still almost twice the hashrate of an S5 for 3/4 the power draw, and probably a lot quieter given a sealed chassis and push-pull fans.

It looks like I'll be working on code this evening and probably tomorrow, so who knows but I might not actually have it working by burger time.

kipper01
Full Member
***
Offline Offline

Activity: 205
Merit: 100

1KippERXwH1PdBxKNt1ksgqh89WBv6CtWQ


View Profile
June 09, 2016, 10:34:48 PM
#16

Cant wait to see what you come up with sidehack.

philipma1957
Legendary
*
Offline Offline

Activity: 2142
Merit: 1245


Avalon 841 rocks


View Profile
June 09, 2016, 10:42:08 PM
#17

If it'll hit 0.18 - that's a stretch. You'll probably lose 5% in the buck, then add 30W for fans and controller, and 10% to the PSU, gives you 450W wall. Still almost twice the hashrate of an S5 for 3/4 the power draw, and probably a lot quieter given a sealed chassis and push-pull fans.

It looks like I'll be working on code this evening and probably tomorrow, so who knows but I might not actually have it working by burger time.

so 450 to 2000gh  is .225 watts` per gh

with a titanium maybe 430 watts  or .215 watts a gh.

good numbers don't know how many I would get , but at least one.

I mine alt coins with https://simplemining.net...
I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 09, 2016, 11:04:44 PM
#18

If everything works how I think it should, anyone with a PIC programmer and a screwdriver could rework any S7 to run undervolted. At the same numbers as estimated above, a full 135-chip S7 would run 3TH at under 700W. I don't actually know how good it'll be until I do some more testing, and once I have functional writeable boards I can start measuring actual power draws. I'm really gonna try and get it working tomorrow, pretty excited anyways. I have a working flowchart drawn up for the I2C comms, but I'll need to learn some of the instruction set and the specifics of the chip to be able to get the timings right.

NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 1484
Merit: 1063


Evil beware: We have waffles!


View Profile
June 10, 2016, 12:41:15 AM
#19

Me likey. Me likey a LOT!
Considering with the 3 s7's I had planned taking off line at home (being replaced with ma s9 whenever it gets here) and the 2x batch-18 um, spares, I have. This is looking very good: After undervolting the farm to stably run ~ 4THs per miner pulling under 700w (edit, 1,100w) each would let me put most if not all the s'7s I have back online with still less than my current power budget. 'Taint ran the #'s but  methinks more THs ta boot Cheesy

Tossing a coin into the tip jar for this!

For bitcoin to succeed the community must police itself - Joshua Zipkin aka Joshua Alexander leaked AMT A1 miner skype chats
How a miner mfgr SHOULD operate: HaggsFIN trip to Canaan My info useful? Donations welcome! 1Fuzzyk398kDWVjuC5qPX5v6CjSkvbgAbd
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 10, 2016, 01:19:16 AM
#20

Actually, 4TH would be more like 1100W.

NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 1484
Merit: 1063


Evil beware: We have waffles!


View Profile
June 10, 2016, 01:31:54 AM
#21

Actually, 4TH would be more like 1100W.
Still nice shaving of the power. More #'s for me to play with to see how much hash & 'spare' miners I can fit in my power budget.

edit: re: my free power (at work) advantage. While playing with numbers turns out I'm using 23kw there which at our rate works out to just s tad under $1,600/mo. Wink Anywho, after deducting that from what the entire farm brings in including what is at home, I'd still NET around $5k/mo. Think I might talk to my Partner about setting up an automatic Coinbase xfr to the company each mo to be nice, eh?

I can certainly afford the BTC2.7-2.8 per month and it'd help a bit towards our current massive R&D expenses piling up for this year. To date that is somewhere close to $450k and climbing fast. That's not counting the usual price of a very nice Ultrafast laser from Trumpf http://www.us.trumpf.com/en/products/laser-technology/products/solid-state-lasers/short-pulsed-lasers/trumicro-series-5000-femto-edition.html that is so far on a FREE 6/mo loan to us from them... OTH, I have nice shiny new toys to play, er, I mean do mid-Pico down to high Femto-sec time scales material interaction tests with. With a selectable choice of IR/Green/UV wavelengths no less.

For bitcoin to succeed the community must police itself - Joshua Zipkin aka Joshua Alexander leaked AMT A1 miner skype chats
How a miner mfgr SHOULD operate: HaggsFIN trip to Canaan My info useful? Donations welcome! 1Fuzzyk398kDWVjuC5qPX5v6CjSkvbgAbd
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 10, 2016, 02:53:36 AM
#22

One of these days I really wanna hang out at your shop.

NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 1484
Merit: 1063


Evil beware: We have waffles!


View Profile
June 10, 2016, 03:24:54 AM
#23

One of these days I really wanna hang out at your shop.
If you are ever up here in area feel free  to stop by. Current work is to once again leapfrog ahead of what our few competitors can provide. Since the last industry jump I did back in 2007 they are slowly figuring how we do what we do so bloody fast and tiny. http://www.industrial-lasers.com/articles/2007/11/processing-ceramic-substrates.html (edit: note the article was our 1st release of Public information. In 2010 we skyrocketed speeds to now 5x those mentioned...) The LED lighting explosion going on everywhere is a direct result of what I came up with back then re: micro-machining ceramics for die heat spreaders in the emitter chips and other high power density chips. The actual emitter dies are smaller than the then-current thermal/electrical via sizes *were* back then. We shattered that limitation so more emitters in same package size. Figure another 2-3 years tops and they will be offering what we do today if they can work a way around our patents.

For bitcoin to succeed the community must police itself - Joshua Zipkin aka Joshua Alexander leaked AMT A1 miner skype chats
How a miner mfgr SHOULD operate: HaggsFIN trip to Canaan My info useful? Donations welcome! 1Fuzzyk398kDWVjuC5qPX5v6CjSkvbgAbd
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
hurricandave
Legendary
*
Offline Offline

Activity: 944
Merit: 1000



View Profile
June 10, 2016, 04:49:30 AM
#24

This will sound stupid but, would the controller care if you pulled the fans and ran them from a separate speed controller like a evercool twister or equivalent?
Unacceptable
Legendary
*
Offline Offline

Activity: 2212
Merit: 1001



View Profile
June 10, 2016, 07:37:41 AM
#25

One of these days I really wanna hang out at your shop.
If you are ever up here in area feel free  to stop by. Current work is to once again leapfrog ahead of what our few competitors can provide. Since the last industry jump I did back in 2007 they are slowly figuring how we do what we so so bloody fast and tiny. http://www.industrial-lasers.com/articles/2007/11/processing-ceramic-substrates.html The LED lighting explosion going on everywhere is a direct result of what I came up with back then re: micro-machining ceramics for die heat spreaders in the emitter chips and other high power density chips. Figure another 2-3 years tops and they will be offering what we do today if they can work a way around our patents.


"If you run into an asshole in the morning, you ran into an asshole. If you run into assholes all day long, you are the asshole."  -Raylan Givens
Got GOXXED ?? https://www.youtube.com/watch?v=9KiqRpPiJAU&feature=youtu.be
"An ASIC being late is perfectly normal, predictable, and legal..."Hashfast & BFL slogan Smiley
philipma1957
Legendary
*
Offline Offline

Activity: 2142
Merit: 1245


Avalon 841 rocks


View Profile
June 10, 2016, 08:28:18 AM
#26

This will sound stupid but, would the controller care if you pulled the fans and ran them from a separate speed controller like a evercool twister or equivalent?

yes  it would care but you could splice the tach wire into the controller and fool the unit.

not sure why you would do all that since you can set fan to 20 or 30%

I mine alt coins with https://simplemining.net...
I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 10, 2016, 09:10:07 PM
#27

[farnsworth]Good news, everyone![/farnsworth]

So I spent the day learning how to program in PIC. I have established that I can write code to the micro, and I can see a toggling clock output at pretty much exactly the rate I expected. I'm working on a bit-banging I2C routine and if this were a normal day I'd probably not go home until it was finished and working. However, it's Friday which means running errands before shops close at 5 and then it's burger time.

Otherwise, well, I'd probably be reporting results by about 7PM. That's how well things are going, that I expect it would only take another 3 hours to establish that I have functional I2C communication.

After that, I'd need to clean up the delay routines (right now I'm just inserting the right number of NOPs, but I should use actual loops instead) and then set up a timer for about 5 minutes so I can feed it a starting (hot) value and then, after a few minutes and cgminer is up and running and the chips are warmed up, I can feed it a running (cold) value automatically.

I really need to get back to manufacture, but this is such a freakin' cool project and coming together pretty well so I'll probably try and finish the code up tomorrow and let a test board run over the weekend.

yslyung
Legendary
*
Online Online

Activity: 1470
Merit: 1000


Mine Mine Mine


View Profile
June 10, 2016, 09:24:57 PM
#28

itchy hand here, can't wait to see some awesome results.
RadekG
Hero Member
*****
Offline Offline

Activity: 812
Merit: 500


⬢ SOFIN.io - buy tokens now! ⬢


View Profile WWW
June 10, 2016, 10:56:27 PM
#29

Thank you Sidehack for continuing in my work. By the way, I found custom firmware from Germany which promises undervolting from WWW panel, so it seems they found our missing key - secret command to control PIC through controller board.

https://www.zwilla.de/de/downloads/custom-firmware-antminer-s7/

 

sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 11, 2016, 04:48:52 AM
#30

I figured it was there, probably part of the reason Bitmain never updated their repository for S7 stuff because they didn't want people to know about it. When I saw a UART line on the micro was tied into the TX line on the controller really gave it away. Wish I'd been able to look into this stuff months ago, but it's been a long time since I had the money to buy miners near release to figure them out. I think the AM Tube in August 2014 was about the last, which was fun because Novak and I were finding and solving problems with those before most of North America even had 'em yet.

I'm having so much fun that I'm gonna continue what I'm working on, and also because that link isn't working for me.

RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 11, 2016, 06:55:29 AM
#31

Always fun to have a Midnight Oil Burning project on the go. Smiley  I guess there also has to be a strong possibility that work on the 135 Chp S7 voltage control will translate to the S9?


Rich

→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
yslyung
Legendary
*
Online Online

Activity: 1470
Merit: 1000


Mine Mine Mine


View Profile
June 11, 2016, 10:58:00 AM
#32

Thank you Sidehack for continuing in my work. By the way, I found custom firmware from Germany which promises undervolting from WWW panel, so it seems they found our missing key - secret command to control PIC through controller board.

https://www.zwilla.de/de/downloads/custom-firmware-antminer-s7/

 

it's fake me thinks & this guy is a cheat too. there's a thread but it didn't last long, kano & cryptoglance chimed in too.

asking $ for something that don't work & did NOT ask permission from cryptoglance to use their software.
adaseb
Legendary
*
Offline Offline

Activity: 1638
Merit: 1058



View Profile
June 11, 2016, 12:15:00 PM
#33

Thank you Sidehack for continuing in my work. By the way, I found custom firmware from Germany which promises undervolting from WWW panel, so it seems they found our missing key - secret command to control PIC through controller board.

https://www.zwilla.de/de/downloads/custom-firmware-antminer-s7/

 

it's fake me thinks & this guy is a cheat too. there's a thread but it didn't last long, kano & cryptoglance chimed in too.

asking $ for something that don't work & did NOT ask permission from cryptoglance to use their software.

Don't think that will actually change the voltage. They released something similar for the S3/S5 but all it did was adjust the voltage in the "advanced" tab but we all know that since the voltage was fixed it didn't do anything.


.FORTUNE.JACK.
      ▄▄███████▄▄
   ▄████▀▀ ▄ ██████▄
  ████ ▄▄███ ████████
 █████▌▐███▌ ▀▄ ▀█████
███████▄██▀▀▀▀▄████████
█████▀▄▄▄▄█████████████
████▄▄▄▄ █████████████
 ██████▌ ███▀████████
  ███████▄▀▄████████
   ▀█████▀▀███████▀
      ▀▀██████▀▀
         
         █
...FortuneJack.com                                             
...THE BIGGEST BITCOIN GAMBLING SITE
       ▄▄█████████▄▄
    ▄█████████████████▄
  ▄█████████████████████▄
 ▄██
█████████▀███████████▄
██████████▀   ▀██████████
█████████▀       ▀█████████
████████           ████████
████████▄   ▄ ▄   ▄████████
██████████▀   ▀██████████
 ▀██
█████████████████████▀
  ▀██
███████████████████▀
    ▀█████████████████▀
       ▀▀█████████▀▀
#JACKMATE
WIN 1 BTC
▄█████████████████████████▄
███████████████████████████
███████████████████████████
██████████▀█████▀██████████
███████▀░░▀░░░░░▀░░▀███████
██████▌░░░░░░░░░░░░░▐██████
██████░░░░██░░░██░░░░██████
█████▌░░░░▀▀░░░▀▀░░░░▐█████
██████▄░░▄▄▄░░░▄▄▄░░▄██████
████████▄▄███████▄▄████████

███████████████████████████
███████████████████████████
▀█████████████████████████▀
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 11, 2016, 12:20:36 PM
#34

Looking through the thread, that's kinda what I was figuring too.

Don't worry guys, mine will work and I won't be charging for it.

RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 11, 2016, 01:07:24 PM
#35

Looking through the thread, that's kinda what I was figuring too.

Don't worry guys, mine will work and I won't be charging for it.

The other giveaway is that it makes no mention of only working on a 135 chip S7.

Rich


→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
philipma1957
Legendary
*
Offline Offline

Activity: 2142
Merit: 1245


Avalon 841 rocks


View Profile
June 11, 2016, 01:30:27 PM
#36

Looking through the thread, that's kinda what I was figuring too.

Don't worry guys, mine will work and I won't be charging for it.

I was thinking should we chip in and order an s-9 for you to play with?

An s-9 doing .08 watts would be very nice gear.

I mine alt coins with https://simplemining.net...
I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
yslyung
Legendary
*
Online Online

Activity: 1470
Merit: 1000


Mine Mine Mine


View Profile
June 11, 2016, 01:41:10 PM
#37

Looking through the thread, that's kinda what I was figuring too.

Don't worry guys, mine will work and I won't be charging for it.

yours will defo work, no need to charge, i'm sure many are willing to donate willingly to you.

we know you always do a good job Wink & sharing.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 12, 2016, 12:21:26 AM
#38

Tentative success!

I was running into no end of trouble getting anything except delay loops to work, when after about 4 hours I realized I didn't know how to declare variables properly so the compiler was dumping everything into the same register. So I fixed that, and two hours later I have working bit-bang I2C with ACK/NACK recognition for two-byte data in a 164-opcode program. Not bad for never programming PIC before. This was fun.
Anyways. It has a 20mS delay loop after turnon, to let things settle out, and then passes a hot value to the DPOT. After about 3:15 or so it passes the cold value, and actually continues to pass the cold value again every 3:15 after that. I could just as easily tell it not to do that, but eh, no harm no foul.

Anyways I've got it pushed to my hacked-up board running 650mV hot and 620mV cold at 450MHz. It's worker 1BTCMUSEuM1uy4mCce9JGisMZD15RTG7em_S7LN on solo.ckpool for anyone wanting to watch the stats. I'm gonna let it run until tomorro after lunch, and then if it's looking good I'll reinstall the PIC, put the same code on the second board and let 'em both run overnight. If it's still looking good on Monday I'll upload an archive of HEX files for different cold-running values (with a corresponding hot-running value of ~5% higher) so y'all can play around. And I've got access to a full 3-board S7 to jack with too, should be fun.

The gold medal will of course go to reverse-engineering the PIC firmware to figure out what command is sent from the controller to adjust the voltage from software. But I'm not up to that.

navigatrix
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
June 12, 2016, 01:37:19 AM
#39

Actually, 4TH would be more like 1100W.

I'm in. Check your tip jar...

Thanks for this.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 12, 2016, 03:17:21 PM
#40

Well the one blade's been running solid at 620mV (9.3V, down from 10.0V stock) and 450MHz (1TH) for about 15 hours now. This afternoon I'll do some more testing of the absolute bottom end efficiency and overall power use, generate some charts and plots for y'all. I'll go ahead and work up a stock S7 as well.

Just wondering, would anyone be interested in a group buy of S7 or S7LN pre-flashed to the desired improved efficiency setpoint for a moderate markup (maybe $20-30), tested and reshipped within the US within one or two days of arrival at my shop?

kipper01
Full Member
***
Offline Offline

Activity: 205
Merit: 100

1KippERXwH1PdBxKNt1ksgqh89WBv6CtWQ


View Profile
June 12, 2016, 06:50:25 PM
#41

Well the one blade's been running solid at 620mV (9.3V, down from 10.0V stock) and 450MHz (1TH) for about 15 hours now. This afternoon I'll do some more testing of the absolute bottom end efficiency and overall power use, generate some charts and plots for y'all. I'll go ahead and work up a stock S7 as well.

Just wondering, would anyone be interested in a group buy of S7 or S7LN pre-flashed to the desired improved efficiency setpoint for a moderate markup (maybe $20-30), tested and reshipped within the US within one or two days of arrival at my shop?

My S7 already sitting in your shop.  Tongue  Feel free to take a look at it if you like.  Smiley

Biodom
Legendary
*
Offline Offline

Activity: 1610
Merit: 1063


View Profile
June 12, 2016, 07:02:42 PM
#42

Actually, 4TH would be more like 1100W.

there is also a 'funny' S7 batch 6, which was a prototype for later batches.
This batch is 4.05th at 1042W +extra at the wall per specs.
Do you think that this one can be improved or is it efficient already?
it's rated voltage is 11.6-13v.
thanks
philipma1957
Legendary
*
Offline Offline

Activity: 2142
Merit: 1245


Avalon 841 rocks


View Profile
June 12, 2016, 07:24:52 PM
#43

Well the one blade's been running solid at 620mV (9.3V, down from 10.0V stock) and 450MHz (1TH) for about 15 hours now. This afternoon I'll do some more testing of the absolute bottom end efficiency and overall power use, generate some charts and plots for y'all. I'll go ahead and work up a stock S7 as well.

Just wondering, would anyone be interested in a group buy of S7 or S7LN pre-flashed to the desired improved efficiency setpoint for a moderate markup (maybe $20-30), tested and reshipped within the US within one or two days of arrival at my shop?

maybe an  an s-7ln for me works,

 but do you think the s-9 can do this?  and drop to 9.3v if so  it may end up being an amazing value.

I have 4 s-9's two coming on tues-weds  two in 12 days or so. I think I will run 3 s-9's in the array and one with my buddy in his office.

Then run your s-7ln in house for fun along with the eth coin gear.

Maybe some research on s-9's will allow for them to go down to .090 or .085 per gh

I mine alt coins with https://simplemining.net...
I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 12, 2016, 07:53:22 PM
#44

I would guess any regulated-string S7 variant would be improvable.

I would also guess the S9 would be improvable. 63 chips is seriously dense though, so they might already be running them close to bottom end. I have an S9 being delivered for hosting this week that I could spend an hour with if the owner allowed it, but I don't like experimenting with other folks' hardware.

I'll try and work out some efficiency curves for the S7LN this afternoon, might bring it home and run it here at the house to get an idea of noise. Should probably bring a stock S3 as well for comparisons, since me saying "it's not that loud" doesn't mean anything to almost literally everyone else (I have a very high tolerance for fan noise).

So, something like a hacked S7LN group buy might be in order?

philipma1957
Legendary
*
Offline Offline

Activity: 2142
Merit: 1245


Avalon 841 rocks


View Profile
June 12, 2016, 11:07:56 PM
#45

I would guess any regulated-string S7 variant would be improvable.

I would also guess the S9 would be improvable. 63 chips is seriously dense though, so they might already be running them close to bottom end. I have an S9 being delivered for hosting this week that I could spend an hour with if the owner allowed it, but I don't like experimenting with other folks' hardware.

I'll try and work out some efficiency curves for the S7LN this afternoon, might bring it home and run it here at the house to get an idea of noise. Should probably bring a stock S3 as well for comparisons, since me saying "it's not that loud" doesn't mean anything to almost literally everyone else (I have a very high tolerance for fan noise).

So, something like a hacked S7LN group buy might be in order?

Sending pm.

I mine alt coins with https://simplemining.net...
I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 12, 2016, 11:53:03 PM
#46

I don't actually own a Kill-A-Watt and none of the stores I looked at in town apparently carry it, so I just threw together a metered socket with 0.1A resolution. The miner is currently powered off a Dell Z750P PSU. At hot voltage (650mV) I market 120V 2.1A, and when it switched to cold voltage (620) I mark a solid 120V 1.9A for 228W - that's the controller, both fans and a single board clocked at 1012GH for a device-level efficiency of 0.225J/GH

With both boards and the stock PSU, the current is bouncing between 3.4 and 3.5 amps. If we call it 3.45A, that's 414W for 2.03TH at 0.204J/GH - which definitely makes me happy.

I'll do more measures tonight (it's friggin' hot at the shop so I'll run it at home where I can also get a good "how annoying is this" sound gauge) and put up some more numbers on different setpoints.

EDIT - except that I moved some hex files over to a thumbdrive and then left it plugged into the workbench machine and didn't realize until I was already at home. So I won't be testing other voltage setpoints tonight. Whoops.

Also I have interest to the tune of 3 machines so far for a group buy.

Biodom
Legendary
*
Offline Offline

Activity: 1610
Merit: 1063


View Profile
June 13, 2016, 01:00:07 AM
#47

I don't actually own a Kill-A-Watt and none of the stores I looked at in town apparently carry it, so I just threw together a metered socket with 0.1A resolution. The miner is currently powered off a Dell Z750P PSU. At hot voltage (650mV) I market 120V 2.1A, and when it switched to cold voltage (620) I mark a solid 120V 1.9A for 228W - that's the controller, both fans and a single board clocked at 1012GH for a device-level efficiency of 0.225J/GH

With both boards and the stock PSU, the current is bouncing between 3.4 and 3.5 amps. If we call it 3.45A, that's 414W for 2.03TH at 0.204J/GH - which definitely makes me happy.

I'll do more measures tonight (it's friggin' hot at the shop so I'll run it at home where I can also get a good "how annoying is this" sound gauge) and put up some more numbers on different setpoints.

EDIT - except that I moved some hex files over to a thumbdrive and then left it plugged into the workbench machine and didn't realize until I was already at home. So I won't be testing other voltage setpoints tonight. Whoops.

Also I have interest to the tune of 3 machines so far for a group buy.

while doing this, did you still had to power all 7 PCIe connectors or 4+1=5 was enough?
As far as wattage goes, it should be OK with 5.
Some people might be interested in selling the PSU on the aftermarket and powering two or even three with one EVGA 1300.
Using splitters one can up the number of connectors on 1300w EVGA to at least 12 easily.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 13, 2016, 01:07:05 AM
#48

When I was bench-testing I only had 2 cables plugged into the board.

Here at the house, I locked the fan to 30% and it's about the same noise as a window fan on low sitting at the same distance. Pretty unobtrusive for my house. Temps at 44 and 46 in a 75F ambient.

philipma1957
Legendary
*
Offline Offline

Activity: 2142
Merit: 1245


Avalon 841 rocks


View Profile
June 13, 2016, 01:28:01 AM
#49

I don't actually own a Kill-A-Watt and none of the stores I looked at in town apparently carry it, so I just threw together a metered socket with 0.1A resolution. The miner is currently powered off a Dell Z750P PSU. At hot voltage (650mV) I market 120V 2.1A, and when it switched to cold voltage (620) I mark a solid 120V 1.9A for 228W - that's the controller, both fans and a single board clocked at 1012GH for a device-level efficiency of 0.225J/GH

With both boards and the stock PSU, the current is bouncing between 3.4 and 3.5 amps. If we call it 3.45A, that's 414W for 2.03TH at 0.204J/GH - which definitely makes me happy.

I'll do more measures tonight (it's friggin' hot at the shop so I'll run it at home where I can also get a good "how annoying is this" sound gauge) and put up some more numbers on different setpoints.

EDIT - except that I moved some hex files over to a thumbdrive and then left it plugged into the workbench machine and didn't realize until I was already at home. So I won't be testing other voltage setpoints tonight. Whoops.

Also I have interest to the tune of 3 machines so far for a group buy.

while doing this, did you still had to power all 7 PCIe connectors or 4+1=5 was enough?
As far as wattage goes, it should be OK with 5.
Some people might be interested in selling the PSU on the aftermarket and powering two or even three with one EVGA 1300.
Using splitters one can up the number of connectors on 1300w EVGA to at least 12 easily.

I am looking to run 1. I am looking to use it with this psu.

https://www.amazon.com/gp/product/B01CE7NUIU/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1

I think it would do 395 watts.

I also may try to trick the fans the fans pull a lot of watts this fan below does less watts.


https://www.amazon.com/Focused-NF-F12-iPPC-3000-PWM/dp/B00KFCRATC/ref=sr_1_1?s=pc&ie=UTF8&qid=1465781203&sr=1-1&keywords=noctua+3000

goal would be to get under 390 watts

I mine alt coins with https://simplemining.net...
I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 13, 2016, 02:44:52 AM
#50

Well, looks like we got 5 for a group buy. I'll take that over to the right section then.

sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 13, 2016, 06:00:59 AM
#51

It looks like my 640/610 profile is just fine for 400MHz, delivering 1.8TH at 340W for an efficiency of 0.189J/GH

I'm testing 425MHz on it now, and it's looking good. If it runs stable all night (I'm at zero errors five minutes into cold voltage), I can say 1.9TH at, according to my meter, 366W for 0.191J/GH. So this S7LN will go below 0.2J/GH machine-level. I was having trouble with the 630/600 profile doing anything right, but I'll check and make sure I just didn't screw up the code.

By the way, those numbers are for fans fixed at 20% (1560RPM); peak temp is 47C and it's as good as silent to me.

notlist3d
Legendary
*
Offline Offline

Activity: 1470
Merit: 1000



View Profile
June 13, 2016, 06:28:15 AM
#52

It looks like my 640/610 profile is just fine for 400MHz, delivering 1.8TH at 340W for an efficiency of 0.189J/GH

I'm testing 425MHz on it now, and it's looking good. If it runs stable all night (I'm at zero errors five minutes into cold voltage), I can say 1.9TH at, according to my meter, 366W for 0.191J/GH. So this S7LN will go below 0.2J/GH machine-level. I was having trouble with the 630/600 profile doing anything right, but I'll check and make sure I just didn't screw up the code.

By the way, those numbers are for fans fixed at 20% (1560RPM); peak temp is 47C and it's as good as silent to me.

Well done on getting more efficiency with these chip's.  It's been fun to watch (I think you had first opened S7LN on site).   A efficiency upgrade to .2j upgrade is pretty amazing.  Either way congratulations it's a heck of a upgrade you have done on it.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 13, 2016, 01:51:05 PM
#53

I'm questioning the stability of the 610mV setpoint. My first extended test last week was 610mV 450MHz, and it kicked out after about 8 hours. I ran 610mV 425MHz overnight and it kicked out after about 3 hours. But running 620mV 450MHz ran all day with no issues. The 620mV is about 0.22J/GH versus just under 0.2J/GH for 610 so I wish it was stable but I'm not so sure. Might be 620 is the best we got.

IITravel01
Sr. Member
****
Offline Offline

Activity: 325
Merit: 250


View Profile
June 13, 2016, 03:31:47 PM
#54

Well the one blade's been running solid at 620mV (9.3V, down from 10.0V stock) and 450MHz (1TH) for about 15 hours now. This afternoon I'll do some more testing of the absolute bottom end efficiency and overall power use, generate some charts and plots for y'all. I'll go ahead and work up a stock S7 as well.

Just wondering, would anyone be interested in a group buy of S7 or S7LN pre-flashed to the desired improved efficiency setpoint for a moderate markup (maybe $20-30), tested and reshipped within the US within one or two days of arrival at my shop?

I'd go for a S7-LN or two.  I'd love to see how efficient that could be with a Titanium power supply (I've got a EVGA 1,600w and a Thermaltake 1,250w I'd test with, as well as a 220v step up converter).
InvestexMarkets
Newbie
*
Offline Offline

Activity: 28
Merit: 0

InvestexMarkets


View Profile WWW
June 13, 2016, 03:45:34 PM
#55

This is a really interesting project you have here,  running @ 610mV - 450MHz @ 8hrs did you have recorded temps or any other recorded data you could share with us?



InvestexMarkets.com - From Stocks To Satoshi
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 13, 2016, 04:18:16 PM
#56

Not really. It was a "hey this works but it's 7PM and I want to go home and eat lunch so I'll leave it on overnight" kind of test, and when I came back in the next day it had dropped out and the lifetime hashrate average was a bit over half expected so I extrapolated about how long it ran before stopping while I was not there to observe it.

I think the problem with the 610mV profile is probably balance. By the BM1385 datasheet, the chips should run 425MHz at 600mV. However, since the voltage is dropped per node according to the current use at that node, there is no perfect balance. If one node is dropping even 2% lower than the average 610mV setpoint, it's gone down to 590mV which I've found is in a range 28nm ASICs don't particularly like. The 620mV setpoint gives more leeway in node imbalances at the cost of slightly higher per-unit power use, so for now I'm recommending the 650/620 profile as the best stable bottom clock.

InvestexMarkets
Newbie
*
Offline Offline

Activity: 28
Merit: 0

InvestexMarkets


View Profile WWW
June 13, 2016, 04:28:17 PM
#57

Not really. It was a "hey this works but it's 7PM and I want to go home and eat lunch so I'll leave it on overnight" kind of test, and when I came back in the next day it had dropped out and the lifetime hashrate average was a bit over half expected so I extrapolated about how long it ran before stopping while I was not there to observe it.

I think the problem with the 610mV profile is probably balance. By the BM1385 datasheet, the chips should run 425MHz at 600mV. However, since the voltage is dropped per node according to the current use at that node, there is no perfect balance. If one node is dropping even 2% lower than the average 610mV setpoint, it's gone down to 590mV which I've found is in a range 28nm ASICs don't particularly like. The 620mV setpoint gives more leeway in node imbalances at the cost of slightly higher per-unit power use, so for now I'm recommending the 650/620 profile as the best stable bottom clock.


Would be interesting to see if there would be a possiblity of some kind of "early warning" script that would detect the drop in volage for the node and adjusted the setpoint, haveing looked at the data sheet for BM1385 I am still wondering what other issues might arrise from the voltage drops if you persisted at the higher rates.

fantastic reading and some good development in this thread, Ill be keeping a keen eye on the progression of your project!

Thanks!

InvestexMarkets.com - From Stocks To Satoshi
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 13, 2016, 04:49:29 PM
#58

One problem with having a hot and cold setpoint are, since the hot setpoint is only delivered when the miner is first powered up, it's entirely possible that simply restarting cgminer after a board drops out will actually cripple the whole machine. It really requires a power-cycle - more specifically, it requires cutting 3.3V to the hashboards which would require either power-cycling the controller or some external hardware.

Since the micro listens on the TX line, I could have it just check in for traffic and if it detects there's no hashing going on (so, cgminer was killed) it resets back to hot setpoint to be ready to restart mining. I'll have to look into exactly what traffic gets sent when cgminer is still operating even though the board is down to know how to detect that condition, and I don't really have time for a while.
Possibly the code could increment the cold setpoint every time mining fails and is restarted. One problem with that is you couldn't optimize per-board since both boards would detect cgminer restarting and both increment even if only one needed it. Also, unless it was saved to EEPROM, the new setpoint would be lost every power-cycle. If it was kept, without a means of resetting back to defaults, over time the setpoint will drift higher and higher due to internet downtime, manual reboots from software and other issues.

InvestexMarkets
Newbie
*
Offline Offline

Activity: 28
Merit: 0

InvestexMarkets


View Profile WWW
June 13, 2016, 09:32:08 PM
#59

One problem with having a hot and cold setpoint are, since the hot setpoint is only delivered when the miner is first powered up, it's entirely possible that simply restarting cgminer after a board drops out will actually cripple the whole machine. It really requires a power-cycle - more specifically, it requires cutting 3.3V to the hashboards which would require either power-cycling the controller or some external hardware.

Since the micro listens on the TX line, I could have it just check in for traffic and if it detects there's no hashing going on (so, cgminer was killed) it resets back to hot setpoint to be ready to restart mining. I'll have to look into exactly what traffic gets sent when cgminer is still operating even though the board is down to know how to detect that condition, and I don't really have time for a while.
Possibly the code could increment the cold setpoint every time mining fails and is restarted. One problem with that is you couldn't optimize per-board since both boards would detect cgminer restarting and both increment even if only one needed it. Also, unless it was saved to EEPROM, the new setpoint would be lost every power-cycle. If it was kept, without a means of resetting back to defaults, over time the setpoint will drift higher and higher due to internet downtime, manual reboots from software and other issues.

I would say once you have some time the traffic might be a good place to get some more reference from. I really like the idea of hot/cold script If only there was relm for small flash memory instead of EEPROM.


InvestexMarkets.com - From Stocks To Satoshi
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 13, 2016, 09:42:27 PM
#60

The problem with updating the last setpoint is, you can't change it without reflashing the whole PIC firmware again. Unless you could talk to it via the controller's TX line, but if you can do that you might as well just write a firmware to set the voltage wherever you want via controller software. Which is probably what Bitmain's firmware already does, we just don't know the commands to make it do what we want. And I have probably already put more time on firmware than I should have, but it's the most fun I've had at work in months. Manufacturing is super boring, but it's also super necessary if I want to not go bankrupt, so I probably won't have more time until I get caught up on building stuff. Unless I get a bunch of sales on PSU boards right quick, in which case maybe a day of additional firmware dev would be a good celebration.

Anyone looking for a good PSU to run an S7 or S9 off 208/240?

sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 13, 2016, 11:55:00 PM
#61

Also, I've settled on terms for the group buy so that's live now.

adaseb
Legendary
*
Offline Offline

Activity: 1638
Merit: 1058



View Profile
June 14, 2016, 06:19:51 AM
#62

This reminds me of the S4 I once had. I got it really cheap and it was crazy loud, and I had to have it in my room that I sleep in.

I remember I managed to make it almost silent at 1.3TH/s running at around 0.55W/GHS and I swapped in some S3 fans and played around with the fan controller settings. You could actually change the voltage in the control panel. No need to pencil mod.

The loudest part was actually that stock server PSU. Sure miss that miner.

Its amazing how with an undervolt and underclock you can turn the loudest miner into something manageable.




.FORTUNE.JACK.
      ▄▄███████▄▄
   ▄████▀▀ ▄ ██████▄
  ████ ▄▄███ ████████
 █████▌▐███▌ ▀▄ ▀█████
███████▄██▀▀▀▀▄████████
█████▀▄▄▄▄█████████████
████▄▄▄▄ █████████████
 ██████▌ ███▀████████
  ███████▄▀▄████████
   ▀█████▀▀███████▀
      ▀▀██████▀▀
         
         █
...FortuneJack.com                                             
...THE BIGGEST BITCOIN GAMBLING SITE
       ▄▄█████████▄▄
    ▄█████████████████▄
  ▄█████████████████████▄
 ▄██
█████████▀███████████▄
██████████▀   ▀██████████
█████████▀       ▀█████████
████████           ████████
████████▄   ▄ ▄   ▄████████
██████████▀   ▀██████████
 ▀██
█████████████████████▀
  ▀██
███████████████████▀
    ▀█████████████████▀
       ▀▀█████████▀▀
#JACKMATE
WIN 1 BTC
▄█████████████████████████▄
███████████████████████████
███████████████████████████
██████████▀█████▀██████████
███████▀░░▀░░░░░▀░░▀███████
██████▌░░░░░░░░░░░░░▐██████
██████░░░░██░░░██░░░░██████
█████▌░░░░▀▀░░░▀▀░░░░▐█████
██████▄░░▄▄▄░░░▄▄▄░░▄██████
████████▄▄███████▄▄████████

███████████████████████████
███████████████████████████
▀█████████████████████████▀
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 14, 2016, 12:24:26 PM
#63

I got a mostly-working S4 for free end of last year and gave it the same treatment to heat my apartment over the winter. Well, I didn't replace the fans but they did run a lot slower.

sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 14, 2016, 04:28:28 PM
#64

Inbetween things today, I'll be getting some operating data from different voltages and clock setpoints. I've got a stack of pregenerated hex files for different hot/cold settings and when I put up the analysis numbers I'll also post a ZIP file with all of 'em in it within a few days.

Right now it looks like 750MHz might be just a bit high for the 720/690 profile ( .03% errors) for 3.38TH from 900W at 61C, but that's still pretty decent. I think the cold-running is about the same setpoint as a stock full S7.

Sweminer777
Hero Member
*****
Offline Offline

Activity: 641
Merit: 500

Because your are good, you are treated bad."Jebus"


View Profile
June 16, 2016, 12:34:13 PM
#65

Inbetween things today, I'll be getting some operating data from different voltages and clock setpoints. I've got a stack of pregenerated hex files for different hot/cold settings and when I put up the analysis numbers I'll also post a ZIP file with all of 'em in it within a few days.

Right now it looks like 750MHz might be just a bit high for the 720/690 profile ( .03% errors) for 3.38TH from 900W at 61C, but that's still pretty decent. I think the cold-running is about the same setpoint as a stock full S7.


this 2 boards s7 lookssimilar to Batch6 boards.

I was looking around, took some photos too.

I can overclock abit if iset up the voltmetere to around 12.120Vis good from PSU else it gets alot of errors.

mine hashs 4050, but is doing around 4200-4400 wich is fine considering that b6 is not overclockable.

ill post some pictures soonof my boards s you can take a look on the similarity.

regards.

16evXY9azcbYtLdKCAn1SeNN7gGxcRGRi6

Save the Chickens!
RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 17, 2016, 10:00:04 AM
#66

I have got hold of a Hash Board from a Batch 8 135 Chip S7. Have it running on the Bench with an S5 Controller Board loaded with the S7 Firmware. I have been playing with the various different firmware versions and noticed something interesting with the latest single fan release.
S7firmware-201605231558-700M-1fan-6000.tar.gz MD5:7A38217ED4B93D662F4F0EBB85006694

Immediately after power up the Pic programs the Digital pot, with my board this is with 14 which sets the string Voltage to 10.667V. However with the latest single Fan firmware I detected on the Analyser a second programming of the Pot about 37 seconds after booting. This was also to 14.

Looking at the Kernel Log and also monitoring on the Serial Interface of the BBB I see the following.

Code:
[   36.708381] clear FPGA nonce buffer..
[   37.014489] btm_tx_conf..
[   37.017098] Set asic frequency {100}..
[   37.020850] bitmain_set_pic_voltage: n = 14..
[   37.025232] set_pic_voltage cmd_buf[0]: 0xab, cmd_buf[1]: 0xb0, cmd_buf[2]: 0xe, cmd_buf[3]: 0xd4..
[   37.034503] send BC data:..0x0000: 0x03 0x00 0x00 0x1a 0xab 0xb0 0x0e 0xd4 ..
[   37.056664] send BC data:..0x0000: 0x03 0x04 0x00 0x1a 0xab 0xb0 0x0e 0xd4 .

So it looks like Bitmain might be using the the TX connection to the Pic to pass a Digital Pot setting after booting.

Looking on the Analyser there is a Burst of data on the TX, which is also echo'd 100uS later on RA4 which is connected to the 2 Pin P2 connector on the board edge.

Then 4.8mS later the Pot is programmed with 14. Unfortunately as my system programs 14 at power up and then 14 again I cannot tell if the Pic is just repeating it's inbuilt value or passing the new value.


I do not know if there will be a file that can be SSH into with this 14 Value in or if it's embedded in some Bitmain code. I cannot find a file, but if anyone knows their way around the firmware perhaps they could have a look?


Rich

→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 17, 2016, 12:13:52 PM
#67

Not unexpected. What's the voltage setting given in the cgminer.conf for that one?

Today's a short day, and also a fairly full one, so I'm not sure if I'll have time to play with this info yet. But I'll work on it.

RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 17, 2016, 12:34:19 PM
#68

cgminer.conf shows "bitmain-voltage" : "0706" which I suspect is not used, but could try changing it?

Rich


→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 17, 2016, 12:43:00 PM
#69

Given that's the same number I've seen everywhere else, and have seen several different numbers written by the PIC, I doubt it's what we're looking for. But I could be wrong.

Also, when you give the values written by the PIC here and in the S7 repair thread, are you giving hex or decimal?

RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 17, 2016, 12:47:31 PM
#70

Yes I have seen that number before, tried changing it but 0x14 still written. The written value is in Hex, the 14 from the kernel log I had at first assumed to be decimal but must also be hex. Not sure what I have put in the repair log, whatever it is could be either?


Rich


→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 17, 2016, 06:28:25 PM
#71

Say, possibly dumb question. Where's the kernel log on these?

alh
Legendary
*
Offline Offline

Activity: 1526
Merit: 1006


View Profile
June 17, 2016, 06:31:01 PM
#72

Say, possibly dumb question. Where's the kernel log on these?

On most Linux based systems, /var/log/messages is it. That would have Kernel and possibly other messages. I expect cgminer to place it's logs elsewhere, though I don't really know.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 17, 2016, 06:33:00 PM
#73

Not sure if I'm doing something wrong, but I'm getting nothing out of /var/log is why I'm asking.

EDIT - perhaps at some point I should remember it's viewable in the webconfig.

HagssFIN
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1129


Electrician. Mining since 2014.


View Profile WWW
June 17, 2016, 06:45:22 PM
#74

..
EDIT - perhaps at some point I should remember it's viewable in the webconfig.
Yeah.
My S7 (B9) shows nothing in the kernel log when I'm viewing it with Chrome, but with Microsoft Edge it works ok.

sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 17, 2016, 06:50:34 PM
#75

So I just put that firmware on a stock S7. I didn't probe the I2C lines but measuring the voltage says it should have been about 0x10 (hex 16). After putting that firmware on, now I'm seeing a voltage corresponding to 0x0E (hex 14) so I reckon it actually is doing the update.

RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 17, 2016, 07:22:14 PM
#76

I get the kernel log in under System, seems to show initially but then of often goes blank.

So good news that it seems to take the Parameter. Just need to find where it is stored so we can change it?

Here is the full Data sent from RA4 which is connected to P2 on the board edge.

Code:
12:06:10.177  73 0E FF FF FF FF FF FF                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         s.
12:07:16.080  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              .................................................
12:07:16.096  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ...............
12:07:16.137  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ................................................................
12:07:16.178  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ................................................................
12:07:16.217  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ................................................................
12:07:16.257  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ................................................................
12:07:16.273  FE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
12:07:16.289  24 24 24                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        $$$
12:07:16.305  24 24                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           $$
12:07:16.321  24 24 24                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        $$$
12:07:16.337  24 24                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           $$
12:07:16.353  24                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              $
12:07:38.305  84 00 00 11                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ...
12:07:39.678  AB B0 0E D4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     .
12:07:39.694  14 33  

The first line is sent soon after Power up then the others at the times shown. They are obviously filtering the TX in some way, can only assume it is there to help debug or who knows?

Rich




→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 17, 2016, 07:29:37 PM
#77

Right. I'll spend a bit of time trying to track down the command to TX that info. Not a lot, since I still got stuff to do and it's BURGER NIGHT.

Also thinking about it, that cmd_buf looked familiar. It's in driver-bmsc in what currently exists of bitmain's cgminer fork code, and in Icarus in U3 code. So, it's probably tied into cgminer itself and not in a script somewhere. But where is it stashed in a config? Hm...

sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 17, 2016, 09:12:36 PM
#78



Decided to summarize some of the mass of data down there in a handy graph. Note the bars represent a "maximum stable GH" for each voltage level; there is none for 720mV because it was still good at 750MHz and I didn't want to take it any higher for fear of blowing the regulator. The operating frequency can be derived from the hashrate by dividing by 4.5

So here's a not quite complete but pretty extensive chart of measured performance from my hacked S7LN.

Columns:
mmm/nnn - hot starting voltage/cold running voltage
xxx - operating frequency
Calc GH - Calculated GH of two 45-chip boards at running frequency
VAC, IAC - voltage and current measurements in cold running
WAC - Watts AC, power measure during cold running (calculated value)
Calc J/GH - Calculated J/GH based on Calc GH and WAC
HW% - percentage of HW errors after 30 minutes runtime
GH - 30min - Measured average GH after 30 minutes runtime
Hash Eff - Measured GH as a percentage of Calc GH
Actual J/GH - calculated from WAC and 30min measured GH

720/720Calc GHVACIACWACCalc J/GHHW%GH - 30minHash EffActual J/GH
75033751168.810210.3020.00033831.000.302
7253262.51158.69890.3030.00032501.000.304
70031501158.259490.3010.00031651.000.300
6753037.51157.99090.2990.00030351.000.299
65029251157.68740.2990.00028890.990.303
710/710
7753487.51158.8510180.2920.00834530.990.295
75033751158.59780.2900.00133260.990.294
7253262.51168.19400.2880.00032561.000.289
70031501177.89130.2900.00031090.990.294
6753037.51177.458720.2870.00030601.010.285
65029251177.28420.2880.00029351.000.287
700/700
80036001168.59860.2740.10433650.930.293
7753487.51168.39630.2760.03334360.990.280
75033751168.059340.2770.01133681.000.277
7253262.51167.78930.2740.00132210.990.277
70031501167.458640.2740.00031641.000.273
6753037.51167.28350.2750.00030150.990.277
65029251176.98070.2760.00029401.010.275
720/690
75033751177.709010.2670.03232930.980.274
7253262.51167.608820.2700.00732430.990.272
70031501167.258410.2670.00131280.990.269
6753037.511678120.2670.00030691.010.265
65029251176.67720.2640.00029491.010.262
6252812.51186.357490.2660.00028091.000.267
710/680
7753487.51177.608890.2550.33227990.800.318
75033751157.708860.2620.09031700.940.279
7253262.51157.408510.2610.02432000.980.266
70031501176.908070.2560.01031351.000.258
6753037.51176.607720.2540.00130341.000.255
65029251176.357430.2540.00028800.980.258
6252812.51176.107140.2540.00028061.000.254
60027001175.806790.2510.00026981.000.252(approx stock)
700/670
75033751167.258410.2490.42925930.770.324
7253262.51167.008120.2490.12630580.940.266
70031501166.807890.2500.03730790.980.256
6753037.51176.507610.2500.00830301.000.251
65029251176.207250.2480.00129191.000.249
690/660
75033751167.008120.2410.50324650.730.329
7253262.51166.807890.2420.23928150.860.280
70031501166.507540.2390.10729150.930.259
6753037.51166.307310.2410.03129460.970.248
65029251166.057020.2400.00729090.990.241
680/650
70031501186.207320.2320.27026460.840.276
6753037.51186.007080.2330.09628480.940.249
65029251185.756790.2320.03228670.980.237
6252812.51185.606610.2350.00528201.000.234
60027001185.306250.2320.00026810.990.233
670/640
65029251175.606550.2240.09627560.940.238
6252812.51185.306250.2220.02727650.980.226
60027001185.206140.2270.00527031.000.227
5752587.51175.005850.2260.00125590.990.229
55024751184.705550.2240.00024340.980.228
660/630
6252812.51185.106020.2140.12526060.930.231
60027001184.955840.2160.02826460.980.221
5752587.51174.805620.2170.00525740.990.218
55024751184.555370.2170.00025031.010.215
5252362.51184.305070.2150.00023651.000.215
650/620
6252812.51175.005850.2080.34322350.790.262
60027001184.755610.2080.14024620.910.228
5752587.51184.505310.2050.04125080.970.212
55024751184.305070.2050.00924671.000.206
5252362.51184.104840.2050.00123651.000.205
50022501183.904600.2050.00022401.000.205
4752137.51183.704370.2040.00021110.990.207
45020251183.504130.2040.00020171.000.205
4251912.51183.303890.2040.00019131.000.204
40018001183.103660.2030.00017991.000.203
640/610(unstable)
5752587.51184.405190.2010.08224190.930.215
55024751184.204960.2000.02524370.980.203
5252362.51184.004720.2000.00423440.990.201
50022501183.804480.1990.00122531.000.199
4752137.51173.604210.1970.00021311.000.198
45020251183.353950.1950.00020070.990.197
4251912.51183.203780.1970.00019121.000.197
40018001193.003570.1980.00017840.990.200
630/600(unstable)
50022501193.604280.1900.00822320.990.192
4752137.51183.504130.1930.00321140.990.195
45020251183.303890.1920.00220231.000.192
4251912.51183.103660.1910.00119131.000.191
40018001182.903420.1900.00118001.000.190

IITravel01
Sr. Member
****
Offline Offline

Activity: 325
Merit: 250


View Profile
June 18, 2016, 04:38:00 PM
#79

That chart is really informative.  Looks like the sweet spot at 650/620 is 500M to 550M.  I suspect 525M or 537.5M (should bring 2.4+TH/s at 495w, the only thing that shows bad for 550M is the HW errors creeping up) might be best.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 18, 2016, 04:49:42 PM
#80

Yeah, 620 is a good setpoint. Assuming mine is a representative sample, the group-buy miners will be programmed with 650/620 unless otherwise specified, and shipped set at 450MHz for 2TH at a shade over 400W. That does give the owner still a lot of room to play, including getting close to stock speed (since 550MHz versus 600MHz only costs about 225GH) but saves close to 200W. All those numbers are given with free-running fans, by the way. Turning fans down will save a shade of power on fans, but as chip heat increases the chip-level power requirement increases for a given voltage and frequency. It's a tradeoff.

Once the group-buy batch miners start arriving about Tuesday I'll be able to get measures from a bigger sample set and compare.

philipma1957
Legendary
*
Offline Offline

Activity: 2142
Merit: 1245


Avalon 841 rocks


View Profile
June 18, 2016, 04:54:48 PM
#81

Picture this your office is too fucking cold over ac'd by morons and you can not make it comfortable  without a space heater

so instead of this space heater in the office



set the s-7ln to these settings and run at cksolopool  gives you a shot at a block  around 140-150 times a day


I mine alt coins with https://simplemining.net...
I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 1484
Merit: 1063


Evil beware: We have waffles!


View Profile
June 18, 2016, 05:12:11 PM
#82

or -- find a way to fit s7 chips inside of that fluid-filled heater for immersion 'cooling' and dead-silent hashing...
Just find a way to vary the wattage (voltage) applied to the strings to give proportional control of temp vs just an on-off thermostat.

For bitcoin to succeed the community must police itself - Joshua Zipkin aka Joshua Alexander leaked AMT A1 miner skype chats
How a miner mfgr SHOULD operate: HaggsFIN trip to Canaan My info useful? Donations welcome! 1Fuzzyk398kDWVjuC5qPX5v6CjSkvbgAbd
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 18, 2016, 05:19:08 PM
#83

Probably best to try that with something better than S7 chips, especially with the halving and that S7 is going on a year old. But the idea is sound (as it always has been).

With board-level power measurements it would be easy to write a control program that optimizes the voltage and hashrate for a given power dissipation and target error rate.

IITravel01
Sr. Member
****
Offline Offline

Activity: 325
Merit: 250


View Profile
June 18, 2016, 05:20:35 PM
#84

I've got a couple Titanium power supplies that I want to try these on to see how efficient I can get a setup going (a SilverStone 800w Titanium and a Corsair 1500w Titanium that I'll try to run two on).  Since a power supply is most efficient at about 50% load, a EVGA 1000w Titanium on 220v (should add an approx. 2% additional eff.) should deliver a sweet spot with a whole setup with one miner when the S7-LN is set at 537.5M (495w).
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 20, 2016, 10:34:21 PM
#85

http://gekkoscience.com/img_stash/S7LN/S7LN_HEX.zip

The above link is a ZIP archive containing some 17 hex files. The one called "S7LN_PIC_FIRMWARE.hex" is the original unmodified firmware found on the hashboards in my S7LN.

The remaining files are called "S7LN_userselect.X.production.AAA-BBB.hex" where AAA represents the cold running voltage and BBB is the hot running, in millivolts average per node.

I have cold-running files from 580mV to 690mV, where the hot is 30mV higher. I also have three files that set both hot and cold to the same for 700, 710 and 720mV - at those points, a clock rate that would require a higher voltage to start would also draw enough power to smoke out the whole board. Pretty sure anyways. I've tested up to 775MHz and 1020W wall (stock setting was 680W on my unit) without finding an unstable clock on even 710mV and I don't want to catch my boards on fire.

Anyway. If you want to make use of this, find yourself a PIC programer (I use a PICKit 3 that I've had since about 2013) and grab the MPLAB IDE software. What you'll actually need is the IPE side (Programming, rather that Development) but I'm not sure it's possible to download just the IPE without getting the whole thing.

If you remove the outlet fan from the unit, at the end of the boards you will see eight pinholes - one pair, and one set of six. The six are the ISP header into which you'd plug your PICKit.


The lowermost hole of the six corresponds to the header-socket hole on the PICKit that has been flagged (on mine there's a while triangle pointing to it).


You'll want to set the IPE "Device" drop-down to PIC12F1572. Under the "Settings" select Advanced Mode, and once in there click Power, set VDD to 3.3V and check "Power Target Circuit from Tool". For that to work right you're going to want to unplug the 18-pin cable from the board before you program it.

Once that's all configured, plug your PICKit into the board (you might need some wires or pins to connect the header socket of the programmer to the holes on the board) and click "Connect". If you did everything right, there ought not be any errors. Might get a box pop up saying something about low-volt programming and voltage mismatches or some such; just click "OK" and carry on. As far as I can tell it doesn't matter for this application.
You should be able to read existing code off the chip, which you can see in Memory View (View -> Show Memory). If you would like, click "Read" to pull all the existing firmware off and File->Export->Hex to save a backup copy just in case.

Click the "Browse" button associated with the Source path, and navigate to the new hex file of your choosing. Once that's loaded, click "Program" to push the new program to the board.

Make sure you plug the 18-pin cable back in before trying to mine again.

The program will turn on your board to the hot-start voltage value upon power-up of the controller board. The S7's software, once the OS is booted, will run cgminer for about a minute to get things warmed up and then restarts it fresh. My board firmware will start the cold running voltage about 35 seconds into the second cgminer run. If you're watching on a kill-a-watt, the power consumption should drop about 10% or so when it kicks over to cold-running.

yslyung
Legendary
*
Online Online

Activity: 1470
Merit: 1000


Mine Mine Mine


View Profile
June 20, 2016, 10:56:32 PM
#86

lazy to read, PIC pls, it tells a million words Tongue

thx for sharing & the hardwork sidehack ! u the man.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 20, 2016, 11:02:20 PM
#87

Yeah, but text doesn't carry near the data payload of a picture and I don't cater to lazy folks.

NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 1484
Merit: 1063


Evil beware: We have waffles!


View Profile
June 20, 2016, 11:05:07 PM
#88

Yeah, but text doesn't carry near the data payload of a picture and I don't cater to lazy folks.
True but -- I did read it and have to say that a picture or 2 of the header connections and if ya have it. a pn for the header needed would be very helpful... You can always just resize the pics to a lower rez or compress more.

For bitcoin to succeed the community must police itself - Joshua Zipkin aka Joshua Alexander leaked AMT A1 miner skype chats
How a miner mfgr SHOULD operate: HaggsFIN trip to Canaan My info useful? Donations welcome! 1Fuzzyk398kDWVjuC5qPX5v6CjSkvbgAbd
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 20, 2016, 11:07:02 PM
#89

Everything's just a standard 0.1" holes; once you pull the fan and look at the board it should be pretty obvious what's what.

NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 1484
Merit: 1063


Evil beware: We have waffles!


View Profile
June 20, 2016, 11:17:32 PM
#90

Everything's just a standard 0.1" holes; once you pull the fan and look at the board it should be pretty obvious what's what.
Cool, so just a standard strip pins header I take it.
If I can get a few of the s7's down to be able to run off of DPS1200 @ 120v (so 800w) it would let me stash one in my office and the inspection room to replace the s5's there....

For bitcoin to succeed the community must police itself - Joshua Zipkin aka Joshua Alexander leaked AMT A1 miner skype chats
How a miner mfgr SHOULD operate: HaggsFIN trip to Canaan My info useful? Donations welcome! 1Fuzzyk398kDWVjuC5qPX5v6CjSkvbgAbd
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 20, 2016, 11:26:54 PM
#91

Yeah, it's pretty standard.

I bet 550MHz and 630mV would do you about 800W and give you 3.7TH per machine. 620mV might do that frequency stable but it's the threshold speed for that voltage on my machine. If yours has a bit slower chips it might not run stable without pushing the voltage a bit more. Also consider that it'll run hotter for about a minute and a half (maybe around 850W?) until it drops into cold voltage, so hopefully the PSU is good for that.

RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 21, 2016, 11:29:46 AM
#92

First off , good job on the revised Firmware. I have tried the files and they work as described.

Next just want to caveat my comments that follow with the fact that I am not running on a S7LN but a board from a Batch 8 135 chip Miner with an S5 controller Board programmed with the latest  S7 Single Fan Firmware. So some comments may be specific to this setup as opposed to a standard S7LN?


Finally a few comments from my first play...

1) You need a PicKit 3 I had a PicKit 2 but the  PIC12F1572 is not supported.

2) On connecting the Software reports.

Target Device ID (0x3050) does not match expected Device ID (0x3051).

You can then continue, and on checking the Device ID Memory it shows the correct 3050

3) After the initial Hot & then Cold programming the Digi Pot is reprogrammed with the Cold Programming at approx 3 Minute intervals. Not sure if this is deliberate or if there is an unintended loop?

4) I tried to reload the original firmware, both a copy that I saved and the one in the Zip, neither of them ran.

In addition the one from the Zip reports

Warning: S7LN_PIC_FIRMWARE.hex contains code that is located at addresses that do not exist on the PIC12F1571.
Code incompletely loaded.


sidehack not sure if you have retried the original firmware?


Rich

→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 21, 2016, 12:25:17 PM
#93

Continuing to loop the cold value is known behavior as mentioned earlier in the thread. I could have coded the loop to kick out after the second write but it's not hurting anything.

I have not tried writing the firmware back after telling the IPE it's the wrong chip with only 1.75KB of code space instead of the required 3.5KB and also the wrong device ID, but I can see why it would throw the errors you're reporting.

RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 21, 2016, 09:35:52 PM
#94

Continuing to loop the cold value is known behavior as mentioned earlier in the thread. I could have coded the loop to kick out after the second write but it's not hurting anything.

I have not tried writing the firmware back after telling the IPE it's the wrong chip with only 1.75KB of code space instead of the required 3.5KB and also the wrong device ID, but I can see why it would throw the errors you're reporting.


OK all my mistake, for some reason when programming I selected PIC12F1571 instead of PIC12F1572

The original code loads and runs fine when you select the correct chip....

What was interesting is that the Code saved by Sidehack set my voltage initially to 10.055V whereas when the write from cgminer came in it set it to 10.663V confirming that  the initial Pic voltage is then overwritten by the new value.

Even more interesting was that on rebooting the initial write set to 10.663V as well, so I think they are saving the new value in the Pic.


Rich

→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 21, 2016, 09:49:20 PM
#95

Huh, interesting. Yeah, my S7LN was set to right around 10V (0x1B, which measured out as 10.16V on my DMM) which is definitely low for a stock S7 designed for 650 or 700MHz.

Interesting that it saves the value. Maybe they do some initial testing with their software-voltable firmware to bin the boards, and since the value they settle on is stored on the board they can then hook them up with the not-software-voltable firmware they give to customers.

Do you have a dump of the TX data that gets sent to the board when it lights up, that looks like what sets the voltage? It would be interesting to write a little program for the BBB to spoof that, but I'm not sure whatall they do for UART multiplexing on the IO board. And since their cgminer source hasn't been updated since the S5, which I don't know if it's compatible...

RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 21, 2016, 09:59:50 PM
#96

Post #76 on the previous page is a dump of what is sent from RA4 which I think might be the Pic echoing the key data? Getting a bit late here but will check Tomorrow what the complete TX data is, however there is a lot of stuff there nothing to do with the Pic.

Yes the original firmware from your Dump writes 0x1B and the Latest Single fan Firmware writes 0x0E

Also worth noting that I have only so far seen this behaviour with the latest Single Fan firmware.


Rich

→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 21, 2016, 10:07:06 PM
#97

Right, I recall now you did already post that. Sorry.

RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 21, 2016, 10:14:20 PM
#98

It would be interesting to write a little program for the BBB to spoof that, but I'm not sure whatall they do for UART multiplexing on the IO board. And since their cgminer source hasn't been updated since the S5, which I don't know if it's compatible...

Probably the easiest way to confirm the operation of the Pic would be to break the TX line to the Pic and connect to a Terminal Emulator TX along with RA4 to RX?


Rich

→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
aarons6
Legendary
*
Offline Offline

Activity: 1400
Merit: 1003


View Profile
June 21, 2016, 10:18:01 PM
#99

im watching this thread.. and if i can comprehend what is happening.. are you guys saying you can electronically adjust the voltage on the s7? making it more efficient?


i searched pickit3 and it seems like a controller of some sorts.. do you just plug it in and upload the firmware? is it usb? or do you need to do like a jtag setup? if so do you leave it attached when you are done?
is there soldering involved or are there holes you can push pins through?




sorry for all of the questions, but i think i need this.. my s7 needs to be more efficient if i am to continue using it after the halving.
RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 21, 2016, 10:29:25 PM

Pickit 3 is an ICSP programmer, it is USB, it can be temporarily connected without soldering by just stressing sideways pins inserted into the 5 through plated holes on the edge of the board to reprogram the Pic. It does not have to be left connected.

Rich

→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 21, 2016, 10:29:55 PM

I did take some pictures when I worked up the first-round LNs today. I'll get those added to the explanation post.

Also, based on your TX dump and what I'm seeing in your kernel log (confirming with my own), I'd guess the "AB B0 0E D4" is the command for adjusting voltage, where the third byte (0E) is the volt-setting command. I'll test this later on a factory-firmware board.

aarons6
Legendary
*
Offline Offline

Activity: 1400
Merit: 1003


View Profile
June 21, 2016, 10:55:27 PM

Pickit 3 is an ICSP programmer, it is USB, it can be temporarily connected without soldering by just stressing sideways pins inserted into the 5 through plated holes on the edge of the board to reprogram the Pic. It does not have to be left connected.

Rich

sweet. i have to get one.. and see if i can figure out what you guys are talking about lol..


right now im running my s7 @ 600M because i only have one wall outlet.. it runs around 4th and its about 1120W.
by the chart on page 4 i see that if i do this i can run it at 650/620 and it will be only 800W.

this means i can still mine bitcoin with my s7 after the halving until it no longer produces 60$ a month.. which would be around 300,000,000,000 difficulty at todays bitcoin price..
instead of right now after the halving i instantly go unprofitable..

i like this idea.. it might even allow me to get another s7 and save up for a s9 when they get cheaper.

does anyone know how to do this with an avalon 6?

is this what i need?
http://www.ebay.com/itm/like/121743226502?lpid=82&chn=ps&ul_noapp=true




sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 21, 2016, 11:09:53 PM

To run 600MHz stable, you're probably going to want at least 640mV, which will cost you more like 900W. Still a fair sight better than stock. The best you could feasibly do at 620 is about 550MHz for 3.7TH at 800W but maybe that's the setpoint you're talking about.

Pictures are up showing where to plug in the programmer.

There is no way to do this with an Avalon6, just like you can't do it on a 162-chip S7.

Yes, that looks like what you need. If you get one with a ribbon cable it'll make hooking it up to your miner boards easier.

sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 22, 2016, 11:52:19 PM

The post with the massive data table has been updated with even more data. It's okay, because right at the top I put a graph summarizing it all.

aarons6
Legendary
*
Offline Offline

Activity: 1400
Merit: 1003


View Profile
June 23, 2016, 01:58:00 AM

wow looks sweet.. when i get my pickit 3 im going to be shooting for the 620mv @ 575 or highest to get the .2
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 23, 2016, 02:19:18 AM

Quote
5752587.51184.505310.2050.04125080.970.212
55024751184.305070.2050.00924671.000.206

620mV@575 burns an extra 24 watts for an effective 41GH increase for a margin of 0.59J/GH by those numbers, because you lose so much hashrate to errors and instability. Better off staying at 550MHz. My criteria for maximum stable hashrate (which I used to generate the graph) was less than or equal to 0.01% HW errors, because I noticed past that threshold the hashrate would suffer noticeably - averaging 98% or less of expected versus 100% +/- 1%. Now maybe your miner will handle it, worth testing, but from what I've seen so far I don't expect it to work that well.

in2tactics
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
June 23, 2016, 12:02:27 PM

When it comes to modding your S7 or S7-LN with sidehack's voltage modification, there are quite a few PICkit 3 options available via eBay. The majority of those are PICkit 3 clones from China. It may just be me, but I prefer the real deal. Anyway, I just ordered a PICkit 3 In-Circuit Debugger and the PICkit 3 Programming Cable Kit (extension cable) from Microchip Technology Inc. for ~$50 shipped (overnight). It is the real deal, so that may be something to consider.

http://www.microchipdirect.com/

You can get 20% off the PICkit 3 In-Circuit Debugger using the code 2MILLSOLD.

PICkit 3 In-Circuit Debugger can be found under PG164130. $47.95 (before 20% off)

PICkit 3 Programming Cable Kit can be found under TPROG001. $4.00

Overnight shipping was the only shipping option, but it was only a tad under $7.

Casual Miner: 3x 2PAC and 3x Moonlander 2
Retired HW: 2x AntMiner S7-LN, 5x AntMiner U1, 2x ASICMiner Block Erupter Cube, 4x AntMiner S3, 4x AntMiner S1, GAW Black Widow, and ZeusMiner Thunder X6
RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 23, 2016, 03:21:35 PM

I hooked up a terminal emulator to a PIC on the Bench running the Bitmain code. Connected the Emulator TX to RA5 and RX to RA4.

On Power up the Pic sends 73 0F FF FF FF FF FF FF                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
It then responds to inputs from the Terminal. As expected the key Bytes are AB B0 0E D4

AB & B0 introduce the value to be written which in this case is 0E (14 decimal) D4 is some sort of Check Byte which I have not worked out, although I am sure it is obvious. Here are the correct check Bytes for some of the values.

Value   Check   Response
00   D8   18
01   D5   15
02   C2   02
03   CF   0F
04   C9   09
05   C4   04
06   D3   13
07   DC   1E
08   DF   1F
09   D2   12
0A   C5   05
0B   C8   08
0C   CE   0E
0D   C3   03
0E   D4   14
0F   D9   19
10   D6   16
11   DB   1B
12   CC   0C
13   C1   01
14   C7   07
15   CA   0A
16   DD   1D
17   D0   10
18   D1   11
19   DC   1C
1A   CB   0B
1B   C6   06
1C   C0   00
1D   CD   0D
1E   DA   1A
1F   D7   17
20   C4   04
21   C9   09
22   DE   1E
23   D3   13
24   D5   15
25   D8   18
26   CF   0F
27   C2   02
28   C3   03
29   CE   0E
2A   D9   19
2B   D4   14
2C   D2   12
2D   DF   1F
2E   C8   08
2F   C5   05
30   CA   0A
31   C7   07
32   D7   10
33   DD   1D
34   DB   1B
35   D6   16
36   C1   01
37   CC   0C
38   CD   0D
39   C0   00
3A   D7   17
3B   DA   1A
3C   DC   1C
3D   D1   11
3E   C6   06
3F   CB   0B
40   C5   05
41   C8   08
42   DF   1F
43   D2   12
44   D4   14
45   D9   19
46   CE   0E
47   C3   03
48   C2   02
49   CF   0F
4A   D8   18
4B   D5   15
4C   D3   13
4D   DE   1E
4E   C9   09
4F   C4   04


The pic then responds with your 4 Bytes plus two additional Bytes, first Byte as in the table above followed by 33

I then tried hooking up the emulator to a live Miner and during the Boot Phase you can write values to the Pic which are then remembered. Except.... that with the latest Single fan firmware they are then overwritten with the value from cgminer. You cannot then rewrite values as the Com line is held by the BBB.

I have not tried but it is probably the case with other versions of firmware which do not seem to write a value, that your entered values would not be overwritten. Alternatively if you were to break the connection from the BBB to the RX on the Pic that would also solve the problem.

So bottom line is that there is a mechanism with a Terminal connected to write values directly to the Pic. Further work needed to come up with the best way to use it.


Rich





→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 23, 2016, 03:36:06 PM

I was thinking the other night, what about making a small board with two 18-pin jacks that would plug inline of the cable? Put a micro on that board which is tied to the TX line and listens for a pause in transfers from the 'Boner to the hashboard, and then injects the four-byte code for whatever voltage you want? It should be possible to set it up as adjustable, and even with dual hot- and cold-run settings with a delay inbetween.

When you say "the com line is held by the BBB" do you mean it's busy, or it's actively pulled high to resist any data getting pushed in from another source? Is the 4-byte volt code pushed out at 115200? Because if the PIC can listen that fast, and the TX line is togglable, all you should need is about 400uS in the clear to change the voltage.

For the check, might be worth looking at the crc5 function in driver-icarus.c since cmd_buf is in use for a 3-byte command to set voltage and 4th byte checksum generated with that function for I believe the AntMiner U3. May be completely unrelated, but it's worth looking at.

RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 23, 2016, 03:48:06 PM

All work done without much checking so room for error... but once booted and when the BBB starts sending Data the TX line seems to be actively held high preventing the Terminal from writing.

Yes 115200, 8 Bit Data, no Parity, 1 Stop bit.

Did not spend much time looking for the check, just worked some of them out the hard way, but made quite easy by the response from the Pic.

Yes inserting something in the 18 Pin jacks path would work. or with some versions of the firmware and simple single point setting might just need a terminal & a PC?


Rich


→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 23, 2016, 04:08:00 PM

It'd be nice to make it adjustable without requiring modification or dismantling of the miner itself. Maybe not feasible, but it'd be nice.

RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 23, 2016, 04:50:28 PM

Yes agreed absolute best would be something that left the Miner unchanged in both Hardware & Firmware terms and could be removed. So your plug in module in the 18 Pin leads would do the trick.

Rich

→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
HagssFIN
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1129


Electrician. Mining since 2014.


View Profile WWW
June 25, 2016, 06:34:53 PM

This could be possible with the S9 as well?
Next to the PIC there is a one set of six pinholes.

----

Thanks for the instructions by the way, I might buy a Pickit 3 and do this hack to my 3-board Antminer S9 batch 9 which I'm planning to use with a 1000W Enermax.

I'm looking forward to try these settings which should give the 3-board miner ~4.218Th/s (calc) hash rate:

Of course the possible HW error rate has some effect on the actual hash rate and I'll have to see about that.

RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
June 25, 2016, 08:24:00 PM

This could be possible with the S9 as well?
Next to the PIC there is a one set of six pinholes.

Yes 6 Holes next to Pic virtually guarantees an ICSP connection.

Rich

→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
HagssFIN
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1129


Electrician. Mining since 2014.


View Profile WWW
June 25, 2016, 08:46:47 PM

This could be possible with the S9 as well?
Next to the PIC there is a one set of six pinholes.

Yes 6 Holes next to Pic virtually guarantees an ICSP connection.

Rich

Alrighty, that was what I was thinking as well.

sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 26, 2016, 05:42:14 AM

It is an ISP header. I pulled firmware off the PIC and had the chip identified within about half an hour of one coming in the building. But I was not allowed to make modifications, nor dismantle enough to take direct measurements, so I don't know hex/volt pairs or anything for it. I also can pretty much guarantee that my S7 hex files won't work on it.

gt_addict
Hero Member
*****
Offline Offline

Activity: 924
Merit: 500


View Profile
June 26, 2016, 05:21:04 PM

Come on everyone. Just four more people to buy one of sidehacks superb S7ln's so he can get another order in!!

p.s. Can you tell I'm a bit impatient for my one  Grin Cheesy

**SUPPORT SIDEHACK** Miner Development Donations to:  1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr

Donations/Tips to:-   1GTADDicTXD1uachKKgW24DZDxDGhSMdRa

Join Bitconnect: https://bitconnect.co/?ref=gtaddict
RadekG
Hero Member
*****
Offline Offline

Activity: 812
Merit: 500


⬢ SOFIN.io - buy tokens now! ⬢


View Profile WWW
June 26, 2016, 08:56:23 PM

This could be possible with the S9 as well?
Next to the PIC there is a one set of six pinholes.

----

Thanks for the instructions by the way, I might buy a Pickit 3 and do this hack to my 3-board Antminer S9 batch 9 which I'm planning to use with a 1000W Enermax.


A did quick measurements of my S9B2:

Voltage across chain: 8.72V
Voltage comes up after while, so I guess Bitmain finally added some safety protections. I hope it can shut down voltage in case of overheat (not tested).
Voltage doesn't change in case of _STOP_ condition (unplugged fan).

Finally, based on different thread, we can 99% confirm voltage CAN BE adjusted by software:

https://enforum.bitmain.com/bbs/topics/3554

Bitmain has a new firmware with higher voltage (based on higher chip temps claimed by Bitmain). We should check first batch firmware for voltage change.


IITravel01
Sr. Member
****
Offline Offline

Activity: 325
Merit: 250


View Profile
June 29, 2016, 12:13:19 AM

Sidehack,

My 2 S7-LN's just arrived thanks, turned one on and saw the original firmware installed (Mar 2016) is older than the one listed on BitMain's site (of May 2016).  Will there be any problem with updating the firmware to the newer one with your mod. or will that erase the mod. you did on it?
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 29, 2016, 12:29:03 AM

No, that just updates the controller software and shouldn't have any effect on what I did.

IITravel01
Sr. Member
****
Offline Offline

Activity: 325
Merit: 250


View Profile
June 29, 2016, 12:53:56 AM

OK, here's something interesting I've found with the S7-LN.  Others can verify.  Since the exhaust of the Enermax 1000w Gold power supply is pointing forward I switched the fans of the S7-LN around so it also exhausts to the front.  The temp. sensor must me in the back because before I let it run for 15 minutes at 512.5M is settled between 47 and 48 degrees C and the fans ran at 2,880 rpm.  Now that they're facing the other direction the temp sensor is showing 40-43 degrees C and therefore the fans are only running at 2,400 rpm which is noticeably more quiet, which probably shaves a watt off the usage also.  If you want it quieter, I suggest you try it.  Does it lower the temp, probably not and it's probably the temp sensor at the rear so with the fans in the original position the hotter air is going over the sensor, with them reversed the temp. sensor is probably reading the cooler air.

Also switching the 1000w Gold Enermax to a 1000w Titanium EVGA is running about 11w lower at the wall.  From 508w to 497w.

Update:  The 1st S7-LN runs stable at 525M, anything higher starts throwing errors and losing ASICs.  At 525M with the EVGA 1000w Titanium it's pulling about 509w at the wall at about 2.4TH/s with the fan at 2,520rpm and the temp. showing 41-45 C with no HW error after 15 minutes.

Update 2:  The 2nd S7-LN runs stable at 512.5M, but it's running about 0.036 HW errors at that speed.  On the Enermax 1000w Gold power supply it was pulling about 501w at the wall at 512.5M, switching to a 850w Gold power supply it pulling 519 watts at the wall (461w after the power supply according to a display showing 90.7 efficiency), and the S7-LN is still showing about the same error rate so it's not the power supply.  Same temps and fan speed as the 1st with the fans turned around.  (Noticeably more quiet, might be more than just the slower fan speed, I think in the rear there's space between the fan the heatsinks, in the front the heatsinks are right behind the fan, this space may be causing the lower fan volume)  It's doing about 2,260 TH/s for the first half hour.  Update:  I dropped this one down to 506.25M and the HW errors are about 0.025 with it doing about 2.25 TH/s pulling 453w after the power supply.

So both pull about 1,030w-1,035w at the wall with 4.650 TH/s.  Not bad as this is about the same as four S5's that would pull about 2,400w or close to one 3 blade S7 pulling about 1,430w at the wall (if both could do 525M with 0.00% HW errors then it would match a full S7 but only pulling about 1,040w, that's 400w less or almost a 30% reduction in power used).

I ordered a SilverStone 800w Titanium power supply for the 2nd S7-LN ($170 from Newegg.com, I've ordered this power supply twice from Amazon.com and they shipped the 750w Platinum version so I think they may have the UPC code mixed up in their system) so it should drop the wattage down around 10w less.

As for manually setting the fan speed.  If you do that, will the fan speed increase when the ambient room temperature goes up?  With the auto mode, it does.  For example when I did the initial settings the fans ran at 2,520 but now the room has gone up to 90 F and the fans have increased to 2,640 rpm.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 29, 2016, 01:07:19 AM

There's also an option to manually set the fans to whatever speed you want.

in2tactics
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
June 29, 2016, 02:29:20 AM

There's also an option to manually set the fans to whatever speed you want.

True, I generally just lower the fan speed until I notice an increase in temp. Trial and error, it works most of the time. Tongue

Casual Miner: 3x 2PAC and 3x Moonlander 2
Retired HW: 2x AntMiner S7-LN, 5x AntMiner U1, 2x ASICMiner Block Erupter Cube, 4x AntMiner S3, 4x AntMiner S1, GAW Black Widow, and ZeusMiner Thunder X6
philipma1957
Legendary
*
Offline Offline

Activity: 2142
Merit: 1245


Avalon 841 rocks


View Profile
June 29, 2016, 02:45:05 AM

There's also an option to manually set the fans to whatever speed you want.

have you received  second batch from dhl?

I mine alt coins with https://simplemining.net...
I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 29, 2016, 03:01:16 AM

Yeah, customs hangups. I got it squared away this morning but, even if it had been in time to make the truck, I wouldn't have been at the shop to receive them. Units should be in my hands tomorrow morning and going out Thursday afternoon. Sorry about the delays.

philipma1957
Legendary
*
Offline Offline

Activity: 2142
Merit: 1245


Avalon 841 rocks


View Profile
June 29, 2016, 04:05:00 PM

Yeah, customs hangups. I got it squared away this morning but, even if it had been in time to make the truck, I wouldn't have been at the shop to receive them. Units should be in my hands tomorrow morning and going out Thursday afternoon. Sorry about the delays.

happens at least they are near ready to ship out.

I mine alt coins with https://simplemining.net...
I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
June 29, 2016, 05:06:10 PM

Yeah, but the last tracking update is still "shipment on hold" from yesterday morning and the local route usually would have the boxes dropped off at least an hour ago. Looks like the ball is dropped again.

UPDATE - apparently word that fees were paid yesterday at 8AM didn't get to the depot until this morning at 10AM after the truck was already out. So, packages will be delivered tomorrow and miners will go back out Friday.

Sometime in the next couple weeks I think I'm gonna work on a snap-in hardware solution to changing voltages. I don't know enough about the software on the S7 controller to have an idea how to write a program tapping into the TX lines, but I'm confident I can do it externally. Could be interesting.

HagssFIN
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1129


Electrician. Mining since 2014.


View Profile WWW
July 10, 2016, 10:43:05 PM

I got a Pickit 3 from Ebay and did a little tweaking to use a Enermax Revolution 87+ 1000W PSU (from my old S2) with Antminer S7, B9.

Here are the results:
Antminer S7
Hash rate: 4.390Th/s (40min avg)
Voltage setting: 640/670mV  
Frequency: 650 Mhz

Power supply: Enermax Revolution 87+ 1000W
Voltage: 227 VAC
Current: 4,9 A
Power (at wall): 1112,3 W
Power (from the 12VDC, approximately, with 0.87 efficiency): 967,701 W

Meter: HT Instruments HT7011, used for both voltage and current measuring

IITravel01
Sr. Member
****
Offline Offline

Activity: 325
Merit: 250


View Profile
July 11, 2016, 04:42:10 AM

What's the original default hot starting voltage/cold running voltage for the blades on the S7 (not the S7-LN)?
citronick
Legendary
*
Offline Offline

Activity: 1022
Merit: 1031


---- winter*juvia -----


View Profile
July 14, 2016, 04:26:43 AM

@sidehack

I have an existing S7-LN, can I apply your mod to get the lowered wattage?

Is it a firmware mod?

If HW mod, then I will out of luck with getting this S7-LN down to lower power consumption.

Thanks

If I provided you good and useful info or just bring a smile to your day, consider sending me merit points to further validate this Bitcointalk account ~ useful for future account recovery... BINANCE vs Huobi.Pro - Buy/Sell hash at Nicehash - Rent Rigs at MRR - SMOS -BBT/VOSK/AANTONOP/CBB/PM57/CryptoNEWS/CoinMktCap/Cryptoboreas
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
July 14, 2016, 04:36:34 AM

This thread contains all the answers to those questions.

aarons6
Legendary
*
Offline Offline

Activity: 1400
Merit: 1003


View Profile
July 14, 2016, 04:41:27 AM

@sidehack

I have an existing S7-LN, can I apply your mod to get the lowered wattage?

Is it a firmware mod?

If HW mod, then I will out of luck with getting this S7-LN down to lower power consumption.

Thanks

most of the how-to info is on this post.
https://bitcointalk.org/index.php?topic=1504228.msg15298837#msg15298837
percy_tc
Full Member
***
Offline Offline

Activity: 341
Merit: 100


View Profile
July 14, 2016, 08:44:20 PM

would be great to have a video about the process.

DeepOnion    ▬▬  Anonymous and Untraceable  ▬▬    ENJOY YOUR PRIVACY    JOIN DEEPONION
▐▐▐▐▐▐▐▐   ANN  Whitepaper  Facebook  Twitter  Telegram  Discord    ▌▌▌▌▌▌▌▌
Get $ONION  (✔Cryptopia  ✔KuCoin)  |  VoteCentral  Register NOW!  |  Download DeepOnion
BryanC
Jr. Member
*
Offline Offline

Activity: 37
Merit: 0


View Profile
July 15, 2016, 01:50:00 PM

Sidehack -
You are a gentleman and a scholar. Applied your firmware to my S7-LN, with these results:

Before:
~2700 GH/S
Temp: 48-49
Fans: ~2800
Watts: 724


After:
~2050 GH/S
Temp: 42-44
Fans: 2280
Watts: 430

Watts measured with a belkin in-line meter.

That is brilliant. Daily power cost drops from $1.91 to $1.14 and overall profitability more than doubles.
[edit]Check your tip jar![/edit]
BryanC
Jr. Member
*
Offline Offline

Activity: 37
Merit: 0


View Profile
July 15, 2016, 03:46:37 PM

So, additional question: Intermittently, Chain 1 has shown up with all xxxxx, or with 1 chip x'd. Disconnecting the ribbon cable was a real mother*ucker - could damage to the control cable account for that? Again, it's intermittent. Power cycling will result in one of those error states, or a non-error state. It seems that if I power down and "fiddle" with the cable, it comes back up in the non-error state.

So, that's a point for the DIYers on the S7-LN - it would be better to remove the power supply and have plenty of room to work the control cable off while supporting the socket to ensure you don't damage the cable or the socket.
BryanC
Jr. Member
*
Offline Offline

Activity: 37
Merit: 0


View Profile
July 15, 2016, 10:19:48 PM

... And now it's gone totally wonky, with one board showing 33 chips and the other showing 43. Looks like I have some more work to do!
alh
Legendary
*
Offline Offline

Activity: 1526
Merit: 1006


View Profile
July 15, 2016, 10:49:39 PM

... And now it's gone totally wonky, with one board showing 33 chips and the other showing 43. Looks like I have some more work to do!

Can you revert to the original Bitmain setup? I'd try back there to see if it's related to your changes, or something else.
BryanC
Jr. Member
*
Offline Offline

Activity: 37
Merit: 0


View Profile
July 16, 2016, 12:29:31 AM

Yes - I dumped the existing firmware before writing the new one. Will give that a shot tonight.

... And now it's gone totally wonky, with one board showing 33 chips and the other showing 43. Looks like I have some more work to do!

Can you revert to the original Bitmain setup? I'd try back there to see if it's related to your changes, or something else.
BryanC
Jr. Member
*
Offline Offline

Activity: 37
Merit: 0


View Profile
July 16, 2016, 05:29:30 AM

Ohhhhkay.
Reverted to the original firmware, and everything behaved normally.
Programmed to 650/620, and the strange behaviour returned (showing less than 45 chips per chain - not showing xxx's, but just showing fewer ooo's)
Programmed to 660/630 @ 550m, and it was wonky for the first power cycle (hundreds of HW errors), but after another power cycle it's running with zero errors (one error after another 10 minutes), about 2500 GH/s drawing 560 watts.

I guess that, for whatever reason, these boards won't tolerate the 650/620.

(I would post screenshots, but I'm assuming I don't have that feature until I'm out of "Newbie" status)


... And now it's gone totally wonky, with one board showing 33 chips and the other showing 43. Looks like I have some more work to do!

Can you revert to the original Bitmain setup? I'd try back there to see if it's related to your changes, or something else.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
July 16, 2016, 05:35:00 AM

I know 610 and 600 are specifically labeled "unstable" in the chart, but it's also noted in places that 620 isn't always reliable either. A lot of the group-buy miners weren't stable until 630 or 640. I did each of those on a per-board basis. I've got an S7 right now that has been dropping one board at like 670 for 550MHz so it really depends on the hardware. If a board runs unstable or drops out, the voltage is too low.

Know that the S7LN restarts cgminer. It runs for about a minute to warm up the chips (during which time you'll see hundreds of errors) and after that it should kill and restart clean. The firmware shifts to cold running about 30 seconds into the restarted process. At least that's how it should work - sometimes cgminer doesn't restart and you're left with the jillion errors.

BryanC
Jr. Member
*
Offline Offline

Activity: 37
Merit: 0


View Profile
July 16, 2016, 05:47:53 AM

Thanks for the additional info... It looks like 630 might not be the ticket either. I've got one board only showing 44 chips, and a half dozen HW errors.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
July 16, 2016, 06:04:41 AM

I'd watch for a HW percentage below 0.01 - that's when I started noticing the effective hashrate dropping out. Make sure to keep fans low too; these boards really like to be kept above about 45C to run stable and at low powers it takes almost no fan to do that, especially with the oversized heatsinks in the LN.

IITravel01
Sr. Member
****
Offline Offline

Activity: 325
Merit: 250


View Profile
July 16, 2016, 09:02:47 PM

Decided to try and see if I can do this myself.  Ordered a Pickit 3 and have a S7 that's not doing anything right now.  

Goal:
To try to get the 3 blades running at the same speed one of my S7-LN with sidehack's mod. is running which is 660/630 mV I believe (I'd initially set the modded S7 at the sweetspot of 550M=806w and increase speed until HW errors start showing up, or at 670/640 mV running at 587.5M=900w).  With the 2 blades/boards on the modded S7-LN it's running at 562.5M at 0.0001% HW errors.  This brings about 2,531 GH/s consuming about 550w, so with 3 blades that would bring about 3,8 TH/s consuming about 825w (of course 575M at 3.88 TH/s and 843w with near 0.00% HW errors would be even better goal at 630 mV).  That connected to a EVGA SuperNOVA 1000w P2 ($180) should be a pretty efficient setup for a S7 without the need to purchase any more splitters or adapters as there is 10 PCIe connectors with the power supply (oddly the T2 model doesn't come with the same cable set).  (If money isn't an objection, Thermaltake has a unique 1,250w power supply for $350 that can monitor the electrical usage via a celphone app. that might be interesting to some miners out there.  You'll have to get 2 of these adapters https://www.amazon.com/Express-adapter-inches-sleeved-Angeles/dp/B005H3KH9E/ref=sr_1_1?ie=UTF8&qid=1468701899&sr=8-1&keywords=EPS+to+PCIe as well as figure out how to convert 4 of the PCIe 8-pin connectors to 6-pin connectors.)

I bet this would become a pretty popular hack to the S7's (batches with 135 ASIC) if it's easy to do and obviously these hacked models would sell for more after you're done with the S7.  Anyone know what a S7 pulls from the wall at 562.5M unmodded?  Edit:  Pulled out my Kill-A-Watt.  It's about 1,175w at the wall connected to a Corsair 1,500w Titanium.  So that means about 350w reduction, that's about 29.8% I think (default on the S7 is 690 mV or 700 mV I believe, that's how they get 1,293w=4.72 TH/s at 700M?).  Who would't rather have a S7 that uses about 30% less electricity at the same speed, even if it did only 3.8 TH/s, unless you've got free electricity?  If BitMain sold the power supply bracket separately, I bet you could sell a S7-LW (Low Wattage) version with the EVGA 1000w P2 together as a set.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
July 16, 2016, 09:11:54 PM

I've got a few I'll be doing similar work to, with intent to resell. I should probably be doing that today but it's Saturday and I want to sit on my couch instead. Probably start on it tomorrow.

At 825W you can get away with 2 cables per board (assuming they're not garbage cables), so a less-well-outfitted PSU can still do the job.

Gahs
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
July 20, 2016, 03:47:07 PM

If this S7 improvement venture is successful, are you going to have an equipment that will perform almost as good as a S9? Because that will mean not having to buy a S9 in long run.
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
July 20, 2016, 03:57:13 PM

No, it's really not possible to get the S7 reliably below 0.2J/GH which is still twice the power of the S9. Check the chart on page 4.

NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 1484
Merit: 1063


Evil beware: We have waffles!


View Profile
July 20, 2016, 11:43:20 PM

Arrg...
Got the PICkit3 programmer,, dl'd the latest software for it http://pic-microcontroller.com/download-mplab-ide/ All well there, installed to Win7just fine. Problem is with "You'll want to set the IPE "Device" drop-down to PIC12F1572".

Guess what device is not in the drop down list? Closest match the sw will let me do is PIC12F1501 and that throws a mismatched device ID# error when trying to connect.... Possibly that device was removed in a recent 'update"?

Ideas on getting maybe an older device lib for the programmer to use?

Also details: you mentioned disconnecting the 18pin cables to control board.
Done that.
Using the PICkit to power the device with 3.375v.
So, do the hash boards need their normal +12v power to them or is the MCU for each strictly powered from the programmer?

EDIT: Looking at microchips site for the PIC12F1572, http://www.microchip.com/wwwproducts/en/PIC12F1572 its data sheet starts with:
"PIC12(L)F157X microcontrollers combine the capabilities of 16-bit PWMs with Analog to suit a variety of applications"

I'll try that tomorrow as I recall seeing the LF version listed... Really wanna get my my 22 online s7's knocked down in power. Looking to run using 625MHz vs default 700 for clock as that produces 4.1THs vs 4.7THs, should be a good target for when I can get the Vcore reduced Wink

For bitcoin to succeed the community must police itself - Joshua Zipkin aka Joshua Alexander leaked AMT A1 miner skype chats
How a miner mfgr SHOULD operate: HaggsFIN trip to Canaan My info useful? Donations welcome! 1Fuzzyk398kDWVjuC5qPX5v6CjSkvbgAbd
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
July 21, 2016, 01:28:58 AM

You could probably get 625MHz at around 660mV, which would be a decent reduction from stock power use. The two I worked up today look to be pretty good; one of them is hitting 550MHz at 630mV with almost zero errors. I couldn't quite keep boards from dropping out at 575.

The MCU is programmed only from the 3.3V line from the controller. No power needs be connected to the hashboards or anything else for programming to work right, but disconnecting the 18-pin will prevent voltage from flowing back from the hashboard into the controller which overcurrents the PICKit.

VonSpass
Legendary
*
Offline Offline

Activity: 895
Merit: 1064



View Profile
July 21, 2016, 01:37:10 AM

Interesting; I have not been following the BTC mining tweaks lately - good old Bitmain always performs beyond advertised numbers!
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
July 21, 2016, 11:17:20 PM

Not sure if anyone's interested, but I'm having good luck working up S7s to run 4TH under 1000W off a DPS1200 PSU so I've got some available in the sales board. I'm working on a deal with a guy who is retiring a mine, so I should probably have more of these in the future.

NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 1484
Merit: 1063


Evil beware: We have waffles!


View Profile
July 22, 2016, 01:58:49 PM

Found my problem (no PIC12F1572 device listed): Microchip has at least 2 different programming solutions and the first one I found is version 8.08, the programming software you need is v3.35 found here http://www.microchip.com/mplab/mplab-x-ide

Starting to play with me s7's and as rather expected looks like each board can need different Vcore settings. On my 1st one modded, a batch 16 1-fan, I can run board-1 @ 630mv all the way up to at least 600MHz. For boards 2 & 3 I had to use 650mv. Power dropped from 1,330w down to 995-1,010w and that is with a 120-220v step-up xmfr between my UPS and the PSU.
Most excellent.

For bitcoin to succeed the community must police itself - Joshua Zipkin aka Joshua Alexander leaked AMT A1 miner skype chats
How a miner mfgr SHOULD operate: HaggsFIN trip to Canaan My info useful? Donations welcome! 1Fuzzyk398kDWVjuC5qPX5v6CjSkvbgAbd
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
IITravel01
Sr. Member
****
Offline Offline

Activity: 325
Merit: 250


View Profile
July 22, 2016, 03:29:49 PM

Found my problem (no PIC12F1572 device listed): Microchip has at least 2 different programming solutions and the first one I found is version 8.08, the programming software you need is v3.35 found here http://www.microchip.com/mplab/mplab-x-ide

Starting to play with me s7's and as rather expected looks like each board can need different Vcore settings. On my 1st one modded, a batch 16 1-fan, I can run board-1 @ 630mv all the way up to at least 600MHz. For boards 2 & 3 I had to use 650mv. Power dropped from 1,330w down to 995-1,010w and that is with a 120-220v step-up xmfr between my UPS and the PSU.
Most excellent.

Thanks for the update.  I ordered my Pickit 3 through amazon and didn't realize it would be shipped from Hong Kong, so it's taking longer than expected.  You answered one of my questions in your post, do different boards need different voltages and can they work at different voltages in the same S7.  What kind of HW errors are you getting?  I'm wondering if different boards need different voltages, then the sweet spot for one board (like 630 mV is 550M) won't be the same as the other (like 650 mV is 600-625M), but this might cause one board to start getting errors (like the 630 mV might not do so well at 600M).  There's no way to set the speed for different boards in the same S7, is there?
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 1484
Merit: 1063


Evil beware: We have waffles!


View Profile
July 22, 2016, 03:50:19 PM

Running different voltages for the boards in the s7 is fine. What I was seeing during tests is that when voltage was to low a board would be stable for maybe 5-10 min and then dropped out. Once the voltage is where the chips on a board are happy then the s7 performs as normal. Once I got the boards dialed in the overnight HW errors for this s7 was 0.005%.

No you cannot use different speeds between the boards in a s7.

For bitcoin to succeed the community must police itself - Joshua Zipkin aka Joshua Alexander leaked AMT A1 miner skype chats
How a miner mfgr SHOULD operate: HaggsFIN trip to Canaan My info useful? Donations welcome! 1Fuzzyk398kDWVjuC5qPX5v6CjSkvbgAbd
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
philipma1957
Legendary
*
Offline Offline

Activity: 2142
Merit: 1245


Avalon 841 rocks


View Profile
July 22, 2016, 11:58:49 PM

If this S7 improvement venture is successful, are you going to have an equipment that will perform almost as good as a S9? Because that will mean not having to buy a S9 in long run.

No but a quiet 950 watt machine getting .22 watts still has some value.

My buddies office  can use 1 s-7 and 1 s-7ln this winter  with power at 2.4 cents.

Right now I run 1 s-7ln  and I may grab a modded s-7 from sidehack in early sept.

they would run from sept to may using only 2.4 cent power.

I mine alt coins with https://simplemining.net...
I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
IITravel01
Sr. Member
****
Offline Offline

Activity: 325
Merit: 250


View Profile
July 26, 2016, 06:59:54 PM

http://gekkoscience.com/img_stash/S7LN/S7LN_HEX.zip

The above link is a ZIP archive containing some 17 hex files. The one called "S7LN_PIC_FIRMWARE.hex" is the original unmodified firmware found on the hashboards in my S7LN.

The remaining files are called "S7LN_userselect.X.production.AAA-BBB.hex" where AAA represents the cold running voltage and BBB is the hot running, in millivolts average per node.

I have cold-running files from 580mV to 690mV, where the hot is 30mV higher. I also have three files that set both hot and cold to the same for 700, 710 and 720mV - at those points, a clock rate that would require a higher voltage to start would also draw enough power to smoke out the whole board. Pretty sure anyways. I've tested up to 775MHz and 1020W wall (stock setting was 680W on my unit) without finding an unstable clock on even 710mV and I don't want to catch my boards on fire.

Anyway. If you want to make use of this, find yourself a PIC programer (I use a PICKit 3 that I've had since about 2013) and grab the MPLAB IDE software. What you'll actually need is the IPE side (Programming, rather that Development) but I'm not sure it's possible to download just the IPE without getting the whole thing.

If you remove the outlet fan from the unit, at the end of the boards you will see eight pinholes - one pair, and one set of six. The six are the ISP header into which you'd plug your PICKit.


The lowermost hole of the six corresponds to the header-socket hole on the PICKit that has been flagged (on mine there's a while triangle pointing to it).


You'll want to set the IPE "Device" drop-down to PIC12F1572. Under the "Settings" select Advanced Mode, and once in there click Power, set VDD to 3.3V and check "Power Target Circuit from Tool". For that to work right you're going to want to unplug the 18-pin cable from the board before you program it.

Once that's all configured, plug your PICKit into the board (you might need some wires or pins to connect the header socket of the programmer to the holes on the board) and click "Connect". If you did everything right, there ought not be any errors. Might get a box pop up saying something about low-volt programming and voltage mismatches or some such; just click "OK" and carry on. As far as I can tell it doesn't matter for this application.
You should be able to read existing code off the chip, which you can see in Memory View (View -> Show Memory). If you would like, click "Read" to pull all the existing firmware off and File->Export->Hex to save a backup copy just in case.

Click the "Browse" button associated with the Source path, and navigate to the new hex file of your choosing. Once that's loaded, click "Program" to push the new program to the board.

Make sure you plug the 18-pin cable back in before trying to mine again.

The program will turn on your board to the hot-start voltage value upon power-up of the controller board. The S7's software, once the OS is booted, will run cgminer for about a minute to get things warmed up and then restarts it fresh. My board firmware will start the cold running voltage about 35 seconds into the second cgminer run. If you're watching on a kill-a-watt, the power consumption should drop about 10% or so when it kicks over to cold-running.

When you write "...If you would like, click "Read" to pull all the existing firmware off and File->..."  Do you mean click "Read Device ID" in the "View" upper menu bar?

Do we need to program each board individually (3 of them in the S7) or is one enough (as in are we programming the controller board on top via the board or programming each board)?  I ask this as I'm examining my S7 and notice that of the 3 boards, the header has a few of the holes soldered closed (one has all holes closed and the other has 3 of the 6 closed) on 2 of the 3 boards.  Nevermind, I realize that that doesn't make sense if we have to disconnect the 18 wire cable.  Why would the holes be soldered closed?
RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
July 26, 2016, 07:55:23 PM

When you write "...If you would like, click "Read" to pull all the existing firmware off and File->..."  Do you mean click "Read Device ID" in the "View" upper menu bar?

Do we need to program each board individually (3 of them in the S7) or is one enough (as in are we programming the controller board on top via the board or programming each board)?  I ask this as I'm examining my S7 and notice that of the 3 boards, the header has a few of the holes soldered closed (one has all holes closed and the other has 3 of the 6 closed) on 2 of the 3 boards.  Nevermind, I realize that that doesn't make sense if we have to disconnect the 18 wire cable.  Why would the holes be soldered closed?

Read means the Read button in the centre of the screen that will read the contents of the Pic on the hash board. This can then be saved using File & Export.

Each of the 2 /3 Boards has to be done individually as there is a Pic on each board. If the holes are soldered closed it means that Bitmain has not properly masked them during the flow solder process. Perhaps if these were early boards they did not program the Pic after assembly?


Rich

→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 1484
Merit: 1063


Evil beware: We have waffles!


View Profile
July 26, 2016, 07:55:41 PM

re: holes soldered closed
So far I've ran into that on 3 boards in different miners. Does not follow batches, it just seems random. I first saw that on a b6 and last saw it on a b18. No idea why Bitmain did that.

What I did was just leave those boards as stock. I suppose one could use a solder-sucker to clear the holes...

No we are not programming the BB controller -- we are programming just the MCU on each board.
Yes EACH board has to be programmed but they do not have to use the same settings. eg. a miner can have 2 boards set to 650/680mv and another can remain as stock (holes plugged) or it can be at a different voltage setting that keeps it happy.

For bitcoin to succeed the community must police itself - Joshua Zipkin aka Joshua Alexander leaked AMT A1 miner skype chats
How a miner mfgr SHOULD operate: HaggsFIN trip to Canaan My info useful? Donations welcome! 1Fuzzyk398kDWVjuC5qPX5v6CjSkvbgAbd
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
July 26, 2016, 07:59:11 PM

I've also seen it on a few boards; I cleared the holes and programmed them as usual. Most of the miners I've sent out didn't have the same voltage across each board; they were all tested individually for coldest stability at a given frequency and then tested as a whole. It'd be the same concept as running several Compacs off the same hub but each one set to a different core voltage, whatever that stick needed to work best.

IITravel01
Sr. Member
****
Offline Offline

Activity: 325
Merit: 250


View Profile
July 26, 2016, 08:27:35 PM

When you write "...If you would like, click "Read" to pull all the existing firmware off and File->..."  Do you mean click "Read Device ID" in the "View" upper menu bar?

Do we need to program each board individually (3 of them in the S7) or is one enough (as in are we programming the controller board on top via the board or programming each board)?  I ask this as I'm examining my S7 and notice that of the 3 boards, the header has a few of the holes soldered closed (one has all holes closed and the other has 3 of the 6 closed) on 2 of the 3 boards.  Nevermind, I realize that that doesn't make sense if we have to disconnect the 18 wire cable.  Why would the holes be soldered closed?

Read means the Read button in the centre of the screen that will read the contents of the Pic on the hash board. This can then be saved using File & Export.

Each of the 2 /3 Boards has to be done individually as there is a Pic on each board. If the holes are soldered closed it means that Bitmain has not properly masked them during the flow solder process. Perhaps if these were early boards they did not program the Pic after assembly?


Rich

Thanks, I missed that middle "Read" button there on the "Operate" page.
aarons6
Legendary
*
Offline Offline

Activity: 1400
Merit: 1003


View Profile
July 26, 2016, 09:59:09 PM

i picked up one of these modded s7s from sidehack..
with the stock fans i was having trouble keeping it running at night.. even lowering the fans to 20% was not enough to keep the boards warm enough.. once they got to 40c or so they will shut off.

we are having pretty good weather here, but it still cools off at night.. upper 50s at night and 80s during the day.


i put on a pair of AFB1212-SHE fans i got for my s5s.
https://www.amazon.com/Delta-Electronics-AFB1212SHE-120x120x38mm-connector/dp/B004Y1HLA8

these fans do have a bit more of a whine to them than the stock fans.. but the air flow is slower and the s7 doesnt whistle, over all i think they are more quiet. like a s5.

running them at AUTO they seem to be running pretty good at 600 speed. right at 4000 ghs and using 1023 at the wall. my unmodded s7 at 600 speed uses 1280 watts.
they speed up to about 3400 rpm during the day and slow down to around 3100 at night. they max out at 3600 so there is still room for when it gets hotter.
the temps are holding right at 55-64c.



i think you can flash the 1-fan rom on it and just use one stock fan.. not sure tho.. i didnt try. i might try it on my other s7 when i get the pickit3 i ordered from china.


overall the mod is well worth it.. you dont lose much speed (actually i was running my s7 at 600 already) and you lose almost 300 watts. you do have to do something with the fans tho, the boards need to be above 50c to stay stable.
IITravel01
Sr. Member
****
Offline Offline

Activity: 325
Merit: 250


View Profile
July 26, 2016, 10:49:09 PM

It appears that I was able to program the 1 board without the soldered holes, but only after I increased the voltage from the programmer from the VDD: 3.3 v to 3.55 v.  Now to test it.
RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
July 27, 2016, 05:22:30 AM


i think you can flash the 1-fan rom on it and just use one stock fan.. not sure tho.. i didnt try. i might try it on my other s7 when i get the pickit3 i ordered from china.


I have tried the 1 Fan Rom and it runs fine with a single fan.


Rich


→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
HagssFIN
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1129


Electrician. Mining since 2014.


View Profile WWW
July 28, 2016, 06:52:31 PM

The hacked S7-LN from the group buy is working nicely, thanks again Sidehack and Phil!  Smiley

I have now some measurements for you Phil.
The PSU I'm using is Super Flower Golden Green SF-500P14XE 500W.
The meter used for both voltage and current, with my test setup is HT Instruments HT7011 clamp meter.
Voltage is approx. 222 VAC
Current is approx. 2.0 A
So the power at the wall is approx. 444 W

Not bad.  Cool

It is almost the same as you measured Phil (442W).

IITravel01
Sr. Member
****
Offline Offline

Activity: 325
Merit: 250


View Profile
July 31, 2016, 09:07:17 PM

I wanted to update my results on my modded S7.  So a little disappointed that my 3 boards each needed a different mV setting to run stable.  One at 630, one at 640 and one at 650 mV.  But they seem to work out now OK.  I was able to program the boards even though they had soldered holes by firmly pushing the pins to the soldered holes and after a while was able to get them to program (3.55 V worked for me).  Here's the results.  With 5 additional case fans and a fan controller and a ASUS wireless AP the S7 running at 562.5M was pulling about 919 watts on an EVGA 1600w T2 Titanium (so that would be closer to 900w without the additional equipment).  Stock runs about 1,175w at 562.5M, so that's about 270w less (-23%).  At 562.5M it pulls about 3.9 TH/s with 0.003-0.006% HW errors.  The fans running at 33% manual = 48 on two outer boards and 56 on the middle board temps. (C).  So it would have been nice if all the boards would have been stable at the same mV setting, it still came out pretty well.  Well worth the price of the PickIt 3 programmer and the effort put into it.  Thanks Sidehack.
 
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
July 31, 2016, 09:46:38 PM

Maybe half the S7LN and pretty much none of the S7 that I've worked up have had the same minimum stable voltage for any given frequency. Since each board has so many chips on it, in series, probably randomly scattered with regard to per-chip performance, there are too many variables to expect uniform performance at the edge cases.

Good results though. 900W for 3.9TH is pretty solid.

aarons6
Legendary
*
Offline Offline

Activity: 1400
Merit: 1003


View Profile
August 05, 2016, 11:29:15 PM

i got my pickit3 today and i modded my other s7..
so far i have it running at 550 with 660 on all 3 boards. im at 956w @ 3700 ghs..
im using the s5 fan as intake and a afb1212she has exhaust.


looking at the back does anyone know how the boards are numbered??

1-2-3 or 3-2-1?

i can run them at 650 but board number 1 drops out after awhile and goes to 30c. it did turn back on after about 5 minutes..

at 640 i start to get x's all over.

edit..

these things love the heat.. i lowered the fans down to 60% and the temps are now upper 50s to mid 60s.. sucks on automatic they are pretty much full speed.. Sad
my watt usage went down to 848-850, my speed is right at 3700.. errors are 0003-0005%

that puts me at .23j/ghs

i still think i can drop a couple boards down to 650.. maybe ill try that tomorrow.. not sure how much more watt savings tho 10mv would be..
bitgameSolo
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
August 09, 2016, 03:40:59 PM

Really appreciate this thread thanks! There seem to be different versions sellers of the pickit3. As a noob is there a standard I should order? expect to pay about $65? Also this thread suggest this mod will only work with the 135 chip BM miner. I will try the s7, but if I'm going after an S5 mod I should look elsewhere?
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
August 09, 2016, 03:43:01 PM

For reasons which have probably been explained extensively, it only works with 135-chip S7 and not 162-chip S7 because you're adjusting the output voltage of the main regulator on the board and with 162-chip miners there is no main regulator to adjust. The same applies to the S5.

aarons6
Legendary
*
Offline Offline

Activity: 1400
Merit: 1003


View Profile
August 09, 2016, 09:57:04 PM

Really appreciate this thread thanks! There seem to be different versions sellers of the pickit3. As a noob is there a standard I should order? expect to pay about $65? Also this thread suggest this mod will only work with the 135 chip BM miner. I will try the s7, but if I'm going after an S5 mod I should look elsewhere?

i got this one
http://www.aliexpress.com/item/PICKIT3-Programmer-PIC-ICD2-PICKit-2-PICKIT-3-Programming-Adapter-Universal-Programmer-Seat-FZ0508-Free-Shipping/1967812035.html?spm=2114.13010608.0.54.j30t2e

it took a few days to get here to usa.. about 10.. but it worked..

keep in mind the pool makes a huge difference on the power on the s7..
while i can run kanos pool with 640s on all boards.. i cant solo mine or mine peercoin without bumping mine up to 680 Sad


i dunno why..
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 1484
Merit: 1063


Evil beware: We have waffles!


View Profile
August 09, 2016, 11:48:03 PM

Possibly related to most pools limiting the share rate each miner gets? Done to smooth out the pool servers data loading and keep it reasonably fair for the wide range of miner speeds folks are using. I *think* most try and keep it around 8 shares/sec by adjusting the ShareDiff higher/lower as needed to average that share rate, no? That in turn limits how much 'work' the miner is doing at any given time.

When Solo mining I'd hope the only throttle is the miner vs pool access fairness...

For bitcoin to succeed the community must police itself - Joshua Zipkin aka Joshua Alexander leaked AMT A1 miner skype chats
How a miner mfgr SHOULD operate: HaggsFIN trip to Canaan My info useful? Donations welcome! 1Fuzzyk398kDWVjuC5qPX5v6CjSkvbgAbd
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
August 10, 2016, 01:18:16 AM

I could see it being an issue from mining starting and stopping instead of being fed continuous work, if the boards cool down and drop out before mining kicks back up. That shouldn't be affected by share diff but by availability of work.

salsa321
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


LAW OF ATTRACTION


View Profile WWW
August 10, 2016, 01:22:37 AM

Awesome thread Smiley keep posted thread loke this
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 1484
Merit: 1063


Evil beware: We have waffles!


View Profile
August 10, 2016, 01:49:17 AM

Along these lines, just how much does ShareDiff affect actual 'work' (power used) load? If the dif is not too hard and share rate is too low do the ASIC's spend time idling and just twiddling their thumbs so to speak?

I know that Antpool samples throughput every 1/2hr and as a result ShareDiff bounces up and down pretty wildly whereas on Kano it changes every minute or so. On Antpool the diff would often go up down 25% or more and stay there for the 1/2hr, Kano, just a few % each change. Naturally, more samples in a shorter time translates to better and more accurate averaging response time...

For bitcoin to succeed the community must police itself - Joshua Zipkin aka Joshua Alexander leaked AMT A1 miner skype chats
How a miner mfgr SHOULD operate: HaggsFIN trip to Canaan My info useful? Donations welcome! 1Fuzzyk398kDWVjuC5qPX5v6CjSkvbgAbd
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile
August 10, 2016, 02:06:26 AM

Share diff only affects what shares are sent to the pool and has no effect on the work being done. The chips idle when work is not sent from the server and cgminer has nothing to feed them with. Bitmain chips (at least up through BM1384) return all shares diff 1 and higher and cgminer filters out the results based on what the pool is asking for.

aarons6
Legendary
*
Offline Offline

Activity: 1400
Merit: 1003


View Profile
August 10, 2016, 03:01:30 AM

I could see it being an issue from mining starting and stopping instead of being fed continuous work, if the boards cool down and drop out before mining kicks back up. That shouldn't be affected by share diff but by availability of work.

it could be this..

i know some pools, like zpool the temps on the board drop down about 5c.. i think its because the pool switches coins very often.



if they go under around 53c they drop out and cgminer needs to be restarted to turn back on..

i made a sh script to check for that.. sucks you have to run it every time you reboot the miner, but it runs until you shut it down.
in2tactics
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
August 10, 2016, 04:17:45 AM

Really appreciate this thread thanks! There seem to be different versions sellers of the pickit3. As a noob is there a standard I should order? expect to pay about $65? Also this thread suggest this mod will only work with the 135 chip BM miner. I will try the s7, but if I'm going after an S5 mod I should look elsewhere?

I posted my recommendation for getting the PICkit3 direct from the manufacturer Microchip Technology Inc. here: https://bitcointalk.org/index.php?topic=1504228.msg15332015#msg15332015

The pricing is not bad considering you know it is not a gray market item. The company only offers overnight shipping to the United States and it costs about $7. I think my total cost for the PICkit3, extension cable, and overnight shipping was ~$50.

Casual Miner: 3x 2PAC and 3x Moonlander 2
Retired HW: 2x AntMiner S7-LN, 5x AntMiner U1, 2x ASICMiner Block Erupter Cube, 4x AntMiner S3, 4x AntMiner S1, GAW Black Widow, and ZeusMiner Thunder X6
fvineyard
Member
**
Offline Offline

Activity: 116
Merit: 10


View Profile
August 10, 2016, 04:35:27 AM

If you happen to have an edu email address you can also get a 25% student / academic discount from microchipDIRECT. My order was just under $48 shipped for the PICkit 3 + the Programming Cable Kit.

You can find it cheaper but shipping was fast and that price works for me.
in2tactics
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
August 10, 2016, 05:37:08 AM

If you happen to have an edu email address you can also get a 25% student / academic discount from microchipDIRECT. My order was just under $48 shipped for the PICkit 3 + the Programming Cable Kit.

You can find it cheaper but shipping was fast and that price works for me.

Wow, I wish I had known that when I ordered. I guess I should not complain about a 5% difference.

Casual Miner: 3x 2PAC and 3x Moonlander 2
Retired HW: 2x AntMiner S7-LN, 5x AntMiner U1, 2x ASICMiner Block Erupter Cube, 4x AntMiner S3, 4x AntMiner S1, GAW Black Widow, and ZeusMiner Thunder X6
RichBC
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
August 10, 2016, 09:00:32 AM

If you happen to have an edu email address you can also get a 25% student / academic discount from microchipDIRECT. My order was just under $48 shipped for the PICkit 3 + the Programming Cable Kit.

You can find it cheaper but shipping was fast and that price works for me.

Wow, I wish I had known that when I ordered. I guess I should not complain about a 5% difference.

I have over the Years bought several PicKit 2 & 3, all clones from China and not had a single problem. If you can put up with the delivery time then you can pick up a Pickit3 for $12 including shipping.


Rich


→→→→→→→→→→→→→→→→→→ 💰 Hard-Disk Mineable Cryptocurrency !! B U R S T C O I N 💰 Cheap Price & Easy to Invest - CHECK IT OUT NOW! !! →→→→→→→→→→→→→→→→→→ 💰 Asset exchange, Automatic transactions, Escrow system & More !!
in2tactics
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
August 10, 2016, 10:51:45 AM

I have over the Years bought several PicKit 2 & 3, all clones from China and not had a single problem. If you can put up with the delivery time then you can pick up a Pickit3 for $12 including shipping.


Rich

I do not like to support the gray market. That is my personal opinion. The choice is totally up to you.

Casual Miner: 3x 2PAC and 3x Moonlander 2
Retired HW: 2x AntMiner S7-LN, 5x AntMiner U1, 2x ASICMiner Block Erupter Cube, 4x AntMiner S3, 4x AntMiner S1, GAW Black Widow, and ZeusMiner Thunder X6
bbOOmm
Sr. Member
****
Offline Offline

Activity: 277
Merit: 250

Hunh? Wha da fff...... WOAH!


View Profile
August 11, 2016, 07:36:45 PM

I have been loosely following this topic and thought of this...

All this work, hacking, specific hardware, coding etc .... wouldn't it be easier to literally bypass the whole regulator circuit and supply the chains with a dialed down voltage directly from the power supply? I've been able to get DPS-1200FB power supplies to operate in the 10.5VDC to 11VDC area. There has to be some large solder traces that once the green epoxy is cleaned off, can become a solder point for injecting voltage -after- the regulator circuit.

I did something similar when the connectors for the Avalon miners -- way back when --- roasted the connectors and burnt the boards - I soldered directly to the boards to get them mining again.

Just an idea, I have not looked at the S7 boards to see if it actually can be done space/location wise - the only times I have looked at them were to clean and verify nothing is getting cooked. But with the S7's becoming un-profitable in WI because of electrical rates, I just might take one out of production and play with it.

Unless I find a hashboard or a whole S7 I can play with...

sidehack
Legendary
*
Offline Offline

Activity: 1736
Merit: 1098

Curmudgeonly hardware guy


View Profile