<p>Yes it is possible. To do so, you will need to modify the firmware and install your own firmware onto the S9. The source code for the firmware is available <a href="https://github.com/bitmaintech/Antminer_firmware" rel="nofollow noreferrer">on Github</a>. The firmware is really a lightweight operating system and includes software such as CGMiner preinstalled. Those preinstalled software are probably what you will need to modify, and those are likely written in C/C++.</p>

<p>Since what you want to modify effects the data that is hashed, it should not effect the hashrate at all.</p>

CC BY-SA 3.0
2018-04-05T05:55:37.087Z
2018-04-05T05:55:37.087Z
Ava Chow
<p>In theory, this should be possible. I do not know the specific details of what is required but make the presumption that somewhere running on the embedded Linux there is a configuration file for a program that drives the thing.</p>

<p>I do not imagine that it would negatively affect the hash rate.</p>

CC BY-SA 3.0
2018-03-05T09:22:47.547Z
2018-03-05T09:22:47.547Z
Willtech
<p>Is it possible to program the AntMiner S9 or other ASIC miners? </p>

<p>For example, let's say I only want it to try nonces from 1 to 1 million (instead of all 4 billion possibilities) would it be possible to somehow modify the software on the machine to do this? (please don't ask me why I want to do this, I just want to know if something like this is possible)</p>

<p>If it's possible, what programming language would I use?</p>

<p>Finally, would doing this (significantly) reduce the hash rate of the miner?</p>

<mining-hardware><miner-configuration><asic><antminer>
Is it Possible to Program AntMiner S9 or Other ASIC Miners?
David Lynch
# Is it Possible to Program AntMiner S9 or Other ASIC Miners?

(Asked by: username_0 on 2018-03-05)

Is it possible to program the AntMiner S9 or other ASIC miners?

For example, let's say I only want it to try nonces from 1 to 1 million (instead of all 4 billion possibilities) would it be possible to somehow modify the software on the machine to do this? (please don't ask me why I want to do this, I just want to know if something like this is possible)

If it's possible, what programming language would I use?

Finally, would doing this (significantly) reduce the hash rate of the miner?

**Tags:** mining-hardware, miner-configuration, asic, antminer


---

## 2 answers

### Answer by username_1 on 2018-04-05. Score: 1

Yes it is possible. To do so, you will need to modify the firmware and install your own firmware onto the S9. The source code for the firmware is available [on Github](https://github.com/bitmaintech/Antminer_firmware). The firmware is really a lightweight operating system and includes software such as CGMiner preinstalled. Those preinstalled software are probably what you will need to modify, and those are likely written in C/C++.

Since what you want to modify effects the data that is hashed, it should not effect the hashrate at all.


---

### Answer by username_2 on 2018-03-05. Score: 0

In theory, this should be possible. I do not know the specific details of what is required but make the presumption that somewhere running on the embedded Linux there is a configuration file for a program that drives the thing.

I do not imagine that it would negatively affect the hash rate.


---

