intron
Sr. Member
Offline
Activity: 427
Merit: 251
- electronics design|embedded software|verilog -
|
|
May 24, 2014, 01:42:12 PM |
|
Can anyone confirm on having built a working A1 board?
http://imgur.com/fZuJCUXNo hashes yet, I'm working on software right now... Smart one, these hi-current 'solder tracks'
|
|
|
|
Dexter770221
Legendary
Offline
Activity: 1029
Merit: 1000
|
|
May 24, 2014, 05:49:42 PM |
|
Can anyone confirm on having built a working A1 board?
http://imgur.com/fZuJCUXNo hashes yet, I'm working on software right now... Smart one, these hi-current 'solder tracks' Yeah, copper isn't enough... This 6phase DC/DC converter can output over 300 amps...
|
Under development Modular UPGRADEABLE Miner (MUM). Looking for investors. Changing one PCB with screwdriver and you have brand new miner in hand... Plug&Play, scalable from one module to thousands.
|
|
|
hozer
|
|
May 28, 2014, 02:13:20 AM |
|
Can anyone confirm on having built a working A1 board?
http://imgur.com/fZuJCUXNo hashes yet, I'm working on software right now... Smart one, these hi-current 'solder tracks' Yeah, copper isn't enough... This 6phase DC/DC converter can output over 300 amps... Inquiring minds want to know, what converter/driver/controller chips are you using, and what does what looks like Q2 do (unless it's paralleled with Q1 or something interesting). The hardest part with A1 software seems to be thinking your software is broken when it's actually the power supply I have a board that has solder-wick soldered on to carry additional current in a couple of places.
|
|
|
|
Dexter770221
Legendary
Offline
Activity: 1029
Merit: 1000
|
|
May 28, 2014, 09:20:21 AM |
|
Inquiring minds want to know, what converter/driver/controller chips are you using ...
It's a secret ... and what does what looks like Q2 do (unless it's paralleled with Q1 or something interesting) Yes, downside mosfets are in pararell, to minimize loses and increase efficiency. The hardest part with A1 software seems to be thinking your software is broken when it's actually the power supply True. A1's are very demanding, but so far I was able to initialize chain and get proper readings from registers. I hope that today I will be able to write piece of code, send test job to compute and read back a proper values
|
Under development Modular UPGRADEABLE Miner (MUM). Looking for investors. Changing one PCB with screwdriver and you have brand new miner in hand... Plug&Play, scalable from one module to thousands.
|
|
|
MrTeal
Legendary
Offline
Activity: 1274
Merit: 1004
|
|
May 29, 2014, 07:55:40 PM |
|
Inquiring minds want to know, what converter/driver/controller chips are you using ...
It's a secret Can I guess the LTC3880?
|
|
|
|
Dexter770221
Legendary
Offline
Activity: 1029
Merit: 1000
|
|
May 29, 2014, 08:39:37 PM Last edit: May 29, 2014, 09:02:15 PM by Dexter770221 |
|
Inquiring minds want to know, what converter/driver/controller chips are you using ...
It's a secret Can I guess the LTC3880? Nope... So far I experienced software problems. I can write to reg and read back. But when I upload test job then register[16] stays at 1 all the time. Chip gets hotter and hotter but no results. Any idea why?
|
Under development Modular UPGRADEABLE Miner (MUM). Looking for investors. Changing one PCB with screwdriver and you have brand new miner in hand... Plug&Play, scalable from one module to thousands.
|
|
|
FrictionlessCoin
Legendary
Offline
Activity: 868
Merit: 1000
Cryptotalk.org - Get paid for every post!
|
|
May 29, 2014, 09:28:23 PM |
|
Got my PCB made this week. Anyone else working on a reference build? Would love to compare notes I am selling 2 extra boards that I had made at cost ($25). I am in the US, quick shipping. Does this work and do you have the BOM? How much for all the parts except for the A1 chips?
|
|
|
|
Dexter770221
Legendary
Offline
Activity: 1029
Merit: 1000
|
|
May 30, 2014, 05:09:57 PM |
|
Finally!!! Test vectors passed 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
|
Under development Modular UPGRADEABLE Miner (MUM). Looking for investors. Changing one PCB with screwdriver and you have brand new miner in hand... Plug&Play, scalable from one module to thousands.
|
|
|
FrictionlessCoin
Legendary
Offline
Activity: 868
Merit: 1000
Cryptotalk.org - Get paid for every post!
|
|
May 30, 2014, 08:56:45 PM |
|
Finally!!! Test vectors passed 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/MVtOniDI 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?
|
|
|
|
Dexter770221
Legendary
Offline
Activity: 1029
Merit: 1000
|
|
May 30, 2014, 10:12:42 PM |
|
Finally!!! Test vectors passed 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/MVtOniDI 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 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...
|
Under development Modular UPGRADEABLE Miner (MUM). Looking for investors. Changing one PCB with screwdriver and you have brand new miner in hand... Plug&Play, scalable from one module to thousands.
|
|
|
zefir (OP)
Donator
Hero Member
Offline
Activity: 919
Merit: 1000
|
|
May 31, 2014, 10:24:48 AM |
|
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 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... Hm, I tried to write the driver source code as self-explanatory and readable as possible, sorry if it was not as helpful as it could have been. Anyway, for one prototype I once ported the code to an STM32 controller, and after adapting the access to the SPI interface, it worked mostly unchanged. Unless you have a very resource-limited uC working with, I won't expect any issues. Otherwise feel free to ask for clarifications, I'm helping out as far as possible.
|
|
|
|
[gadget]
Newbie
Offline
Activity: 30
Merit: 0
|
|
June 01, 2014, 12:14:07 AM |
|
I am selling 2 extra boards that I had made at cost ($25). I am in the US, quick shipping. Does this work and do you have the BOM? How much for all the parts except for the A1 chips? yes and yes. Oh, I dunno $50 maybe
|
|
|
|
[gadget]
Newbie
Offline
Activity: 30
Merit: 0
|
|
June 01, 2014, 12:19:54 AM |
|
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 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... Hm, I tried to write the driver source code as self-explanatory and readable as possible, sorry if it was not as helpful as it could have been. Anyway, for one prototype I once ported the code to an STM32 controller, and after adapting the access to the SPI interface, it worked mostly unchanged. Unless you have a very resource-limited uC working with, I won't expect any issues. Otherwise feel free to ask for clarifications, I'm helping out as far as possible. Zefir, your code in cgminer is some of cleanest there is in there. Please don't let anyone tell you otherwise. I wrote my own test code for A1s using the Pi and my feedback about the datasheet is that it was well written and (mostly) easy to understand. In combination with this thread I was able to get going in no time. I mean compare this to the (missing) bitfury docs and you'll see the difference.
|
|
|
|
vs3
|
|
June 01, 2014, 06:25:24 AM |
|
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 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... Hm, I tried to write the driver source code as self-explanatory and readable as possible, sorry if it was not as helpful as it could have been. Anyway, for one prototype I once ported the code to an STM32 controller, and after adapting the access to the SPI interface, it worked mostly unchanged. Unless you have a very resource-limited uC working with, I won't expect any issues. Otherwise feel free to ask for clarifications, I'm helping out as far as possible. Zefir, your code in cgminer is some of cleanest there is in there. Please don't let anyone tell you otherwise. I wrote my own test code for A1s using the Pi and my feedback about the datasheet is that it was well written and (mostly) easy to understand. In combination with this thread I was able to get going in no time. I mean compare this to the (missing) bitfury docs and you'll see the difference. +1 on Zefir's work from me too! (and it was indeed quite a task to put something together to cover for Bitfury's omission)
|
|
|
|
[gadget]
Newbie
Offline
Activity: 30
Merit: 0
|
|
June 13, 2014, 02:38:44 AM |
|
https://i.imgur.com/a5H8z8t.jpgWe have some level shifters we made for the ref boards. We could make a bigger batch for sale. Any interest out there?
|
|
|
|
FrictionlessCoin
Legendary
Offline
Activity: 868
Merit: 1000
Cryptotalk.org - Get paid for every post!
|
|
June 23, 2014, 08:26:09 PM |
|
We have some level shifters we made for the ref boards. We could make a bigger batch for sale. Any interest out there? Pardon my ignorance, but what is this board for?
|
|
|
|
emdje
|
|
October 19, 2014, 04:13:57 PM |
|
Having some trouble with getting 0x04 responce on the 0x04 reset command. I'm doing the HW reset as described. The signals from raspi passed through level shifters. Chip select DI CLK are ok. I see 0x04 passing into the chip but there is nothing at the output. The VDDcore is 0.7 volts. Maybe it is too low?
That's pretty likely too low. I had similar issues when I was running the chip that low. 0.8V seems to be pretty reliable for at least basic comms for most chips. A couple wouldn't hash at that voltage but once I brought it up to about 0.84V they were fine. Of course, now those chips run hotter than the others I know it is an old topic but I have a question. I am working on the firmware for the A2's, which are pretty much the same as the A1's. However, it seems to be possible to adjust the VDD_Core voltage by software. How did you guys change the VDD_CORE voltage??? Greatly appriciated, emdje
|
|
|
|
hozer
|
|
October 21, 2014, 03:45:42 PM |
|
Having some trouble with getting 0x04 responce on the 0x04 reset command. I'm doing the HW reset as described. The signals from raspi passed through level shifters. Chip select DI CLK are ok. I see 0x04 passing into the chip but there is nothing at the output. The VDDcore is 0.7 volts. Maybe it is too low?
That's pretty likely too low. I had similar issues when I was running the chip that low. 0.8V seems to be pretty reliable for at least basic comms for most chips. A couple wouldn't hash at that voltage but once I brought it up to about 0.84V they were fine. Of course, now those chips run hotter than the others I know it is an old topic but I have a question. I am working on the firmware for the A2's, which are pretty much the same as the A1's. However, it seems to be possible to adjust the VDD_Core voltage by software. How did you guys change the VDD_CORE voltage??? Greatly appriciated, emdje That depends on your board layout and voltage regulators. If you've got an A2 terminator I'd be quite interested in trying to reverse engineer this. Otherwise we likely need at least the schematics of the board.
|
|
|
|
emdje
|
|
October 22, 2014, 09:20:29 AM |
|
That depends on your board layout and voltage regulators. If you've got an A2 terminator I'd be quite interested in trying to reverse engineer this. Otherwise we likely need at least the schematics of the board.
So no means to change the voltage by software? I thought I read in this topic that it could be controlled by i2c?
|
|
|
|
hozer
|
|
October 23, 2014, 06:38:12 PM |
|
That depends on your board layout and voltage regulators. If you've got an A2 terminator I'd be quite interested in trying to reverse engineer this. Otherwise we likely need at least the schematics of the board.
So no means to change the voltage by software? I thought I read in this topic that it could be controlled by i2c? Can you take a picture of your hash board? How's it wired to the raspberry pi? Can you identify the voltage regulator/controller chip?
|
|
|
|
|