intron
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 427
Merit: 251
- electronics design|embedded software|verilog -
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 29, 2013, 02:51:15 PM |
|
Cool! But how can it estimate hash rate without any accepted shares? Few minutes later: intron_2 2,149.59 MH/s 174 (100.00%) 0 / 1 / 0
|
|
|
|
runeks
Legendary
Offline
Activity: 980
Merit: 1008
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 29, 2013, 02:57:34 PM |
|
Cool! But how can it estimate hash rate without any accepted shares? Few minutes later: intron_2 2,149.59 MH/s 174 (100.00%) 0 / 1 / 0 Sweet! Looks like there's a rounding error in whatever mining pool you're using. With 174/1 accepted/stale shares it should only give a 99.43% accepted rate.Pretty cool that it's working now though. EDIT: I can see it doesn't count duplicate shares as stale.
|
|
|
|
jspielberg
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 29, 2013, 09:08:38 PM |
|
Cool! But how can it estimate hash rate without any accepted shares? Few minutes later: intron_2 2,149.59 MH/s 174 (100.00%) 0 / 1 / 0 That is pretty fantastic.... though at 2.15 GH/s the 120GH miner is going to need about 56 of those chips. Are you going to try to push more power through it to see if you can get the desired 5GH/s speed (for 24 chips), or is that something that metabank themselves will need to be exploring?
|
|
|
|
intron
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 427
Merit: 251
- electronics design|embedded software|verilog -
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 29, 2013, 09:27:18 PM |
|
That is pretty fantastic.... though at 2.15 GH/s the 120GH miner is going to need about 56 of those chips. Are you going to try to push more power through it to see if you can get the desired 5GH/s speed (for 24 chips), or is that something that metabank themselves will need to be exploring?
We will play around a bit, see what we can get out of this ASIC. But we have no set targets or something. It's merely a fun project:) intron
|
|
|
|
jspielberg
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 29, 2013, 09:32:30 PM |
|
Nice... your fun project seems to be the pre-eminent Bitfury DIY project on the net currently.
Hopefully chips will be available for sale soon and you can enjoy the fun of profit as well.
|
|
|
|
2112
Legendary
Offline
Activity: 2128
Merit: 1073
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 29, 2013, 09:32:53 PM |
|
Code is running on the ARM Cortex M3, getting work from the pool and sending results back using on-board Ethernet.
Just one quick question about your miner: is it running standalone (no underying OS, but using a lightweight TCP/IP stack) or hosted (by an OS like Linux, and if so, which OS)? Thanks.
|
|
|
|
intron
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 427
Merit: 251
- electronics design|embedded software|verilog -
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 29, 2013, 09:52:56 PM |
|
Code is running on the ARM Cortex M3, getting work from the pool and sending results back using on-board Ethernet.
Just one quick question about your miner: is it running standalone (no underying OS, but using a lightweight TCP/IP stack) or hosted (by an OS like Linux, and if so, which OS)? Thanks. It connects to stratum proxy running on a PC using it's own TCP/IP stack. No OS, just on the bare metal. It's c-scape's work. intron
|
|
|
|
Felipeo
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 476
Merit: 262
EOSABC
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 29, 2013, 10:03:46 PM |
|
It connects to stratum proxy running on a PC using it's own TCP/IP stack. No OS, just on the bare metal. It's c-scape's work.
intron
So its standalone ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
intron
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 427
Merit: 251
- electronics design|embedded software|verilog -
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 29, 2013, 10:11:51 PM Last edit: June 29, 2013, 10:31:01 PM by intron |
|
It connects to stratum proxy running on a PC using it's own TCP/IP stack. No OS, just on the bare metal. It's c-scape's work.
intron
So its standalone ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Not totally, it still needs a PC running a stratum proxy. When there is time and the poor little ARM can handle the workload it would be nice to have it truly stand-alone. intron
|
|
|
|
2112
Legendary
Offline
Activity: 2128
Merit: 1073
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 29, 2013, 10:28:20 PM |
|
Not totally, it still needs a PC running a stratum proxy. When there is time and the poor little ARM can handle the workload it would be nice to have truly it stand-alone.
Thank you very much for your reply. Felipeo and I were using the term "standalone" in the old software engineering sense: not using the OS services like network stack, dynamic linking and memory management. A lot of Bitcoin software is hopelessly entwined with humounguos OS-dependent components like Python interpreter or OpenSSL library. I was just trying to confirm my guess that your miner software isn't dragging that baggage. Thanks again.
|
|
|
|
dwdoc
Legendary
Offline
Activity: 966
Merit: 1000
- - -Caveat Aleo- - -
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 29, 2013, 10:30:47 PM |
|
Nice... your fun project seems to be the pre-eminent Bitfury DIY project on the net currently.
Hopefully chips will be available for sale soon and you can enjoy the fun of profit as well.
Sorry to disappoint but except for a handful of testers only Metabank and 100TH will have access to these chips as far as we know.
|
|
|
|
Felipeo
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 476
Merit: 262
EOSABC
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 29, 2013, 10:34:51 PM |
|
Not totally, it still needs a PC running a stratum proxy. When there is time and the poor little ARM can handle the workload it would be nice to have truly it stand-alone.
Thank you very much for your reply. Felipeo and I were using the term "standalone" in the old software engineering sense: not using the OS services like network stack, dynamic linking and memory management. A lot of Bitcoin software is hopelessly entwined with humounguos OS-dependent components like Python interpreter or OpenSSL library. I was just trying to confirm my guess that your miner software isn't dragging that baggage. Thanks again. Yhym standalone in that sens ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) Thank You for clarifying this for me
|
|
|
|
intron
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 427
Merit: 251
- electronics design|embedded software|verilog -
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 30, 2013, 10:41:31 AM |
|
Thank you very much for your reply. Felipeo and I were using the term "standalone" in the old software engineering sense: not using the OS services like network stack, dynamic linking and memory management.
A lot of Bitcoin software is hopelessly entwined with humounguos OS-dependent components like Python interpreter or OpenSSL library.
I was just trying to confirm my guess that your miner software isn't dragging that baggage.
Thanks again.
The c-scape firmware has its own TCP/IP stack, JSON parser and mining software, so it's lightweight and compact, and can run on single chip $5 ARMs in less than 32 KB flash memory. The only code from external sources is the SHA-256 implementation (about 150 lines), needed to prepare the midstate, and to verify the bitfury results, and of course bitfury's example SPI code to initialize the chip and get the results. Currently it only supports the getwork protocol, so it depends on an external stratum proxy for best results. c-scape
|
|
|
|
ultrix
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 30, 2013, 10:52:41 AM |
|
The c-scape firmware has its own TCP/IP stack, JSON parser and mining software, so it's lightweight and compact, and can run on single chip $5 ARMs in less than 32 KB flash memory. The only code from external sources is the SHA-256 implementation (about 150 lines), needed to prepare the midstate, and to verify the bitfury results, and of course bitfury's example SPI code to initialize the chip and get the results. Currently it only supports the getwork protocol, so it depends on an external stratum proxy for best results.
c-scape
Which ARM chip? I was thinking about doing something similar with an LPC1768. Has USB OTG, Ethernet, 512kb flash memory with in app programming, and a bunch of other useful features. You can get them in prototyping quantities for ~$6-8 and in lots of 100 for $3-4 (depending on how many chinese distributors you want having your email and phone number). I've got a small stratum implementation tested against stratum proxy, eloipool, etc. I'll upload somewhere when I get home from traveling.
|
|
|
|
intron
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 427
Merit: 251
- electronics design|embedded software|verilog -
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 30, 2013, 11:18:54 AM |
|
The c-scape firmware has its own TCP/IP stack, JSON parser and mining software, so it's lightweight and compact, and can run on single chip $5 ARMs in less than 32 KB flash memory. The only code from external sources is the SHA-256 implementation (about 150 lines), needed to prepare the midstate, and to verify the bitfury results, and of course bitfury's example SPI code to initialize the chip and get the results. Currently it only supports the getwork protocol, so it depends on an external stratum proxy for best results.
c-scape
Which ARM chip? I was thinking about doing something similar with an LPC1768. Has USB OTG, Ethernet, 512kb flash memory with in app programming, and a bunch of other useful features. You can get them in prototyping quantities for ~$6-8 and in lots of 100 for $3-4 (depending on how many chinese distributors you want having your email and phone number). I've got a small stratum implementation tested against stratum proxy, eloipool, etc. I'll upload somewhere when I get home from traveling. We use the NXP LPC1758, quite similar. And looking forward to see your code:) intron
|
|
|
|
bitfury (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 30, 2013, 11:50:37 AM |
|
Just send him some chips as well pls as he made boards (ultrix, sorry, as I said I don't have at hands most). Maybe Silverpike could share some with you or Dave (in USA) ?
|
|
|
|
zulunation
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 30, 2013, 01:48:36 PM |
|
Intron you were using the diodes to protect INSCK INMOSI inputs in the first board. But bitfury said that there are diodes inside the chip. Are you still using them on new boards?
|
|
|
|
intron
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 427
Merit: 251
- electronics design|embedded software|verilog -
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 30, 2013, 02:01:53 PM |
|
Intron you were using the diodes to protect INSCK INMOSI inputs in the first board. But bitfury said that there are diodes inside the chip. Are you still using them on new boards?
No. I was alarmed a bit by some of bitfury's comments about the chip being highly sensitive and could be 'fried' in a whimp. Later, when the boards were ready I read the ASIC had protection inside the chip. So on the new boards the zeners are omitted. intron
|
|
|
|
buzzdave
VIP
Sr. Member
Offline
Activity: 472
Merit: 250
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 30, 2013, 06:35:44 PM |
|
Just send him some chips as well pls as he made boards (ultrix, sorry, as I said I don't have at hands most). Maybe Silverpike could share some with you or Dave (in USA) ?
I have only enough chips to make a single prototype H-board to verify the function and build quality of the US-side board manufacturer. I'll post here if I end up with a few spares, but it would be less than 5 at most.
|
|
|
|
ultrix
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 30, 2013, 06:50:11 PM |
|
Just send him some chips as well pls as he made boards (ultrix, sorry, as I said I don't have at hands most). Maybe Silverpike could share some with you or Dave (in USA) ?
Its not worry, as it actually works out a bit better given my current work schedule. I should have more free time to tinker in a week or two.
|
|
|
|
|