Bitcoin Forum
May 06, 2024, 04:44:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 »  All
  Print  
Author Topic: Open Source Avalon Gen2 55nm Board  (Read 35872 times)
form (OP)
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
December 23, 2013, 04:23:09 PM
 #101

I know that the driver for gen2 Avalon needs to subtract 0x180 from the returned nonce but are there any other changes?

There was a limitation (999 MHz) for the command-line parameter for the desired chip-frequency in some versions of cgminer - That has to be removed or changed to 5000 or so.
Thats the only thing that has to be changed, additionaly to the 0x180 substraction (which BFGminer detects automatically).
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715013873
Hero Member
*
Offline Offline

Posts: 1715013873

View Profile Personal Message (Offline)

Ignore
1715013873
Reply with quote  #2

1715013873
Report to moderator
1715013873
Hero Member
*
Offline Offline

Posts: 1715013873

View Profile Personal Message (Offline)

Ignore
1715013873
Reply with quote  #2

1715013873
Report to moderator
1715013873
Hero Member
*
Offline Offline

Posts: 1715013873

View Profile Personal Message (Offline)

Ignore
1715013873
Reply with quote  #2

1715013873
Report to moderator
fasmax
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
December 23, 2013, 11:48:21 PM
 #102

@form
After looking at the Avalon data sheet I don't see how to get the clock frequency above 999mhz and satisfy all 3 equations.
Were you able to decipher the data sheet and set the core clock frequency at 1000mhz or above.
If so what values did you use for F,R & OD.
Thanks for any help you can provide to understand this.

 
form (OP)
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
December 24, 2013, 12:12:51 AM
 #103

After looking at the Avalon data sheet I don't see how to get the clock frequency above 999mhz and satisfy all 3 equations.
Were you able to decipher the data sheet and set the core clock frequency at 1000mhz or above.
If so what values did you use for F,R & OD.
Thanks for any help you can provide to understand this.

You can see what values are used, when you look at this function in the firmware:
https://github.com/formtapez/avalon/blob/master/firmware/Klondike.X/klondike.c#L307

The newest datasheet shows slightly other formulas, i didnt got it to work that way, still using the formulas from the older datasheet, works fine.
hongkongapple1
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile WWW
December 24, 2013, 12:09:05 PM
 #104

Will going to try the one compiled by T later on, 
mean while this is the output I'm getting ( with only chips no. Have been adjusted )

And also possible to pop the soft in openWRT ?

[2013-12-24 15:24:39] KLN0:0 Reply work [=] dev=0 workid=26 nonce=0x137b5eb7
 [2013-12-24 15:24:39] KLN0:0 reply [=:001a295eef04504b006f02000400]
 [2013-12-24 15:24:39] KLN0:0 FOUND NONCE (1a:04ef5ca9)
 [2013-12-24 15:24:39] KLN0:0 unknown work (1a:04ef5ca9) - ignored
 [2013-12-24 15:24:39] KLN0:0 Reply work [=] dev=0 workid=26 nonce=0x04ef5ca9
 [2013-12-24 15:24:40] [thread 0: 0 hashes, 0.0 khash/sec]
 [2013-12-24 15:24:40] Received stratum notify from pool 0 with job_id=78f7
 [2013-12-24 15:24:40] Generated stratum header 0000000287acb8d5de78560f7cd9e5df8e8836b0d95c59c6a5d865b9000000000000000021c30a1 5cb044379a8bae531dbb8bf994626651698757e779ee59afc71bde9cd52b936b61903a30c000000 00
 [2013-12-24 15:24:40] Work job_id 78f7 nonce2 00000000
 [2013-12-24 15:24:40] Generated target 0000000033330000000000000000000000000000000000000000000000000000
 [2013-12-24 15:24:40] Work stale due to work update (27 != 28)
 [2013-12-24 15:24:40] Discarded work
 [2013-12-24 15:24:40] Work stale due to work update (27 != 28)
 [2013-12-24 15:24:40] Discarded work
 [2013-12-24 15:24:40] Discarded 2 stales that didn't match current hash
form (OP)
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
December 24, 2013, 12:33:00 PM
 #105

try to adjust this value in klondike.h:

#define TICK_TOTAL 20800
hongkongapple1
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile WWW
December 25, 2013, 12:07:17 AM
 #106

for all of us here  ~~  Merry Christmas  ~  Best wishes  Kiss

Thanks Form,  u're you superb !    After adjustment I'm now getting 11 - 14 G ~  with almost no error , < 1%.. Cheesy

I'm getting alot of " went idle before work was sent"

Result : ~

[2013-12-25 07:57:39] KLN0:0 went idle before work was sent
 [2013-12-25 07:57:41] KLN0:0 went idle before work was sent
 [2013-12-25 07:57:42] Accepted 08be9e7b KLN 0  Diff 29/12
 [2013-12-25 07:57:43] KLN0:0 went idle before work was sent
 [2013-12-25 07:57:45] KLN0:0 went idle before work was sent
 [2013-12-25 07:57:47] KLN0:0 went idle before work was sent
 [2013-12-25 07:57:49] KLN0:0 went idle before work was sent
 [2013-12-25 07:57:58] KLN0:0 went idle before work was sent
 [2013-12-25 07:57:58] Stratum from pool 0 requested work update
 [2013-12-25 07:57:59] Accepted 0c5327a8 KLN 0  Diff 20/12
 [2013-12-25 07:58:06] KLN0:0 went idle before work was sent
 [2013-12-25 07:58:08] KLN0:0 went idle before work was sent
 [2013-12-25 07:58:10] Accepted 0b6c42ce KLN 0  Diff 22/12
 [2013-12-25 07:58:10] Accepted 06e2cd2b KLN 0  Diff 37/12
 [2013-12-25 07:58:10] KLN0:0 went idle before work was sent
 [2013-12-25 07:58:12] KLN0:0 went idle before work was sent
form (OP)
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
December 25, 2013, 12:44:32 AM
 #107

Thanks Form,  u're you superb !    After adjustment I'm now getting 11 - 14 G ~  with almost no error , < 1%.. Cheesy
I'm getting alot of " went idle before work was sent"

Yeah, i get these messages here, too - since months Smiley
Actually, changing TICK_TOTAL adjusts the timeout for one job. When the value is too big/small the result is many dupe/idle messages.
I think 20800 is near the "golden mean". It doesnt affect the hashrate as much as one would think.
I have updated the code (and the .hex) in the github-repo now, too.

Can you tell something about your frequency and voltage settings? Are you cooling the chips from topside, too?
hongkongapple1
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile WWW
December 25, 2013, 03:07:30 AM
Last edit: December 25, 2013, 09:21:17 AM by hongkongapple1
 #108

I'm trying the 1v ,  bottom with ( Heat Sink +  Fan ) ~  For The Front Fan Only~   I was thinking of putting Heatsink at front..  since the Chip rise its temp. so rapidly ~  I try around 3200 - 3600 !    

Do u think I should also try +/- Tick_Total too ?  Wink

J
cdragon
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
December 25, 2013, 08:35:35 AM
Last edit: December 25, 2013, 09:31:23 AM by cdragon
 #109

Thanks Form,  u're you superb !    After adjustment I'm now getting 11 - 14 G ~  with almost no error , < 1%.. Cheesy
I'm getting alot of " went idle before work was sent"

Yeah, i get these messages here, too - since months Smiley
Actually, changing TICK_TOTAL adjusts the timeout for one job. When the value is too big/small the result is many dupe/idle messages.
I think 20800 is near the "golden mean". It doesnt affect the hashrate as much as one would think.
I have updated the code (and the .hex) in the github-repo now, too.

Can you tell something about your frequency and voltage settings? Are you cooling the chips from topside, too?
I'm from korea. I don't know english.
I have make 3 PCB.
I'm trying the 1 volt,  16chip is very cool.(bottom side heatsink with fan)
writing new hex file.

Result :
using cgminer cgminer-3.9.0-windows
7~16G show like that, but actually the 0G(btcguild).

using bfgminer-3.8.1-win32
I'm getting 4.65GH/s(same btcguild)

Thank for form.


--------------------------------------------------------------------------------
 bfgminer version 3.8.1 - Started: [2013-12-25 16:02:15] - [  0 days 01:55:49]
 [M]anage devices [P]ool management Settings [D]isplay options  [H]elp [Q]uit
 Connected to stratum-lb-usa48.btcguild.com diff 8 with stratum as user *****
 Block: ...180a0d30 #276856  Diff:1.18G ( 8.45Ph/s)  Started: [17:57:06]
 ST:2  F:0  NB:15  AS:1  BW:[ 57/ 37 B/s]  E:23.60  I:83.14uBTC/hr  BS:4.25k
 1      25.5C | 10.31/10.71/ 4.65Gh/s | A:948 R:1236+4( 57%) HW:2/.01%
--------------------------------------------------------------------------------
 KLN 0: 24.7C | 11.79/10.71/ 4.65Gh/s | A:948 R:1236+4( 57%) HW:2/.01%
--------------------------------------------------------------------------------
 [2013-12-25 17:57:16] Rejected 0fd229a5 KLN 0  Diff 16/8 (duplicate)
 [2013-12-25 17:57:24] Accepted 1c6650d9 KLN 0  Diff 9/8
 [2013-12-25 17:57:24] Rejected 1c6650d9 KLN 0  Diff 9/8 (duplicate)
 [2013-12-25 17:57:29] Accepted 0ed3b0d3 KLN 0  Diff 17/8
 [2013-12-25 17:57:29] Rejected 0ed3b0d3 KLN 0  Diff 17/8 (duplicate)
 [2013-12-25 17:57:32] Stratum from pool 0 requested work update
 [2013-12-25 17:57:32] Accepted 074c64dd KLN 0  Diff 35/8
 [2013-12-25 17:57:32] Rejected 074c64dd KLN 0  Diff 35/8 (duplicate)
 [2013-12-25 17:57:41] Accepted 0e913eed KLN 0  Diff 17/8
 [2013-12-25 17:57:41] Rejected 0e913eed KLN 0  Diff 17/8 (duplicate)
 [2013-12-25 17:57:42] Rejected 0e913eed KLN 0  Diff 17/8 (duplicate)
 [2013-12-25 17:57:45] Accepted 117e4481 KLN 0  Diff 14/8
 [2013-12-25 17:57:45] Rejected 117e4481 KLN 0  Diff 14/8 (duplicate)
 [2013-12-25 17:58:00] Accepted 1da98d79 KLN 0  Diff 8/8
 [2013-12-25 17:58:01] Rejected 1da98d79 KLN 0  Diff 8/8 (duplicate)
 [2013-12-25 17:58:02] Stratum from pool 0 requested work update
form (OP)
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
December 25, 2013, 10:36:07 AM
 #110

Did you used the .hex file from yesterday?
cdragon
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
December 25, 2013, 10:55:52 AM
Last edit: December 25, 2013, 11:15:21 AM by cdragon
 #111

Did you used the .hex file from yesterday?
yes!
I apply yesterday hex file.
old hex file is display ignore.
hongkongapple1
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile WWW
December 25, 2013, 11:46:43 AM
 #112

Cdragon,

You use bfgminer-3.8.1-win32, with which driver on windows?

The standard Avalon 2 Prototype is clock bewteen ( 1 - 2 K MHz ), i try keep trying the figure
cdragon
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
December 25, 2013, 12:06:08 PM
Last edit: December 25, 2013, 12:19:26 PM by cdragon
 #113

I used zadig(v2.0.1.162)driver with windows7.
This driver is mount Univeral Serail Bus devices(K16).
I don't know how to adjust clock.
form (OP)
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
December 25, 2013, 02:38:55 PM
 #114

I don't know how to adjust clock.

You should add this to the parameters of cg/bfgminer:
--klondike-options 1300:70

First number is frequency in MHz, second is desired temperature in °C.
cdragon
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
December 25, 2013, 04:22:21 PM
Last edit: December 25, 2013, 04:53:58 PM by cdragon
 #115

I was change the frequency between 500~700MHz.
Increase in performance, but the result is similar to the previous.
hongkongapple1
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile WWW
December 25, 2013, 07:16:24 PM
 #116

Still Trying to Optimum the speed ~ usually over 3000 will have 100% no Rejected ~ 

Now I got top side with HeatSink too..  Result is very different performace, much better !

but still the arange is around 13-4 G

Is there a way we would know if all single chips is working ?  Roll Eyes


~~  Mine only works in CGminer,  I have the driver installed before, but still don't see it in BFGminer ~
hongkongapple1
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile WWW
December 25, 2013, 08:26:20 PM
 #117

if that is still true on 16 chips board ?

hash unit working clock frequency = XCLKIN frequency * F/(R*(2^OD)).
cdragon
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
December 26, 2013, 01:30:37 AM
Last edit: December 26, 2013, 04:36:34 AM by cdragon
 #118

if that is still true on 16 chips board ?

I'm writing a blog every day about making the this board.
My blog name is say "indu dot com" Smiley


orignal artwork not modify.
appended outline only.
https://i.imgur.com/sn9kHpF.jpg

All parts are hands soldering by iron.
https://i.imgur.com/ujiitFe.jpg

cgminer(runing time 30min)
https://i.imgur.com/sMdxbqb.jpg
https://i.imgur.com/Wj3BgId.jpg

bfgminer(runing time 1hour)
https://i.imgur.com/St6pPnC.jpg
https://i.imgur.com/O8iabts.jpg
form (OP)
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
December 26, 2013, 09:45:55 AM
 #119

One important thing i forgot:
The value of MAX_WORK_COUNT in klondike.h has to match the value in the driver of cg/bfgminer.

In the github-repository i set it to "8" everywhere.
So when you are using other non-patched mining software (bfgminer for example), be sure to change it to "8", too.

@cdragon: Why are you hashing at 500 MHz?
hongkongapple1
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile WWW
December 26, 2013, 01:38:32 PM
Last edit: December 26, 2013, 05:34:29 PM by hongkongapple1
 #120

if that is still true on 16 chips board ?

hash unit working clock frequency = XCLKIN frequency * F/(R*(2^OD)).

Form :  We need oscilloscope for the ~ TMR0 Time period (uS) ?

            also if ~  2^18 hashes per tick ,  still valid ?


Cdragon:  Nice Soldering ~ the board looks great ~ Nice slot
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 »  All
  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!