Can't Connect to Duet 3 over wifi after firmware update
-
@phaedrux I am trying to get the SD card to show up and I'm hitting a few issues. I am going to put a lot of info here so hopefully you can figure out what I am doing wrong!
PanelDue 7i V2 Firmware 3.4.1-pre2
Duet 3 MB6HC Firmware 3.4.2
I want to use the ribbon cable in the temp daughterboard connector. Im not sure which way the ribbon connector should be plugged into the board. Should the red line be towards the power screw terminals or away?
I cut conductors 1,9,10 on the ribbon cable per the picture.
When I run M950 D1 C"spi.cs0" or M950 D1 C"spi.cs0+spi.cs2" I get the error "M950: exactly one of FHJPSR must be given" What am I doing wrong here?
I jumped GND to NC on the 7i.
Am I missing anything else?Thanks in advance!
-
This post is deleted! -
@phaedrux why did you delete your reply?
-
@corvodewittv2 said in Can't Connect to Duet 3 over wifi after firmware update:
@phaedrux why did you delete your reply?
Cause I need to think harder.
I'll have to take a deeper look later. -
@phaedrux Hahaha okay thank you for looking into this!
-
@phaedrux Do you think this can be fixed by Wednesday? I was planning to bring my printer to work around then but if I have to do something different then I can plan for that!
-
Can you send M122 in the gcode console tab in DWC and copy and paste the results here?
Can you also send
M98 P"config.g"
and paste the results here as well?Your full config.g would be helpful as well.
Finally, just to confirm, you've now run
sudo apt update
andsudo apt dist-upgrade -y
on the pi itself sucessfully?Can you show some photos of your paneldue wiring?
-
@phaedrux yep!
I did sudo apt update and sudo apt dist-upgrade -y on the pi itself successfully! I did it again to be sure and it said no updates!
M122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.4.2 (2022-09-13 15:17:43) running on Duet 3 MB6HC v1.01 (SBC mode)
Board ID: 08DJM-956L2-G43S8-6J9F4-3S86J-TA3QF
Used output buffers: 3 of 40 (17 max)
=== RTOS ===
Static ram: 152664
Dynamic ram: 65624 of which 584 recycled
Never used RAM 131800, free system stack 216 words
Tasks: SBC(ready,0.5%,436) HEAT(notifyWait,0.0%,322) Move(notifyWait,0.0%,351) CanReceiv(notifyWait,0.0%,944) CanSender(notifyWait,0.0%,336) CanClock(delaying,0.0%,333) TMC(notifyWait,8.1%,91) MAIN(running,91.0%,923) IDLE(ready,0.4%,30), total 100.0%
Owned mutexes: HTTP(MAIN)
=== Platform ===
Last reset 00:02:13 ago, cause: power up
Last software reset details not available
Error status: 0x00
Aux0 errors 0,0,0
Step timer max interval 134
MCU temperature: min 25.6, current 38.3, max 38.3
Supply voltage: min 24.1, current 24.1, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.2, current 12.2, max 12.3, under voltage events: 0
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min 0, mspos 8, reads 19170, writes 14 timeouts 0
Driver 1: standstill, SG min 0, mspos 8, reads 19170, writes 14 timeouts 0
Driver 2: standstill, SG min 0, mspos 8, reads 19170, writes 14 timeouts 0
Driver 3: standstill, SG min 0, mspos 8, reads 19170, writes 14 timeouts 0
Driver 4: standstill, SG min 0, mspos 8, reads 19169, writes 15 timeouts 0
Driver 5: standstill, SG min 0, mspos 8, reads 19169, writes 15 timeouts 0
Date/time: 2022-09-20 22:18:03
Slowest loop: 1.27ms; fastest: 0.03ms
=== Storage ===
Free file entries: 10
SD card 0 not detected, interface speed: 37.5MBytes/sec
SD card longest read time 0.0ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP* is doing "M122" in state(s) 0
Telnet is idle in state(s) 0
File is idle in state(s) 0
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger* is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
SBC is idle in state(s) 0
Daemon is idle in state(s) 0
Aux2 is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty
=== CAN ===
Messages queued 1100, received 0, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 668/0/0
Tx timeouts 0,0,667,0,0,431 last cancelled message type 4514 dest 127
=== SBC interface ===
Transfer state: 5, failed transfers: 0, checksum errors: 0
RX/TX seq numbers: 4952/4952
SPI underruns 0, overruns 0
State: 5, disconnects: 0, timeouts: 0 total, 0 by SBC, IAP RAM available 0x2b1c8
Buffer RX/TX: 0/0-0, open files: 0
=== Duet Control Server ===
Duet Control Server v3.4.2
Code buffer space: 4096
Configured SPI speed: 8000000Hz, TfrRdy pin glitches: 0
Full transfers per second: 0.04, max time between full transfers: 169.5ms, max pin wait times: 32.5ms/9.5ms
Codes per second: 0.00
Maximum length of RX/TX data transfers: 2944/624=============================================================================
M98 P"config.g"
9/20/2022, 5:20:53 PM Warning: M307: Heater 1 predicted maximum temperature at full power is 580°C
9/20/2022, 5:20:53 PM Warning: M307: Heater 0 predicted maximum temperature at full power is 403°C===============================================================================
; Configuration file for Duet 3 (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.1.3 on Fri Jul 03 2020 17:41:35 GMT-0400 (Eastern Daylight Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"duet3" ; set printer name
M669 K1 ; select CoreXY mode; Drives
M569 P0.0 S0 ; physical drive 0.0 goes forwards
M569 P0.1 S1 ; physical drive 0.1 goes forwards
M569 P0.2 S0 ; physical drive 0.2 goes forwards
M569 P0.3 S1 ; physical drive 0.3 goes forwards
M569 P0.4 S1 ; physical drive 0.4 goes forwards
M569 P0.5 S1 ; physical drive 0.5 goes forwardsM584 X0.5 Y0.4 Z0.0:0.2:0.1 E0.3 ; set drive mapping Z-Motors: Right, Left, Rear
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X160.00 Y160.00 Z400.00 E812 ; set steps per mm
M906 X1400 Y1400 Z1200 E600 I50 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeoutM203 X90000.00 Y90000.00 Z10000.00 E90000.00 ; set maximum speeds (mm/min)
M201 X90000.00 Y90000.00 Z2000.00 E90000.00 ; set accelerations (mm/s^2)
M566 X9000.00 Y9000.00 Z1200.00 E10000.00 ; set maximum instantaneous speed changes (mm/min); Z leadscrew positions
M671 X295:0:150 Y295:0:295 S10 ; right, left, back - S Parameter for maximum Correction on G32; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X295 Y295 Z290 S0 ; set axis maxima; Endstops
M574 X1 S3 ; configure sensorless endstop for low end on X
M574 Y1 S3 ; configure sensorless endstop for low end on Y
M574 Z1 S2 ; configure Z-probe endstop for low end on Z
M915 X Y S1 R0; Z-Probe
M950 S0 C"io5.out" ; create servo pin 0 for BLTouch
M558 P9 C"io5.in" F200 H5 R0.2 T9000 A1 B1 ; set Z probe type to bltouch and the dive height + speeds
G31 P25 X-28 Y-13 Z2.90 ; set Z probe trigger value, offset and trigger height
M557 X15:260 Y15:270 S60 ; define mesh grid; Heaters
M308 S0 P"temp0" Y"thermistor" T100000 B4407 C7.26e-8 ; configure sensor 0 as thermistor on pin temp1
M950 H0 C"out2" T0 ; create bed heater output on out1 and map it to sensor 0
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S145 ; set temperature limit for heater 0 to 145C
M308 S1 P"temp1" Y"thermistor" T100000 B4725 C0.0000000706 ; configure sensor 1 as thermistor on pin temp2
M950 H1 C"out1" T1 ; create nozzle heater output on out2 and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit; Fans
;M950 F0 C"out7" Q10 ; create fan 0 on pin out7 and set its frequency
;M106 P0 C"Hotend" S0 H1 T20 ; set fan 0 name and value. Thermostatic control is turned on
M950 F0 C"out8" Q100 ; create fan 1 on pin out8 and set its frequency
M106 P0 C"Radial" S0 H-1 ; set fan 1 name and value. Thermostatic control is turned off; Tools
M563 P0 S"e3d V6" 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
; PID Tunings
M307 H1 A555.0, C181.8, D6.3 S1 ; Hotend PID
M307 H0 A378.1, C427.3, D3.9 S1 ; Bed PID;Display stuff
M575 P1 S1 B57600 -
@corvodewittv2 said in Can't Connect to Duet 3 over wifi after firmware update:
PanelDue 7i V2 Firmware 3.4.1-pre2
Can you update the firmware to 3.4.1 final?
https://github.com/Duet3D/PanelDueFirmware/releases/
I'm also trying to determine if your 7i V2 requires the card detect modification as well, or if it's perhaps a limitation of SBC mode.
Also I don't see
M950 D1 C"spi.cs0+spi.cs2"
in your config.g -
@phaedrux I'll update the firmware for the 7i.
I get this error from M950 D1 C"spi.cs0+spi.cs2":
Error: M950: exactly one of FHJPSR must be givenOh I did modify the card detect thing:
-
Note: if you are using an older version of either PanelDue 7i or PanelDue 5i, or a non-integrated version of PanelDue, then those do not support the CD signal. In that case you should omit the second port, for example:
M950 D1 C"spi.cs0"
-
@phaedrux said in Can't Connect to Duet 3 over wifi after firmware update:
M950 D1 C"spi.cs0"
Get the same error
M950 D1 C"spi.cs0"
Error: M950: exactly one of FHJPSR must be given
Also updated the firmware no change -
@phaedrux WAIT its says I have 2 sd cards (sd0 and sd1) sd0 is the boards internal memory and sd1 is the pi is that an issue????
Also M950 D1 also returns the same error. It seems like its not recognizing D1 as a valid command.
Is there a way to access the the files on the Pi from the PanelDue?
-
@corvodewittv2 said in Can't Connect to Duet 3 over wifi after firmware update:
Also M950 D1 also returns the same error. It seems like its not recognizing D1 as a valid command.
That means that the version of RepRapFirmware on your Duet 3 is tool old to support it.
-
@dc42 Am I missing something? Isn't this the most recent version?
Board: Duet 3 MB6HC (MB6HC)
DSF Version: 3.4.2
Firmware: RepRapFirmware for Duet 3 MB6HC 3.4.2 (2022-09-13) -
@corvodewittv2 I just noticed that you are running in SBC mode. SD cards attached to the Duet are not supported in SBC mode. You could use a USB stick attached to the Pi instead.
I will improve the error message in the next release.
-
@dc42 okay, would files from that show up on the paneldue display? I just need to be able to load files and start prints without wifi
-
@corvodewittv2 yes, that should work, although you may need to flash your SBC's microSD card again because the feature that makes external storages show up in dwc is still relatively new.