The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Configrations
Clock Crystals 48.000 MHz
Clock Crystals 24.000 MHz
USB: 29F1:33F1
Schematics
BFGMiner
./bfgminer \
-S ICA:/dev/ttyACMx \
-o stratum+tcp://stratum.ozco.in:80 -O mikeqin.avalon:1234 \
--set-device ICA:baud=115200 \
--set-device ICA:reopen=timeout \
--set-device ICA:work_division=1 \
--set-device ICA:fpga_count=1 \
--set-device ICA:probe_timeout=100 \
--set-device ICA:timing=0.22 \
--api-listen \
2>log
bfgminer.exe ^
-S ICA:\\.\COMn ^
-o stratum+tcp://stratum.ozco.in:80 -O mikeqin.avalon:1234 ^
--set-device ICA:baud=115200 ^
--set-device ICA:reopen=timeout ^
--set-device ICA:work_division=1 ^
--set-device ICA:fpga_count=1 ^
--set-device ICA:probe_timeout=100 ^
--set-device ICA:timing=0.22 ^
--api-listen ^
2>log
备注:timing详见bfgminer的README,如果当前配置的频率是400MHz,则Hashrate=400*11.8=~4Gh/s
<math>\mbox{timing} = \frac{1}{4\times 10^9}\times 10^9</math>
MHS Cur = Diff1 Work * (Difficulty Accepted/(Difficulty Accepted+Difficulty Rejected+Difficulty Stale)*60/(Elapsed)*71582788/(1000000)
所有的信息可以通过./bfgminer-rpc -o summary获取。
注:如果Difficulty Accepted+Difficulty Rejected+Difficulty Stale = 0,则Difficulty Accepted/(Difficulty Accepted+Difficulty Rejected+Difficulty Stale) 取1。
- BFGMiner release from luck.dashjr
http://luke.dashjr.org/programs/bitcoin/files/bfgminer/
Cgminer for Avalon nano
CGMiner Under Ubuntu 14.04
Download
Inside your home directory, download Cgminer
git clone https://github.com/Canaan-Creative/cgminer
Compile
cd cgminer
git checkout origin/avalon-usb -b avalon-usb
./autogen.sh --enable-icarus
make -j 4
Run
sudo ./cgminer --icarus-options 115200:1:1 --icarus-timing 0.22 -o http://stratum.pool:3333 -u work -p pass
or
sudo ./cgminer --icarus-options 115200:1:1 --icarus-timing 0.22 -o http://stratum.pool:3333 -u work -p pass --api-allow W:192.168.2,W:192.168.2.1 --api-listen $@ 2>./log
LED
Idle:Green.
Working:From red to blue( frequency high to low).
Hot alert:Red blinking.
ULINK 2
SmartPro 5000U-Plus
LPC11u14
- LPC11U14 LPCXpresso Board Spec
Processor NXP's Cortex-M0 LPC11U14 microcontroller in LQFP48 package
Flash 32 kB
Data Memory 6 kB
Clock Crystals 12.000 MHz crystal for CPU
Dimensions 35 x 140 mm
Power 3.15V-3.3V external powering, or from USB via JTAG probe (LPC-LINK)
Connectors
• mini-B USB connector for LPC11U14 USB interface
• All LPC11U14 pins available on expansion connector (2x27 pin rows, 100 mil pitch, 900 mil between rows)
Other
• Embedded JTAG (LPC-LINK) functionality via LPCXpresso toolchain
• LPC-LINK can be connected to external target processor after modifications to the LPCXpresso board
• LED on PIO0_7
Diagnostics when connecting to LPC-Link
1. lpc-link info
crt_emu_lpc11_13_nxp -info-emu -wire=winusb
2. target info
crt_emu_lpc11_13_nxp -info-target -pLPC11U14/201 -wire=winusb -4
3. burn and run axf file
crt_emu_lpc11_13_nxp -pLPC11U14/201 -wire=winusb -flash-load-exec nxp_lpcxpresso_11u14_periph_blinky.axf
4. info scan
crt_emu_lpc11_13_nxp -info-scan -wire=winusb
5. semi_host debug
use newlib semihost
1. gdb connect
arm-none-eabi-gdb nxp_lpcxpresso_11u14_periph_blinky.axf
target extended-remote | crt_emu_lpc11_13_nxp -pLPC11U14/201 -2 -wire=winusb
load
Firmware
Reflash
Patches
For what: Cgminer patch.
From where: Based c5ec1171@https://github.com/BitSyncom/cgminer/tree/avalon2
Comments: Support avalon3 nano in cgminer.
Support Icarus protocol.
- Avalon3 nano firmware(20140523-dd84b993)
- Support nonce receive timeout check
- Support adjust freq for 100Mhz to 360Mhz,freq value after reset is 360Mhz
- Avalon3 nano firmware(20140519-8c38877c):first version
- Avalon3 nano test scripts found here:a3233_avalon_usb_testbench.sh
- Support adjust freq for 360Mhz to 400Mhz,value after reset is 400Mhz
- Include avalon3 nano module test(avalon_bsp_testben)
- bfgminer(0676fa314a9cc1491ad2e5f5c6a5e97f38fa67e3),how to run:http://wiki.0xf8.com/index.php/Bfgminer
- NOTICE: Only for testing
- Adjust LED color according to the temperature
AvalonMiner
- Avalon3 nano windows miner(20140911)
- Beautifull GUI
- Auto detect Avalon nano
- Avalon3 nano windows miner(20140803) first version
- Support bfgminer only
- Support icarus protocal
Windows GUI
CLI
- BFGMiner (C:\Program Files (x86)\Avalon Nano\BfgMiner)
1. Copy BfgMiner to a safe place.
2. Uninstall Avalon GUI Miner
3. Modify the icadbg.cmd(under BfgMiner folder) with your correct com port.
4. Double click icadbg.cmd.
Links