Pages:
Author

Topic: Cairnsmore1 - Quad XC6SLX150 Board - page 18. (Read 286370 times)

full member
Activity: 562
Merit: 100
September 19, 2012, 01:24:20 PM
@salty
Thanks! However, I got some messages say:
Quote
Icarus Detect: Test failed at /dev/ttyUSB0: get 00000000, should: 000187a2
.
.

Is that definitely the right tty com port? Try some other ones maybe?
sr. member
Activity: 349
Merit: 250
September 19, 2012, 01:14:13 PM
@salty
Thanks! However, I got some messages say:
Quote
Icarus Detect: Test failed at /dev/ttyUSB0: get 00000000, should: 000187a2
.
@tnkflx
http://luke.dashjr.org/programs/bitcoin/files/bfgminer/2.8.0/bfgminer-2.8.0.tbz2  <

Yeah, that's the source, need to compile that first:

1. Unzip (un-tbz2?Smiley) and "cd bfgminer-2.8.0"
2. ./configure
3. make
4. ./bfgminer
5. ...
6. Profit!
full member
Activity: 234
Merit: 100
September 19, 2012, 01:11:19 PM
@salty
Thanks! However, I got some messages say:
Quote
Icarus Detect: Test failed at /dev/ttyUSB0: get 00000000, should: 000187a2
.
.

@tnkflx
http://luke.dashjr.org/programs/bitcoin/files/bfgminer/2.8.0/bfgminer-2.8.0.tbz2  <
sr. member
Activity: 349
Merit: 250
September 19, 2012, 12:52:43 PM
@Luke-Jr
Thanks! But how could I run BFGMiner on Linux? Can't find the file "bfgminer" in the /bfgminer-2.8.0 directory. Seem not the same as cgminer?

What did you download? Binary, source?
full member
Activity: 562
Merit: 100
September 19, 2012, 12:41:14 PM
Hey guys,

Just received my Quad XC6SLX150 Board. How should I do for setup it with my GPU and BLF single(x1) Linux minning rig? I use cgminer 2.7.5 and have no idea what's the next step after connected Quad XC6SLX150 to the minning rig. Most appreciate for any help!

Using cgminer 2.7.5 you need to get it to look for the cairnsmore on your com/serial ports when it starts using the option -S "/dev/tty.XXX" -S "/dev/tty.XXX" iirc.

f.e. my cgminer startup command on windows has -S "\\.\COM22" -S "\\.\COM23" included.

You'll need to find out what your cairnsmore's com ports are called, they're listed in /dev and (at least with the bitstream I'm using) there are 2 com ports per board.
full member
Activity: 234
Merit: 100
September 19, 2012, 12:20:51 PM
@Luke-Jr
Thanks! But how could I run BFGMiner on Linux? Can't find the file "bfgminer" in the /bfgminer-2.8.0 directory. Seem not the same as cgminer?
legendary
Activity: 2576
Merit: 1186
September 19, 2012, 02:38:14 AM
Hey guys,

Just received my Quad XC6SLX150 Board. How should I do for setup it with my GPU and BLF single(x1) Linux minning rig? I use cgminer 2.7.5 and have no idea what's the next step after connected Quad XC6SLX150 to the minning rig. Most appreciate for any help!
https://en.bitcoin.it/wiki/CM1Quickstart

Recommend upgrading to BFGMiner 2.8.0 tho
full member
Activity: 234
Merit: 100
September 19, 2012, 02:20:54 AM
Hey guys,

Just received my Quad XC6SLX150 Board. How should I do for setup it with my GPU and BLF single(x1) Linux minning rig? I use cgminer 2.7.5 and have no idea what's the next step after connected Quad XC6SLX150 to the minning rig. Most appreciate for any help!
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
September 18, 2012, 10:36:19 AM
...
He probably flashed the makomk 200 Mhz version: ECM 0 + ECM 1 = 800 Mhz, so that looks good. No idea about the Utility though...
At a guess, when Apollyon copied my Icarus code, to make the CM1 module, he didn't copy all the HW error detection changes in my git
Use my latest git of the real cgminer and it will tell you directly if that is the problem.
https://github.com/kanoi/cgminer
sr. member
Activity: 349
Merit: 250
September 18, 2012, 09:29:55 AM
Quote
bfgminer version 2.8.0 - Started: [2012-09-18 08:24:01] - [  0 days 00:21:36]
--------------------------------------------------------------------------------
 5s:559.2 avg:795.6 u:258.4 Mh/s | A:78  R:0  HW:0  E:229%  U:3.6/m
 TQ: 0  ST: 3  SS: 0  DW: 0  NB: 1  GW: 34  LW: 744  GF: 0  RF: 0
 Connected to http://x.x.x.x:8777 with LP as user x
 Block: 00000040412b763328116fea4b69a1f3...  Started: [08:24:01]
--------------------------------------------------------------------------------
 [P]ool management Settings Display options Quit
 ECM 0:                | 399.1/398.4/ 59.6Mh/s | A:18 R:0 HW:0 U:0.83/m
 ECM 1:                | 399.0/397.2/198.7Mh/s | A:60 R:0 HW:0 U:2.78/m
--------------------------------------------------------------------------------


This probably isn't specifically related to the cairnsmore.. but what is the 'u:' field here?  Any idea as to why it's so low?  The speed at the mining pool is currently showing as around 250Mh too.

What controller, bitstream and jumper settings are you using? What's the serial # of your board? That's not very healthy looking. I'm getting ~840mh/s reported at my pool...

Edit - your power supply could also be causing this, how many amps is it rated at?

He probably flashed the makomk 200 Mhz version: ECM 0 + ECM 1 = 800 Mhz, so that looks good. No idea about the Utility though...
full member
Activity: 562
Merit: 100
September 18, 2012, 07:16:58 AM
Quote
bfgminer version 2.8.0 - Started: [2012-09-18 08:24:01] - [  0 days 00:21:36]
--------------------------------------------------------------------------------
 5s:559.2 avg:795.6 u:258.4 Mh/s | A:78  R:0  HW:0  E:229%  U:3.6/m
 TQ: 0  ST: 3  SS: 0  DW: 0  NB: 1  GW: 34  LW: 744  GF: 0  RF: 0
 Connected to http://x.x.x.x:8777 with LP as user x
 Block: 00000040412b763328116fea4b69a1f3...  Started: [08:24:01]
--------------------------------------------------------------------------------
 [P]ool management Settings Display options Quit
 ECM 0:                | 399.1/398.4/ 59.6Mh/s | A:18 R:0 HW:0 U:0.83/m
 ECM 1:                | 399.0/397.2/198.7Mh/s | A:60 R:0 HW:0 U:2.78/m
--------------------------------------------------------------------------------


This probably isn't specifically related to the cairnsmore.. but what is the 'u:' field here?  Any idea as to why it's so low?  The speed at the mining pool is currently showing as around 250Mh too.
 

What controller, bitstream and jumper settings are you using? What's the serial # of your board? That's not very healthy looking. I'm getting ~840mh/s reported at my pool...

Edit - your power supply could also be causing this, how many amps is it rated at?
legendary
Activity: 2576
Merit: 1186
September 18, 2012, 07:06:47 AM
Code:
 bfgminer version 2.8.0 - Started: [2012-09-18 08:24:01] - [  0 days 00:21:36]
--------------------------------------------------------------------------------
 5s:559.2 avg:795.6 u:258.4 Mh/s | A:78  R:0  HW:0  E:229%  U:3.6/m
 TQ: 0  ST: 3  SS: 0  DW: 0  NB: 1  GW: 34  LW: 744  GF: 0  RF: 0
 Connected to http://x.x.x.x:8777 with LP as user x
 Block: 00000040412b763328116fea4b69a1f3...  Started: [08:24:01]
--------------------------------------------------------------------------------
 [P]ool management Settings Display options Quit
 ECM 0:                | 399.1/398.4/ 59.6Mh/s | A:18 R:0 HW:0 U:0.83/m
 ECM 1:                | 399.0/397.2/198.7Mh/s | A:60 R:0 HW:0 U:2.78/m
--------------------------------------------------------------------------------
This probably isn't specifically related to the cairnsmore.. but what is the 'u:' field here?  Any idea as to why it's so low?  The speed at the mining pool is currently showing as around 250Mh too.
Utility hashrate: your mining speed calculated from shares accepted, for the entire runtime and across all pools. In other words, while your Cairnsmore is reporting* 795 Mh/s on average, it's only finding 258 Mh/s worth of shares. That could be due to a number of factors, including (but not only) both clocking too high and/or poor luck. As you only have 78 shares accepted in this case, I'd suspect it's probably luck unless it keeps up for a long while. If your pool uses higher difficulty shares, it will take even longer to average out.
legendary
Activity: 1092
Merit: 1001
September 18, 2012, 03:49:53 AM
Quote
bfgminer version 2.8.0 - Started: [2012-09-18 08:24:01] - [  0 days 00:21:36]
--------------------------------------------------------------------------------
 5s:559.2 avg:795.6 u:258.4 Mh/s | A:78  R:0  HW:0  E:229%  U:3.6/m
 TQ: 0  ST: 3  SS: 0  DW: 0  NB: 1  GW: 34  LW: 744  GF: 0  RF: 0
 Connected to http://x.x.x.x:8777 with LP as user x
 Block: 00000040412b763328116fea4b69a1f3...  Started: [08:24:01]
--------------------------------------------------------------------------------
 [P]ool management Settings Display options Quit
 ECM 0:                | 399.1/398.4/ 59.6Mh/s | A:18 R:0 HW:0 U:0.83/m
 ECM 1:                | 399.0/397.2/198.7Mh/s | A:60 R:0 HW:0 U:2.78/m
--------------------------------------------------------------------------------


This probably isn't specifically related to the cairnsmore.. but what is the 'u:' field here?  Any idea as to why it's so low?  The speed at the mining pool is currently showing as around 250Mh too.


 
hero member
Activity: 648
Merit: 500
September 16, 2012, 05:12:28 PM
This is a make-shift guide for windows users for faster, permanent flashing. I have not yet tested it, but apparrentley Slipbye has had succes with it. It also gets us out of the virtual machine (for good ?)

21:13] http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/libusb-win32-devel-filter-1.2.6.0.exe/download
[21:14] install that, make sure the board to be flashed is plugged, start the libusb filter wizard
[21:14] select the USB composite device which shows an ID of 0403 8350
[21:14] install the filter driver for that
[21:14] download this: https://xc3sprog.svn.sourceforge.net/svnroot/xc3sprog/trunk/xc3sprog.exe
[21:14] create a new file called cablelist.txt in the same directory
[21:15] put this line inside that file:
[21:15] cm1 ftdi 20000000 0x0403:0x8350:
[21:15] open a command prompt in the directory where the files are and run these commands:
[21:15] set CABLEDB=cablelist.txt
[21:15] xc3sprog -c cm1
[21:15] it should detect the fpgas
a this point you want to copy the .bit files you'll be using to the same folder as xc3sprog is in.
[21:16] if that worked, you can go ahead with flashing like usual
[21:16] xc3sprog -c cm1 -p 0 -Ixc6lx150.bit file_to_be_flashed.bit

Enjoy your 1-3hours of spare time per day Smiley

This works. Saves a bunch of time
sr. member
Activity: 349
Merit: 250
September 16, 2012, 03:37:11 PM
steveme,

Thanks for writing the Guide! It has all the necessary info, and I was able to set up at least a couple of boards following it. The bounty of 20BTC is sent to the address you provided.

Just for reference, Quick-start Guide is located at: http://btc.steveme.mailforce.net/CM1%20quickstart%20guide.html

I wonder if Enterpoint is interested in adding this Guide to their documentation package - it seems a good place to start for new CM1 users.

bounty received - thanks!

the guide is now on the bitcoin wiki at https://en.bitcoin.it/wiki/CM1Quickstart

Some possible additions?:
- Emptying the chips takes approx. 2,5 minutes/chip (10 minutes in total)
- Flashing the bitstream takes approx. 8 minutes/chip (32 minutes in total)
- Make a note somewhere of the modprobe you need to do if you use Linux?
- The batch you create for cgminer can be created for bfgminer as well
- Maybe a note somewhere that the controller software can only be flashed from Windows?
- Maybe expand the guide to also include bfgminer & cgminer when running under Linux?
legendary
Activity: 2576
Merit: 1186
September 15, 2012, 06:22:01 PM
BFGMiner 2.8.0 should work with Cairnsmore1 now. I don't really have one to develop/test with, however, so if anyone wants to confirm... donations to get me one are also welcome Smiley
newbie
Activity: 37
Merit: 0
September 15, 2012, 06:08:57 PM
steveme,

Thanks for writing the Guide! It has all the necessary info, and I was able to set up at least a couple of boards following it. The bounty of 20BTC is sent to the address you provided.

Just for reference, Quick-start Guide is located at: http://btc.steveme.mailforce.net/CM1%20quickstart%20guide.html

I wonder if Enterpoint is interested in adding this Guide to their documentation package - it seems a good place to start for new CM1 users.

bounty received - thanks!

the guide is now on the bitcoin wiki at https://en.bitcoin.it/wiki/CM1Quickstart

full member
Activity: 562
Merit: 100
September 14, 2012, 04:52:47 AM
Just some notes on Mac installation on a Macbook Pro 2,1. I tried to set it up yesterday but the USB system is very picky - The cairnsmore didn't show up in the System profiler, and there was nothing showing in /dev/ , iosnoop or ioreg.  

My speculation is that as I connected the USB before connecting the 12v power (I know, I know..) there was too much draw on the USB port and the mac USB hardware blocked the cairnsmore board somehow.

There are mac drivers for the FTDI USB com chip here: http://www.ftdichip.com/Drivers/VCP.htm , and the linux version of Cgminer is able to compile using macports.

I think it is possible to get the Cairnsmore 1 hashing on mac, but I will not be trying any further, I switched my efforts to an old PC from the attic and got hashing at 843mh/s within 1 hour.
hm
member
Activity: 107
Merit: 10
September 13, 2012, 08:27:46 PM
Trying to set up my boards following steveme's Guide, I've run into a following problem on Windows.

For one of my boards, Windows detected 3 of the COM ports, but one is still missing. That is, driver installation just hang up, and now COM24, COM25, COM27 are present but COM26 is missing. Unplugging and repowering board does not help, Windows does not recognize the port and there are also no unknown devices in the Device Manager.

Has anyone seen a similar issue, is there any fix for this?

I've had this problem with a friend's board. Having the board connected, I uninstalled the concerning port and all the other devices of the board in device manager. If you don't see the devices, you have to show devices that are not connected. Then I disconnected the board, rebooted PC and repeated installation. After successfull installation, there were still problems detecting the board in windows when reconnecting, they went away when switching usb cable.

I use this USB Hub and can recommend it over cheap chinese products: Hama USB 2.0 Hub 1:4, black/silver, with power supply, packed in blister

Perhaps it's still made in China, but QC checked by Hama, Germany.

My other USB Hub is a cheap one from China (see some posts above). Effectively, the power jack's 5V, the uplink USB's 5V, and each port's 5V lines are interconnected without resistor or diodes between them. I think this could be dangerous if powered USB devices send power up the USB cable through the hub into the PC, but I am no expert in electronics at all, so I could be wrong.

I assume the Cairnsmore1 boards can send power up the usb cables, since I got electro-shocked when touching two usb cables that where connected to CM1s but disconnected from PC.

--
my stats:


I still hope that the next hashvoodoo will fix issues with 0017-p3. In the meantime, I'll delete the corresponding worker in mpbm until the next power cycle.
full member
Activity: 562
Merit: 100
September 13, 2012, 07:11:33 PM
Are the dipswitch settings correct on the bitstream upgrade section? 'sw6 dip2 off' is contrary to this: https://bitcointalksearch.org/topic/m.1073047 which shows 'sw6 dip1 off'

It looks correct as per the settings here for the 1.5 controller:

http://www.enterpoint.co.uk/cairnsmore/cairnsmore1_support_materials.html

'3' (a.k.a SW1-3) is programming enabled, '6'  (a.k.a SW6-2) is SPI programming enabled

I'm referring to the section for upgrading the bitstream though, not updating the controller, is the SPI switch still relevant at this point in the procedure?
And is SW6-1 baud rate? because I'm getting better results with that set to 'off' or 115200 for mining.

The guide is excellent btw Smiley



Yes, you're right. I got those transposed somehow.

I've corrected them to leave SW6-1 off (115200 baud) all the time (there's no reason to change it when flashing)
For controller programming, setting SW1-3 & SW6-2 off is only necessary when reflashing the controller post 1.3 so that's a good catch-all
I've corrected the FPGA programming settings as per Lethos's diagram


Well spotted, cheers for that Smiley - I'm not in a position to do a full dummy run of this as I've got a single board happily hashing away and don't want to interrupt it....



Well I was kind-of right..... if you consider being wrong as right that is.... thought I'd better check the info.....

Switch SW6-1(also referred to as 'switch 5') is the board array clock rate not baud rate (heh) and it sets the array clock speed between 50mhz and 100mhz on enterpoint's controllers and 25/50mhz on Glasswalker's. I got confused while setting the baud rate flag in Cgminer probably.
Pages:
Jump to: