Bitcoin Forum
November 09, 2024, 05:52:54 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 »
  Print  
Author Topic: Experimenting with Jalapeno firmware...  (Read 62609 times)
danattacker (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
June 18, 2013, 09:23:29 AM
 #21


I don't think it will work. It looks like an ISP programmer, not a JTAG programmer.
danattacker (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
June 18, 2013, 09:45:32 AM
 #22

You can access that straight through the usb iirc, sink the reset pins and it re-initializes in programing mode. Dfu-programmer has more details on how to talk to it in that state.

Yes, I did read about the USB bootloader. However, I don't think it would be easily accessible because the usb port goes to the FTDI chip, not the microcontroller. And, the USB bootloader could have also been overwritten.
jelin1984
Legendary
*
Offline Offline

Activity: 2408
Merit: 1004



View Profile
June 18, 2013, 11:56:21 AM
 #23

it will be great to have the firmware of jalapenos
whitefeather
Member
**
Offline Offline

Activity: 97
Merit: 10



View Profile
June 18, 2013, 08:13:37 PM
 #24

Current firmware theoretically tests the hardware error count and clocks accordingly when you're starting it up, so theoretically you should let it cool down before firing it up again for it to choose the higher rate Wink

+1
danattacker (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
June 18, 2013, 08:50:23 PM
 #25

Nasser replied to my post on the BFL forums confirming some of the settings in std_def.h, here's his reply...

in Std-Def.h, the "__PRODUCT_MODEL_LITTLE_SINGLE__" should be defined and other product types must be commented. Also the __ASIC_FREQUENCY_ACTUAL_INDEX should be set to like 7 for 274MHz operation. Higher will increase speed but the chips may not support it and hang. The safe value for it is '0'.

I just asked him about the __DO_NOT_TUNE_CHIPS_FREQUENCY being set to 1. Hopefully he will give us some insight on that.
danattacker (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
June 19, 2013, 06:58:28 PM
 #26

Nasser's reply about __DO_NOT_TUNE_CHIPS_FREQUENCY:

Frequency tuning is Regressive. Meaning if you set the frequency-index to 9, the firmware tests the chips at 281MHz. If they don't behave correctly, it reduces it one step down and repeats the test. Now if "DO NOT TUNE CHIP FR..." is set, it wont run these tests...


I should be getting my AVR Dragon within the next 2 hours. I made my own 10-pin JTAG cable since I don't think the Dragon comes with one. I'll let you guys know how it works out.
danattacker (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
June 19, 2013, 10:08:50 PM
 #27

Ok guys. The good news is that my Jalapeno is alive again. I downloaded the firmware from the Jalapeno and it was obviously trashed. Somehow, it looked like the actual JTAG commands that were sent using that crappy software got written to the flash. It was also a challenge getting the JTAG hooked up to the Jalapeno PCB because the heat sink was in the way of the cable, and since I had to remove the heat sink, I needed to way to cool it when I applied power. I ended up putting masking tape around the ASIC chips and pressing the metal backplate on the top of the chips. Fortunately, the metal didn't get that hot when I was programming. But, when it finished programming, the chips got hot real fast. I guess that was a good sign  Grin! I compiled the firmware with no changes to the code and although it is working, there are a ton of errors in cgminer. I will see whats up with it later tonight since I have to go someplace soon.

It is now hashing at 8.2 GH/s  Shocked
goxed
Legendary
*
Offline Offline

Activity: 1946
Merit: 1006


Bitcoin / Crypto mining Hardware.


View Profile
June 19, 2013, 10:10:27 PM
 #28

Ok guys. The good news is that my Jalapeno is alive again. I downloaded the firmware from the Jalapeno and it was obviously trashed. Somehow, it looked like the actual JTAG commands that were sent using that crappy software got written to the flash. It was also a challenge getting the JTAG hooked up to the Jalapeno PCB because the heat sink was in the way of the cable, and since I had to remove the heat sink, I needed to way to cool it when I applied power. I ended up putting masking tape around the ASIC chips and pressing the metal backplate on the top of the chips. Fortunately, the metal didn't get that hot when I was programming. But, when it finished programming, the chips got hot real fast. I guess that was a good sign  Grin! I compiled the firmware with no changes to the code and although it is working, there are a ton of errors in cgminer. I will see whats up with it later tonight since I have to go someplace soon.

It is now hashing at 8.2 GH/s  Shocked

So 8.2GH/s without tons of CGMINER errors?

Revewing Bitcoin / Crypto mining Hardware.
danattacker (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
June 19, 2013, 10:14:03 PM
 #29

So 8.2GH/s without tons of CGMINER errors?

The cgminer errors seem to have something to do with come kind of hex2str conversion problem. I think that this new firmware is not quite supported by cgminer.

I believe it is indeed hashing at (or near) 8.2 GH/s since uploaded shares is currently ~117 per minute, much higher than i was getting before.
goxed
Legendary
*
Offline Offline

Activity: 1946
Merit: 1006


Bitcoin / Crypto mining Hardware.


View Profile
June 19, 2013, 10:19:36 PM
 #30

So 8.2GH/s without tons of CGMINER errors?

The cgminer errors seem to have something to do with come kind of hex2str conversion problem. I think that this new firmware is not quite supported by cgminer.

I believe it is indeed hashing at (or near) 8.2 GH/s since uploaded shares is currently ~117 per minute, much higher than i was getting before.
Wel this should be a notable milestone

Revewing Bitcoin / Crypto mining Hardware.
danattacker (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
June 19, 2013, 11:35:53 PM
Last edit: June 19, 2013, 11:52:48 PM by danattacker
 #31

After letting it run for a while, the average hash rate is 8.225 GH/s and the uploaded share average is now around ~114. Temp is at 45C with case open, 25.5C ambient.

When I was running at 7.65 GH/s, uploaded share average was ~107.
8.225 is a 7.5% increase from 7.65
114 is a 6.5% increase from 107

So, it looks like the increase in hash rate is somewhat proportional to the increase in upload share rate, with the share rate being slightly less possibly due to errors. I should let it run longer though to get a more accurate average. On the pool side, hash rate is averaging ~8.1 GH/s.

__DO_NOT_TUNE_CHIPS_FREQUENCY is set to 1, so it is not tuning the frequency. Also, the frequency value is 7, so it is running at 274 MHz.

This firmware is sending more data than cgminer is expecting, and it is trying to interpret it as nonces. Here's a snippet of what is being output.

 [2013-06-19 16:53:57] BAJ0: incorrect data count (3) will use -6 instead from (
INPROCESS:10x00)
 [2013-06-19 16:53:57] BAJ0: invalid nonce (INPROCESS:10x00) will try to process
 anyway
 [2013-06-19 16:53:58] hex2bin str truncated
 [2013-06-19 16:53:58] BAJ0: invalid nonce - HW error
 [2013-06-19 16:53:58] BAJ0: incorrect data count (7) will use -7 instead from (
COUNT:20x00)
 [2013-06-19 16:53:58] BAJ0: invalid nonce (COUNT:20x00) will try to process any
way
 [2013-06-19 16:53:58] hex2bin str truncated
 [2013-06-19 16:53:58] BAJ0: invalid nonce - HW error
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
June 20, 2013, 12:32:09 AM
 #32

After letting it run for a while, the average hash rate is 8.225 GH/s and the uploaded share average is now around ~114. Temp is at 45C with case open, 25.5C ambient.

When I was running at 7.65 GH/s, uploaded share average was ~107.
8.225 is a 7.5% increase from 7.65
114 is a 6.5% increase from 107

So, it looks like the increase in hash rate is somewhat proportional to the increase in upload share rate, with the share rate being slightly less possibly due to errors. I should let it run longer though to get a more accurate average. On the pool side, hash rate is averaging ~8.1 GH/s.

__DO_NOT_TUNE_CHIPS_FREQUENCY is set to 1, so it is not tuning the frequency. Also, the frequency value is 7, so it is running at 274 MHz.

This firmware is sending more data than cgminer is expecting, and it is trying to interpret it as nonces. Here's a snippet of what is being output.

 [2013-06-19 16:53:57] BAJ0: incorrect data count (3) will use -6 instead from (
INPROCESS:10x00)
 [2013-06-19 16:53:57] BAJ0: invalid nonce (INPROCESS:10x00) will try to process
 anyway
 [2013-06-19 16:53:58] hex2bin str truncated
 [2013-06-19 16:53:58] BAJ0: invalid nonce - HW error
 [2013-06-19 16:53:58] BAJ0: incorrect data count (7) will use -7 instead from (
COUNT:20x00)
 [2013-06-19 16:53:58] BAJ0: invalid nonce (COUNT:20x00) will try to process any
way
 [2013-06-19 16:53:58] hex2bin str truncated
 [2013-06-19 16:53:58] BAJ0: invalid nonce - HW error
Try the latest cgminer from git. They have a different communication in the singles and consequently you have uploaded that firmware, which only the git master for cgminer supports since we didn't hear about it till only a couple of days ago and the jalapenos ran v1.0.0 firmware (the release is 1.2.5).

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
vapourminer
Legendary
*
Offline Offline

Activity: 4508
Merit: 4095


what is this "brake pedal" you speak of?


View Profile
June 20, 2013, 12:32:43 AM
 #33

NICE WORK!

OK, just ordered my AVR Dragon from atmel. gonna grab the 6.1 studio software.

did it come with the needed cable?

which heatsink do you have? mine is the heatpipe version, it may have more clearance than the aluminum one.

care to post fairly detailed instructions? Im good with electronics (olde skoole here, TTL stuff) but never programmed via jtag.
danattacker (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
June 20, 2013, 12:40:46 AM
 #34

NICE WORK!

OK, just ordered my AVR Dragon from atmel. gonna grab the 6.1 studio software.

did it come with the needed cable?

which heatsink do you have? mine is the heatpipe version, it may have more clearance than the aluminum one.

care to post fairly detailed instructions? Im good with electronics (olde skoole here, TTL stuff) but never programmed via jtag.

It does not come with a cable.

I have the non-heatpipe version.

I'll help you out, it's not terribly complicated anyways. Good luck!
vapourminer
Legendary
*
Offline Offline

Activity: 4508
Merit: 4095


what is this "brake pedal" you speak of?


View Profile
June 20, 2013, 01:03:07 AM
 #35

It does not come with a cable.

I have the non-heatpipe version.

I'll help you out, it's not terribly complicated anyways. Good luck!

thats what I was hoping to hear Smiley

read the instructions, back up the original firmware, compile the jally code,  program it, compile cgminer from git, and away it goes (hopefully).

I hope not to need your step by step help, but I am glad you are offering.

4-7 days shipping time. plenty of time to whip up a cable.
danattacker (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
June 20, 2013, 01:29:38 AM
 #36

I just finished compiling the latest cgminer from git and the errors are gone, as expected  Smiley
tom99
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250


View Profile
June 20, 2013, 04:49:06 AM
 #37

can you take picture of 7 Gh/s upgrade please and everyone want to see it.


Thank you
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
June 20, 2013, 04:51:33 AM
 #38

I just finished compiling the latest cgminer from git and the errors are gone, as expected  Smiley
That's because of the access we had to a minirig yesterday to work on the new firmware. In essence, you are now running a picorig Wink

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
TheSwede75
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile
June 20, 2013, 05:32:48 AM
 #39

Damn, you should totally upload your modified image/firmware so that other 7 gh jala owners can bump their speed as well. Smiley
danattacker (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
June 20, 2013, 05:45:45 AM
 #40

Damn, you should totally upload your modified image/firmware so that other 7 gh jala owners can bump their speed as well. Smiley

The thing is, I didn't modify the code at all. I just compiled it and flashed it on the microcontroller.

I'm about to bump up the clock frequency. But, I'm probably not going to increase it any more after this since it isn't recommended and I would also have to figure out the format for the commands being sent to the ASICs. I'll try to get a picture up as well.

And a stat update: 8.222 GH/s, A:29293 R:96 HW:252 U:113.89/m. The HW error rate is definitely higher than it was before, but still tolerable.
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 »
  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!