Author

Topic: [ANN][BLC] Blakecoin Blake-256 for GPU/FPGA With Merged Mined Pools Stable Net - page 116. (Read 409641 times)

legendary
Activity: 1509
Merit: 1030
Solutions Architect
If you get problems with IMPACT loading bitstream to CM1, try like CM1 wiki says:

https://en.bitcoin.it/wiki/CM1Quickstart, but remember about hashvoodoo spartan-3 controller firmware.

I've got that problems with CM1 too in IMPACT&Xilinx JTAG and don't know why? Too long JTAG chain or bad PCB design?? Who knows that?Smiley

I use a cheap Xilinx USB Cable (DLC9G clone) to program all my boards the only trick is setting the dip switches  8, 6, 3 to off and plugging the program cable into the controller JTAG which is above SW6 and using Xilinx ISE (14.5, 14.6, 14.7) start Impact and it will detect the chain and program successful unless you did not set dip switches!

I never got the official way working consistently hence my use of the program cable and Impact, works every time for me on multiple boards  Undecided
member
Activity: 82
Merit: 10
would anyone here be willing to help test out my p2pool?

Do you have a URL?
newbie
Activity: 11
Merit: 0
If you get problems with IMPACT loading bitstream to CM1, try like CM1 wiki says:

https://en.bitcoin.it/wiki/CM1Quickstart, but remember about hashvoodoo spartan-3 controller firmware.

I've got that problems with CM1 too in IMPACT&Xilinx JTAG and don't know why? Too long JTAG chain or bad PCB design?? Who knows that?Smiley
legendary
Activity: 1509
Merit: 1030
Solutions Architect
these are the bitstreams kramble has built for us to use for blakecoin on cm1
https://github.com/kramble/FPGA-Blakecoin-Miner/tree/master/experimental/CM1

just load the .bit and dont bother with the mcs on the flash just the fpga which will be valid until power cycled
legendary
Activity: 1509
Merit: 1030
Solutions Architect
did you get it working on bitcoin with the standard hashvoodoo or did you skip a few steps?

drop down the list of Universal Serial Bus controllers as it shows the Cairnsmore devices (JTAG,PORT A/B,SPI)

and what are you using as your command line in the .bat?

hero member
Activity: 518
Merit: 500
Bitrated user: ahmedbodi.
would anyone here be willing to help test out my p2pool?
legendary
Activity: 1509
Merit: 1030
Solutions Architect
I used an external programmer,to program the controller and FPGAs with a external programmer and Xilinx IMPACT set dip 8, 6, 3 to off

ref: http://enterpoint.co.uk/products/spartan-6-development-boards/cairnsmore-1/cairnsmore1-support-materials/

Hashvoodoo release to use: https://github.com/downloads/pmumby/hashvoodoo-fpga-bitcoin-miner/hashvoodoo_release_09_23_2012.zip

http://www.enterpoint.co.uk/cairnsmore/cm1_rev_1_5_dip_sw.jpg

connect programmer to controller JTAG is top left above SW6 dip switch bank set dip switches 8, 6, 3 to off and open Xilinx IMPACT auto detect and flash
hashvoodoo_controller_25.bit

power cycle

connect programmer to FPGA JTAG is bottom left next to usb on side (2 big JTAG ports not used)

open Xilinx IMPACT auto detect and flash
hashvoodoo_dynamic_09_23_2012.bit

set SW2,SW3,SW4,SW5 to all on

and set (SW6,SW1) dip 8, 6, 3 to on

test and don't power cycle

if it is working then repeat last step with Blakecoin bitstream


sr. member
Activity: 384
Merit: 250
Found it Finally.
(same folder ) Smiley
c:/Controller/SPIProg.exe hashvoodoo_dynamic_09_23_2012.bit

No, you need to use hashvoodoo_controller_25.bit for the controller FPGA (not hashvoodoo_dynamic_09_23_2012.bit which is the bitcoin mining bitstream*). I never did the controller flashing myself (and I no longer have a board to test on), but hopefully somebody will be along soon enough to help out.

* (note) There are five FPGA devices on the CM1. One is the controller FPGA (a spartan 3 device) which is programmed via SPIProg.exe, the other four are the mining FPGAs (spartan 6 LX150s) which are programmed the VirtuaBox linux VM using xc3sprog.
legendary
Activity: 1190
Merit: 1002
Found it Finally.
(same folder ) Smiley
c:/Controller/SPIProg.exe hashvoodoo_dynamic_09_23_2012.bit
legendary
Activity: 1190
Merit: 1002
I just got the Cairnsmore1 from a friend.
Please help me to run it on Blake-256 ?

https://en.bitcoin.it/wiki/CM1Quickstart

Which controller bitstream did your friend have loaded?

Blake bitstreams are located here: https://github.com/kramble/FPGA-Blakecoin-Miner/tree/master/experimental/CM1

I have no idea.
I try to got hashvoodoo_controller , but i dont know how.
I try to use Virtual Box program.
I also just got Xlinix cable program.
Any help to pre-program it please.
sr. member
Activity: 274
Merit: 254
Thanks Kramble, I got the vanitygen to work, luckily my username here is a valid prefix, check my sig below Smiley
sr. member
Activity: 384
Merit: 250
hey kramble, i was trying out your blc vanitygen. im a bit unclear about which characters and prefixes are possible. also the program gives an error that valid bitcoin address must start with 1, unless i run the command with -r. any suggestions?

Thanks for the bug report. I've updated the hint so it now gives the correct range for blakecoin when run with -X26. The valid range is discussed in the README, so it's always a good idea to read this in case of difficulty (RTFM as they say Tongue)

Quote
Also is there a way to have vanitygen give me an estimated time or # tries until completion? thx

Others have commented on the lack of usefulness of the vanitygen progress messages, unfortunately this sort of change is rather beyond my level of expertise, so perhaps you can take it up with the original author?
https://bitcointalksearch.org/topic/vanitygen-vanity-bitcoin-address-generatorminer-v022-25804
https://github.com/samr7/vanitygen

This is probably as far as I'm going to go with the blake version of vanitygen, but if someone wants to create a windows executable, or even better an OCL version, then that would be quite helpful.

EDIT: Reading through the recent posts on the vanitygen thread, it seems that Red Emerald has taken over support for vanitygen (my blake version is forked from his/her github repo, so should be up-to-date).
sr. member
Activity: 409
Merit: 250
hey kramble, i was trying out your blc vanitygen. im a bit unclear about which characters and prefixes are possible. also the program gives an error that valid bitcoin address must start with 1, unless i run the command with -r. any suggestions? also is there a way to have vanitygen give me an estimated time or # tries until completion? thx

Ah, maybe my comment in the README was a bit confusing. I said the valid range was BT to Bs (I worked this out by trial and error), but only part of BT and part of Bs are usable. You can generate any address from BU, BV, BW, BX, BY, BZ and Ba, Bb, Bc to Bq, Br (excluding Bl since lowercase l is not part of the base58 character set). For example I've been running:
./vanitygen -F compressed -X 26 -ik -o outkram.txt bkram
sr. member
Activity: 274
Merit: 254
hey kramble, i was trying out your blc vanitygen. im a bit unclear about which characters and prefixes are possible. also the program gives an error that valid bitcoin address must start with 1, unless i run the command with -r. any suggestions? also is there a way to have vanitygen give me an estimated time or # tries until completion? thx
sr. member
Activity: 384
Merit: 250
Since I've been looking at addresses, I've had a go at modifying JackJack's pywallet for blakecoin

https://github.com/kramble/FPGA-Blakecoin-Miner/tree/master/blake_pywallet

You need to run it with --otherversion=26 --datadir /home/user/.blakecoin (on linux)

It seems to work ok for dumping an unencrypted wallet on the command line, but running via the web interface it displays the addresses incorrectly (it looks like it's using the bitcoin version byte instead) oops, my bad, the version needs to be entered onto the web form as well as the command line.
full member
Activity: 182
Merit: 100
It seems there are very good news for non-scrypt based coins today:
https://www.kncminer.com/products/titan - 100MH/s scrypt miner for 10k$
Guess whats going to happen when they start shipping  Cheesy
legendary
Activity: 1498
Merit: 1001
CryptoCurrency EXchange: https://c-cex.com
https://c-cex.com exchange moved to much faster servers.
We can now handle 10x times more online users! Welcome!
legendary
Activity: 1470
Merit: 1001
Use Coinbase Account almosanywhere with Shift card
newbie
Activity: 14
Merit: 0
looks great,both CPU and GPU?
sr. member
Activity: 384
Merit: 250
I have a couple DE0-Nano boards that aren't doing anything at the moment. Would you upload the code to github?

I've just updated the github and uploaded a bitstream, see the README.

The verilog is fine (in fact the bistream is the same as the one I compiled back in October). The problem was due to the TCL script not coping with the getwork pool sending 129 bytes rather than the 128 bytes expected, there being an additional byte of data after the nonce field. Interestingly this extra byte (6B) together with the nonce (35303152) spell K105r (the author of the pool software).

Another interesting bug is that the pool sends a block header version byte 2, compare 114 (0x70) for solo mined blocks (this can be easily verified with the blockexplorer, most of the recent blocks being version 2, while the early ones are version 114). Not that it affects the miner, but it does make the blockchain a bit untidy.

Anyway, the DE0-Nano is not going to be of much use as a miner (just 5 MHash/sec or so), but the code may be of use for porting to other Altera devices, though it would be better to use the LX150 code as a base for the larger ones.
Jump to: