Bitcoin Forum
May 27, 2024, 08:20:53 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: My own ASIC  (Read 260 times)
MoonBitter (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
June 19, 2018, 12:18:22 PM
 #1

Hi all,
i already know that bitcoin mining is remunerative (maybe) only with ASIC hardware but... i like to develop hardware and firmware so, just for fun, i'd like to create an USB powered device that use microcontroller to "emulate" actual ASIC.
My target is to realize a useless Mh/s device (other than a GPU miner)  Grin
I know they use USB/UART converter to comunicate and this is easy, but where i can find protocol and commands it has to respond to?

Thank you
sidehack
Legendary
*
Offline Offline

Activity: 3318
Merit: 1849

Curmudgeonly hardware guy


View Profile
June 19, 2018, 12:22:33 PM
 #2

If you're already coding your own hashing function, why use someone else's protocol? There's no standard, and every manufacturer's is already different.
Also most of them aren't really published info.

Older Avalon (gen4 and back) datasheets can be found with some protocol info, but their stuff's a bit weird and changed a couple times in there. Bitmain's protocol has been relatively fixed from S1 to S9, and the BM1385 (S7) datasheet has decent info on it.

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
MoonBitter (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
June 19, 2018, 12:27:09 PM
 #3

thank you sidehack...
my problem is how to create a "driver" to use my device with cfgminer  Huh
sidehack
Legendary
*
Offline Offline

Activity: 3318
Merit: 1849

Curmudgeonly hardware guy


View Profile
June 19, 2018, 01:08:17 PM
 #4

Ah. I can't really help you there. I do all the hardware and firmware but someone else writes the driver. I could probably do it given enough time, but I'm already tied up with design and manufacturing and hosting and whatever else is going on at the shop.

VH integrates my GekkoScience stuff into cgminer. You might also talk to jstefanop (the MoonLander guy); I'm pretty sure he did both hardware and driver for his miners.

From what I understand, cgminer basically has the framework in it for pool communication and for organizing how work gets divided up and distributed. The particular format in which it is sent to the miner, and the particular format in which nonces are received, is hardware-dependent, as are any control signals (setting clocks, etc). The driver would mostly be a translator between cgminer's base structures and your miner's specific protocol implementation.

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
MoonBitter (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
June 28, 2018, 08:26:41 AM
Last edit: June 28, 2018, 09:16:14 AM by frodocooper
 #5

Finally i got it  Grin
I found this good example how to create an Arduino Miner:
https://github.com/joric/arduino-bitcoin-miner

It is mining at 45 H/s so i think it is the more useless and slower miner ever  Grin Grin Grin ... but i like it  Smiley

It is emulating an Icarus FPGA but i don't know why my BFGMiner is saying it is mining at 360MH/s  Huh Huh Huh Huh
Do you have any idea?
This is a screenshot of BFGMiner
https://imgur.com/a/NuaXQa0
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!