Edit: I'll update it when I come up with changes on my blog copy I made of this:
http://www.kano-kun.net/Good point... Interest how did they do it...
Well ... it's not x-link
The MR that had 8 SC Singles in it (that I got to play with for a night) were all single devices, not x-linked anywhere.
Anyway went and got the AVR Dragon earlier today ... then put AVR Studio in a windows VM
I'll sort out Linux some other time - since it's a 3 year old version of it - they stopped updating it in 2010
Compiled fine ... with 769 warnings
Took hell to do the Dragon Firmware update (VM problems) but did manage it finally.
SC firmware update was simple (less than 2 minutes)
Now runs at 8.0GH/s using default Freq 7 as with 1.2.5 firmware as a Single
(used to be 5.4GH/s)
I'll post again later ... details.
Edit:
FYI the GetInfo is:
DEVICE: BitFORCE SC
FIRMWARE: 1.2.5kano
IAR Executed: NO
CHIP PARALLELIZATION: YES @ 2
QUEUE DEPTH:40
PROCESSOR 3: 15 engines @ 268 MHz -- MAP: FFFE
PROCESSOR 7: 15 engines @ 259 MHz -- MAP: FFFE
THEORETICAL MAX: 7905 MH/s
ENGINES: 30
FREQUENCY: 274 MHz
XLINK MODE: MASTER
CRITICAL TEMPERATURE: 0
XLINK PRESENT: YES
DEVICES IN CHAIN: 1
CHAIN PRESENCE MASK: 00000001
OK
HW errors are about one every 3 or 4 minutes (about 16 per hour)
[Elapsed] => 4997
[MHS av] => 8072.59
[Hardware Errors] => 22
[Difficulty Accepted] => 8982.0
[Difficulty Rejected] => 0.0
--
So ... the process requires a few things:
a) a tiny hex screwdriver to remove the screws off the bottom of the Jalapeno
b) an Atmel AVR Dragon like the one I got (no cables come with it)
http://au.element14.com/atmel/atavrdragon/in-system-debugger-programmer-avr/dp/145508801c) a standard printer USB cable - Standard A on one end and Standard B on the other
http://en.wikipedia.org/wiki/File:USB.svgd) a 10 pin ribbon cable e.g.
http://au.element14.com/molex/92321-1030/cable-assembly-ribbon-10way-30cm/dp/1012217?Ntt=1012217Install Atmel Studio 6 on a windows computer
You'll need to register on their site to download it
http://www.atmel.com/microsite/atmel_studio6/It takes a while to download and to install - do this before stopping cgminer mining on your Jalapeno
Get the firmware source from here:
https://forums.butterflylabs.com/announcements/3282-bitforce-sc-firmware-version-1-2-5-a.htmlAnd extract it somewhere
Run Atmel Studio and click Menu: File->Open->Project/Solution
Then select the BitForce_SC-1.2.5 folder and select BitForce_SC.atsln to open the project
Once it has opened, to compile: select Menu: Build->Build Solution
You may as well compile it yourself since you only need to select that one menu to do that ...
You'll get 769 warnings - ignore them - but no errors.
Now get the hardware ready:
If you don't have the heat pipe version of the heat sink, then you'll also need to be able to remove the heat sink and put it back on properly.
I do have the heat pipes so I didn't have to even attempt to do this.
Look elsewhere for how to do that.
Unplug your Jalapeno (USB and power)
On the front left of the board (left of the front led) there are two 5x2 jtag pins
The furthest one left (that says jtag1) is the one you need to connect to the AVR Dragon
Use the end of the lead that puts pin1 (the red lead) on the left to pin1 (left) of the 10 jtag1 pins
Connect the other end to the AVR Dragon such that the same red lead (pin1) is in pin 1 on the AVR on the outside
Click for bigger pics
Warning: Don’t leave the AVR Dragon on the black padding it comes with. It’s somewhat conductive.Next plug the power into your Jalapeno
Plug the USB into your AVR Dragon
Plug the AVR Dragon USB into your computer - It is best to use a powered USB2 hub - there have been reports in the distant past of the AVR Dragon destroying it’s own chips if the USB voltage is a little low
The AVR Dragon left light will go orange and then red, then the led next to it (green) will flash and then stay on.
Next click on the device programming button (a blue chip with a yellow lightning bolt) top right'ish
Select the Tool, Device, Interface in the popup
Tool=AVR Dragon
Device=AT32UC3A1128
Interface=JTAG
Then click on "Apply"
At this point it will want you to reflash the AVR Dragon if you haven;t done this already.
Of course you must let it do this.
I had trouble in my Windows VM VirtualBox but after setting a USB Filter to automatically pick up the Linux device and pass it to windows, it eventually upgraded the firmware in the AVR Dragon successfully.
Next click on "Memories"
If you have the original Jalapeno 1.0.0 firmware you must:
Select "Erase Chip" and click on "Erase Now" (then it will erase it - takes less than a minute)
Then Finally click on "Program"
After less than 2 minutes it will have programmed and verified it.
Unplug the AVR Dragon USB.
Power off the Jalapeno.
Remove the Jtag cable ... then plug the Jala back in as usual to go back to mining.
Of course if you were running cgminer on a linux box, it will just hotplug back in when you plug it in
Done.
The default is frequency setting 7 - which is about 8.0GH/s on my Jalapeno.
I get about 16 HW errors an hour - which suggests to me to not increase the frequency.
P.S. If you screw up your Jalapeno doing this - sorry - not my fault