/STM8_DUCO_miner

STM8 firmware for mining DUCO

Primary LanguageC

STM8_DUCO_miner

STM8S firmware for mining DUCO.



Compile with SDCC: http://sdcc.sourceforge.net/
IDE: Code::Blocks https://www.codeblocks.org/
The compiled firmware for STM8S003/STM8S103 is here: STM8_DUCO_miner.hex
Program with STLink or other programmer supporting SWIM protocol.
ST Visual Programmer: https://www.st.com/en/development-tools/stvp-stm8.html

Tested on STM8S003F3P6 development board: https://www.amazon.com/Development-Minimum-System-STM8S003F3P6-Module/dp/B07L178DKC
Avg hashrate: 260 H/s
Connect power to 3.3V or 5V or USB, UART TX to PD6, RX to PD5. LED connected to PB5
Increase the avr_timeout setting in Settings.cfg from 4 to 10 seconds.

How to enable UART on Raspberry Pi 4/3/Zero W: https://di-marco.net/blog/it/2020-06-06-raspberry_pi_3_4_and_0_w_serial_port_usage/

RasPi_connect

PL2303HX_connect