Post
Topic
Board Group buys
Re: [CLOSED] Bitmine CoinCraft A1 28nm chip distribution / DIY support
by
Dexter770221
on 30/05/2014, 22:12:42 UTC
Finally!!!
Test vectors passed Wink And I can confirm now that test job returns six nonces. 744ec1ec is the 6th one.
This chip is a nightmare for software writer. Behavior of the chip depends on the command. Some commands break chain, some don't return any value back to host uC. And datasheet is the worst I ever seen. Errors (register table for example) and lack of information. Without oscilloscope I would never guess how to "talk" with this chips. Many hours spended on discovering things that should be in datasheet.

http://imgur.com/MVtOniD

I don't get it,  doesn't this driver:  https://github.com/ckolivas/cgminer/blob/master/driver-SPI-bitmine-A1.c  cover the communication with the A1 chip?

Are you saying that there is something wrong with the driver?
Driver is for RaspPi with direct communication thru SPI. I'm using microcontroller that is a brigde between chain of chips and host thru RS485 comm port. So I needed to write own "driver". Obviously I was looking at that piece of code, but it's not secret that looking at someone's code is painfull Wink It give me quite good amount of headache but it helped a little bit too. It only confirms that chip behavior is very dependent on command. exec_cmd function needs long list of parameters to be sucesfully executed...