Post
Topic
Board Hardware
Re: GekkoScience 2Pac BM1384 Stickminer Official Support Thread
by
nQuant
on 09/02/2018, 07:12:13 UTC
ck has released a new version of cgminer this week, does this build include the latest code or the version prior?

Yes, it includes all the latest updates from ck's repository.
Including some related to system libusb that has sent my windows build example back to the drawing board.  Sad
   
The entry page to my repository should say "This branch is N commits ahead of ckolivas:master. ".
If it's ever "commits behind" just let me know.




vh, I was wondering if these 2pac checks against difficulty ? Datasheet says 4 bytes from byte position 36 to 39 set as ticket mask for difficulty.
But gekko driver code seems only setting ticket_mask at 39th byte position. What extactly is this ticket_mask?

I tried setting Network difficulty as below and seemed it work but later found its not always returning true nonce for every sample worked example I was using.
I think these chips keep iterating from 0 to max nonce and return every nonce which result in hash with first 4 bytes with 0. Is that true ?

Code:
_data[36] = (byte)((difficulty >> 24) & 0xff);
_data[37] = (byte)((difficulty >> 16) & 0xff);
_data[38] = (byte)((difficulty >> 8) & 0xff);
_data[39] = (byte)(difficulty & 0xff);

Actually I have written small POC kind of app in c# to test and wondering how to control difficulty its checking against.
Also it seems you are not using Start nonce offset, in my test I found any value above 1 was not working.
How to set the SNO properly so that device only starts the work from particular nonce instead of 0.

Appreciate if you could help me here. Thanks !!!