SD card doesn't auto mount, Wifi module won't auto start
-
; Configuration file for Duet WiFi (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.16 on Fri Apr 21 2023 15:21:05 GMT+0100 (BST) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"My Printer" ; set printer name ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S0 ; physical drive 1 goes backwards M569 P2 S0 ; physical drive 2 goes backwards M569 P3 S1 ; physical drive 3 goes forwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z200.00 E492.25 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X10000.00 Y10000.00 Z1200.00 E3000.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2) M906 X1200 Y1200 Z1200 E1250 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X210 Y210 Z205 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin !xstop M574 Y1 S1 P"!ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin !ystop M574 Z1 S1 P"!zstop" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin !zstop ; Z-Probe M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed M557 X15:210 Y15:195 S20 ; define mesh grid ; Heaters M308 S0 P"spi.cs1" Y"rtd-max31865" ; configure sensor 0 as PT100 on pin spi.cs1 M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 R0.267 K0.253:0.000 D2.42 E1.35 S1.00 B0 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"spi.cs2" Y"rtd-max31865" ; configure sensor 1 as PT100 on pin spi.cs2 M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H1 T28 ; set fan 0 value. Thermostatic control is turned on M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 H1 T45 ; set fan 2 value. Thermostatic control is turned on ; Tools M563 P0 D0 H1 F0:1 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Custom settings are not defined ; Miscellaneous T0 ; select first tool
-
@Macua I'd say it sounds like a failing SD card. Is it new? Send
M39
to see how much space there is on it, and post the response.
You could try reformatting it, and copying the files over fresh. Copy your configuration files off it first, then see https://docs.duet3d.com/en/User_manual/RepRapFirmware/SD_card#formatting for formatting, and https://docs.duet3d.com/en/User_manual/RepRapFirmware/SD_card#creating-the-file-structure for recreating the file structure.Ian
-
@Macua if a new SD card doesn't help, please send a close up photo of the soldering of the contacts on the back of the SD card socket. We've seen issues with that in the past, although not for a year or two since we changed the brand of the socket.
-
This is what I get:
M39 SD card in slot 0: capacity 7.86GB, partition size 7.85GB, free space 7.83GB, speed 20.00MBytes/sec, cluster size 32kB ok
No issues with the card in the laptop.
Cheers,
Anthony
-
@Macua said in SD card doesn't auto mount, Wifi module won't auto start:
No issues with the card in the laptop.
Yes, but do you have another new SD card to try?
-
Thanks for the help everyone.
I’ve tried reformatting a few times with no joy. Just ordered a new SD card so will give that a go tomorrow.
The duet I got second hand off eBay, so it’s quite possible it’s of the generation that suffers from the connection/soldering issue.
My suspicion is that it’s a hardware issue, but new card tomorrow will confirm hopefully.
Many thanks,
Anthony
-
@dc42 said in SD card doesn't auto mount, Wifi module won't auto start:
M98 P"config.g"
Well, this is very frustrating. I've got a new SD card, and a replacement Duet wifi 2. I have exactly the same problem, the card is not mounting. Its not running config.g or the runonce.g, so the only way i can set a network up is through YAT manually. I am at a complete loss! The firmware was compiled using RFF config tool, correct version selected. Not sure what to do next?
-
Can you put the card in your PC and take some screen shots of the root directory as well as the sys directory?
Perhaps the file structure is incorrect.
-
Thanks for the reply. Turns out it’s all working now with the new duet board! I expected the card to mount and run the runonce.g for the network settings. When it didn’t assumed same issue. However did some Googling and found that file doesn’t work (?) so programmed the network the usual way through YAT. Now all working perfectly.
Thanks for all the help. Now I have to tackle the layer shift problem it’s got. No successful prints yet. Does the duet need active cooling?
-
@Macua said in SD card doesn't auto mount, Wifi module won't auto start:
Does the duet need active cooling?
Never hurts. It depends on how it's mounted and if it's enclosed and how many drivers are being used and at what current, but if you have the means to at least blow a fan across the back side of the board along the drivers it's a good idea.
-
-
-
@Macua said in SD card doesn't auto mount, Wifi module won't auto start:
M906 X1200 Y1200 Z1200 E1250 I30
With motor currents as low as those, you don't need to cool a Duet 2.
-
Just to draw a line under this, layer shift was a mechanical problem, nothing to do with Duet3D...which is simply, amazing. I will start another topic on quality of prints though - my 2014 ultimaker original seems to outperform the Duet with the same hardware, not sure if I can tune it out.