Commissioning a new Duet3 H6C board
-
My apologies for asking this extremely simple series of questions but searching for information has been frustrating ....
So I am doing first power up of a Jubilee printer but all I get is light's on and nobody home.
I tried with the boot up SD card in the Duet3 - I did get a web page but also a 'failure to connect' message. The Duet was connected via ethernet. I also tried with the SD card in the pi, got all kinds of boot up activity but no ethernet activity at all.
I figured that ok, maybe I need to run the configuration tool - did that (have a question, later) but after doing that I tried to write the files to the SD card to the 'boot' partition into the sys folder (/boot/sys/) there is also a rootfs partition on the SD card but I haven't touched that. The configuration tool only says to put the files "directly to the root of your SD card." There is no reference to the card having two partitions or any more details.
Basically I am just trying to get to a point where I can get to the printer's web page.
A configuration question - the Jubilee has 3 Z motors - I have not found a way, in the configuration tool, to set up multiple Z motors. Is there a way or is this a matter of hand editing the config files ? -
Hi,
I always start in "SD" mode - no SBC involved.
You can edit the "SD" mode SD card and enter just the few commands needed to get the network connection working.
Once that is done you can do the rest from the Duet Web Control (DWC).
Now I know lots of folks use the configuration tool but I never have and never will.
You learn a lot more by going through the steps to create a full configuration using just the DWC file creation/editing capabilities.
Frederick
-
@fcwilt, thanks for your input.
This is exactly as I started out with the pi disconnected and the SD card in the Duet3 6HC. That got me a normal looking but greyed out web page with an error message that no connection was established (forgot the exact message now). The important part being that I couldn't do anything on the web page.
That's when I tried with the pi, set up the pi power, moved ethernet cable to the pi ( I assume that's where it should be when running through the pi) and the Duet SD card in the pi. This is when I had absolutely no ethernet activity.
This is when I tried playing with the configuration tool .... I assumed that maybe some configuration aspect was missing to get complete connectivity.
Please explain what you mean by this :You can edit the "SD" mode SD card and enter just the few commands needed to get the network connection working.
-
@jens55 said in Commissioning a new Duet3 H6C board:
Please explain what you mean by this :
You can edit the "SD" mode SD card and enter just the few commands needed to get the network connection working.
I remove the SD card and connect it to my computer using a USB to SD card adapter. This device makes the SD card appear as a drive letter.
You can open it, change to the SYS folder and create/edit the config.g file to hold just the basic commands needed to allow a network connection.
Then you "eject" the SD card, remove it from the adapter, insert into the Duet (with power off), power it up and hopefully you have a network connection.
Now I use Duet WiFi boards so I don't know exactly how you configure the config.g file for a Ethernet connected Duet.
This is the way I have always started with a new Duet board and I have never had an issue or felt a need to do it any other way.
Frederick
-
I located this "bare bones" config.g file for a Duet with Ethernet connection:
; ---------------------------------------------------------------------------------------------------- ; start of file for Duet 3 6HC board ; ---------------------------------------------------------------------------------------------------- ; prolog M111 S0 ; debug off M550 P"Duet_6HC" ; set host name M555 P2 ; firmware compatibility (P2 = Marlin) M552 P0.0.0.0 S1 ; config network (P0.0.0.0 = use DHCP, S1 = enable) M586 S1 P1 T0 ; enable (S1) FTP (P1) Disable TLS (T0) M586 S1 P2 T0 ; enable (S1) Telnet (P2) Disable TLS (T0) G21 ; dimensions in mm G90 ; absolute coordinate values for X,Y,Z,etc M83 ; relateive coordinate values for E0,E1,etc M669 K0 ; set kinematic to Cartesian ; ---------------------------------------------------------------------------------------------------- ; end of file for Duet 3 6HC board ; ----------------------------------------------------------------------------------------------------
-
@fcwilt, I am getting nowhere either fast or slow
I took the SD card from my other Duet, A Duet2 wifi and tacked this on the front of the config.g file in a rare instance where it let me write to the card - normally it shows up as a read-only file system.
M111 S0 ; Debug off
G21 ; work in mm
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Network
M550 P"Printer 2" ; Set machine name
M552 S1 ; Enable network
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable TelnetLooks like the only thing I have different is M552 P0.0.0.0 S1
but now I can only open config.g in read-only mode. I even tried to run sudo to edit it with lo luck
How the heck can I convince the SD card to accept my changed config.g ???
Oh, I have the sd card in a microsd adapter which plugs directly into my Ubuntu laptop -
@jens55 said in Commissioning a new Duet3 H6C board:
@fcwilt, I am getting nowhere either fast or slow
I took the SD card from my other Duet, A Duet2 wifi and tacked this on the front of the config.g file in a rare instance where it let me write to the card - normally it shows up as a read-only file system.
M111 S0 ; Debug off
G21 ; work in mm
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Network
M550 P"Printer 2" ; Set machine name
M552 S1 ; Enable network
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable TelnetLooks like the only thing I have different is M552 P0.0.0.0 S1
but now I can only open config.g in read-only mode. I even tried to run sudo to edit it with lo luck
How the heck can I convince the SD card to accept my changed config.g ???
Oh, I have the sd card in a microsd adapter which plugs directly into my Ubuntu laptopWell you have to have a P parameter in M552 - either P0.0.0.0 for getting the IP address from your router or a valid address for your network. For example on the common 192.168.0.0 subnet you could try 192.168.0.254 - that that is the subnet of your network.
I've never had a problem writing to an SD card so I don't know what is going on - but I use only Windows.
Frederick
-
@fcwilt , ok, thanks, I will try different editors until I find one that will let me write (btw, the write protect on the micro sd card adapter is turned off)
-
@jens55 said in Commissioning a new Duet3 H6C board:
@fcwilt , ok, thanks, I will try different editors until I find one that will let me write (btw, the write protect on the micro sd card adapter is turned off)
You could also try creating the basic config.g on your computer and just copy it to the SYS folder on the SD card.
Frederick
-
About 8 card in/out cycles and I caught one instance when the card was writeable and I managed to get the M552 command changed ... alas, no difference - while I see a grayed out proper web page, I get a failure to connect to ..... message.
This sd card must be defective. Not only does it not mount as a read/write card in the majority of cases, but sometimes it doesn't even see both partitions on the card.
I will try and make a new SD card. About the only thing that I can see is happening is that the failure to write compromises the startup process somehow. -
Did you try re-formatting the SD card when plugged into you computer?
Frederick
-
I am officially out of patience - I can't copy all the files from the rootfs volume as I do not have enough priveledges.
@dc42, is there a complete image file someplace that I can download onto a new SD card and get this thing doing something ?
-
@fcwilt said in Commissioning a new Duet3 H6C board:
Did you try re-formatting the SD card when plugged into you computer?
Kinda doesn't help without a complete image to replace it with
-
@jens55 said in Commissioning a new Duet3 H6C board:
@fcwilt said in Commissioning a new Duet3 H6C board:
Did you try re-formatting the SD card when plugged into you computer?
Kinda doesn't help without a complete image to replace it with
What do you mean by a complete image?
When running without a SBC there is very little on the SD card - four folders with a handful of files.
I can give you what I have for a Duet3 MB6HC.
Frederick
-
@fcwilt, at the moment I am trying to set up in the standalone mode.
I am looking for an image of the SD card that is shipped with the board so I can make a new SD card.
Thanks for the offer of the files but I am looking for the complete image - there are two partitions on the card with way more than a handful of files in each partition. -
@jens55 said in Commissioning a new Duet3 H6C board:
@fcwilt, at the moment I am trying to set up in the standalone mode.
I am looking for an image of the SD card that is shipped with the board so I can make a new SD card.This is what I have for the MBH6C but I don't know if it is exactly what came with the board.
Config Files D3HC via LAN.zip.txt
It shows the folder stucture that is needed but a couple of the files seem a bit odd.
The config.g file should work for testing.
I may have the original SD card that came - I will need to look for it.
Frederick
-
@fcwilt, thank you but a straight copy of the files is highly unlikely to do the trick - remember there are two partitions on the card.
As I said before, I have officially given up on trying to somehow getting this going. The next step must be a replacement SD card, either from Filistruder, my supplier, or a disk image that I can burn to a new sd card. Hence the tagging of DC42 in a previous post so he can help me out with that.
Copying files might work or it might not. It would not be conclusive and even if it does work I can't expect all functions to work as I could with a full copy of the original sd card. -
@jens55 said in Commissioning a new Duet3 H6C board:
@fcwilt, thank you but a straight copy of the files is highly unlikely to do the trick - remember there are two partitions on the card.
As I said before, I have officially given up on trying to somehow getting this going. The next step must be a replacement SD card, either from Filistruder, my supplier, or a disk image that I can burn to a new sd card. Hence the tagging of DC42 in a previous post so he can help me out with that.
Copying files might work or it might not. It would not be conclusive and even if it does work I can't expect all functions to work as I could with a full copy of the original sd card.I should also add that a windows computer is likely to show you only one of the partitions on the card.
-
@jens55 said in Commissioning a new Duet3 H6C board:
@fcwilt, at the moment I am trying to set up in the standalone mode.
I am looking for an image of the SD card that is shipped with the board so I can make a new SD card.
Thanks for the offer of the files but I am looking for the complete image - there are two partitions on the card with way more than a handful of files in each partition.True but if you are only trying to test in SD mode you don't need most of those files.
I've setup several Duets starting with a blank SD and never needed to create multiple partitions BUT while I have an SBC I ended up not using it. I've got an SD card labeled "RASPBIAN" which I believe was for the SBC.
Frederick
-