As mining hardware usually has a short life-cycle and at least every year a new generation of hardware reaches the market there are often issues with the support of older hardware. In case of the Avalon 6 it is especially hard to get your hands on an AUC2 converter – as the newer Avalon generation use AUC3 converters which are not compatible with each other.
First of all it has to be said that the AUC2(Avalon USB Converter 2) converter is a common USB2IIC converter which works with the on board IIC in the CGMiners driver. Basically this means another USB2IIC device can be used but its software has to be extended with the drivers. Therefore this is probably a more complex way to replace the AUC2 converter.
Another more theoretical possibility is to produce your own AUC2 controller, this is possible as the full hardware and software is open source. But after checking the BOM for the AUC2 converter I can tell you it’s rather hard to do this without replacing many parts of the BOM due to availability issues. See below all the necessary links to create your own AUC2 controller:
- Hardware: https://canaan.io/downloads/hardware/A3218/AUC2/
- Software source code: https://github.com/Canaan-Creative/Avalon-USB-converter/tree/AUC-20151208
- Firmware of Avalon6: https://en.bitcoin.it/wiki/Avalon6#20151208
The last and probably easiest way to run your Avalon 6 without an AUC2 converter is to use the IIC interface of the Raspberry Pi directly, a disadvantage of this method is that you lose the ability to daisy chain multiple miners as the IIC interface only supports one device. When testing this I had a lot of issues with the Raspberry Pi 3 and I’m not sure if it works with the Raspbery Pi3 due to the available Software – therefore it is suggested to use a Raspberry Pi 2. See below the Pinouts of the AUC2 connection:
Pinout of Avalon 6 (Wiki)
Pinout of Raspberry Pi2 (Github)
The basic setup can be seen in the picture below. As you can see in the picture, the Avalon 6 is connected with the Raspberry Pi2 by the use of the standard AUC2 4pin cable(any other 4pin cable will also do) and by an individual 4pin cable in accordance to the above pin-out. After this step you have to flash the SD-card of the Raspi with the latest image from the Avalon wiki. Additionally the following code has to be added to cgminer config: “–avalon4-iic-detect” (more detailed code examples: https://en.bitcoin.it/wiki/Avalon6#RPi_Firmware)
Now it should be happily hashing again.
Basic setup of Avalon6 Miner without AUC2 converter
To summarize this, there are basically the following 3 ways to “replace” your AUC2 controller:
- Use a standard USB2IIC converter with flashed drivers
- Build your own AUC2 controller as it is open source
- Run your Avalon 6 without an AUC2 converter and use the IIC interface of the Raspberry Pi directly
The third option is for most of you the most feasible and easiest way for a workaround to AUC2 issues. If you have any questions or troubles when trying this guide just comment below.
UPDATE – 16.12.2017: I wanted to point out that there is also a Plug and play way to work with the third option – its a product from a trusted partner shop of us, check it out in the link below:*
Sources not mentioned:
Credits go to Fengling Qin from the Avalon developer Team!