-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error divide by zero on Cyclone V Starter Board #16
Comments
same error =( |
Me too. This miner needs a Tcl stratum support. I think it is possible with pure Tcl. |
This error seems like it's not heavily device dependent. I've tracked down where in the tcl script this is happening, but don't know the expected behavior of the variables. I was reconfiguring this project for a Cyclone II (just for fun) when I hit this. The error happens when mine.tcl calls push_work_to_fpga in jtag_command.tcl. The case I hit was where the target threshold received from the mining pool (Nov 13, 2022) is $work(target) -> 0000000000000000000000000000000000000000000000000000ffff00000000 Then, in the block of code quoted at runtime, this happens which attempts to divide 0x0000ffff by 0x00000000, which is indeed, a divide by 0. |
By the way, getwork <-> stratum conversion seems to be doable via a proxy (https://github.com/slush0/stratum-mining-proxy). |
My config.tcl
set url "http://XX.XX.XX.XX:8332"
set userpass "myuser.myworker:mypass"
I downloaded mining_proxy.exe from https://github.com/slush0/stratum-mining-proxy. then run cmd.exe
mining_proxy -o litecoinpool.org -p 3333
I get this error when i run mine.bat
The text was updated successfully, but these errors were encountered: