Duet 2 Wifi not reading line of code
-
im unable to disconnect or reconnect due to this. Is there a way i can reset the firmware?
-
@prior123 try resetting the board.
What part of the upgrade to 3.3 went wrong.?
In YAT what is the response to M115?
-
@t3p3tony How do i reset the board?
-
@prior123 it seemed like it had frozen on the DWC when installing (i expect i disconnected before i shoudve)
M115 says thisFIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet
FIRMWARE_VERSION: 3.3 ELECTRONICS: Duet WiFi 1.02 or later
FIRMWARE_DATE: 2021-06-15 21:45:03
-
@prior123 ok and does DWC work now?
-
@t3p3tony no, i cant get onto it at all
-
@prior123 if you send M552 what response do you get?
-
@prior123 also M122
-
WiFi module is being started
-
@t3p3tony
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3 (2021-06-15 21:44:54) running on Duet WiFi 1.02 or later
Board ID: 0JD0M-9P6M2-NWNS4-7JKD8-3SD6S-KU1BM
Used output buffers: 1 of 24 (2 max)
=== RTOS ===
Static ram: 23876
Dynamic ram: 75400 of which 0 recycled
Never used RAM 15140, free system stack 170 words
Tasks: NETWORK(ready,7.7%,517) HEAT(delaying,0.0%,330) Move(notifyWait,0.1%,340) MAIN(running,92.1%,445) IDLE(ready,0.0%,29), total 100.0%
Owned mutexes: USB(MAIN)
=== Platform ===
Last reset 00:47:08 ago, cause: power up
Last software reset details not available
Error status: 0x00
Aux0 errors 0,0,0
Step timer max interval 0
MCU temperature: min 20.9, current 23.1, max 25.3
Supply voltage: min 0.4, current 0.5, max 24.0, under voltage events: 1, over voltage events: 0, power good: no
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Driver 0: position 0, standstill, SG min/max not available
Driver 1: position 0, standstill, SG min/max not available
Driver 2: position 0, standstill, SG min/max not available
Driver 3: position 0, standstill, SG min/max not available
Driver 4: position 0, standstill, SG min/max not available
Driver 5: position 0
Driver 6: position 0
Driver 7: position 0
Driver 8: position 0
Driver 9: position 0
Driver 10: position 0
Driver 11: position 0
Date/time: 1970-01-01 00:00:00
Cache data hit count 4294967295
Slowest loop: 101.38ms; fastest: 0.14ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest read time 2.9ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
Heater 1 is on, I-accum = 0.0
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is idle in state(s) 0
USB is ready with "M122" 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
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 0.32ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
HTTP sessions: 0 of 8- WiFi -
Network state is starting2
WiFi module is disabled
Failed messages: pending 0, notready 0, noresp 0
Socket states: 0 0 0 0 0 0 0 0
ok
- WiFi -
-
@prior123 Reflash the WiFi firmware from a USB terminal connection with M997 S1. It occasionally fails when updating all firmware files.
Ian
-
@droftarts said in Duet 2 Wifi not reading line of code:
M997 S1
its says this :s
Error: M997: File 0:/firmware/DuetWiFiServer.bin not found
-
@prior123 I guess you updated from 3.2, so firmware folder is not created yet. Try
M997 S1 P”0:/sys/DuetWiFiServer.bin”
Ian
@prior123 said in Duet 2 Wifi not reading line of code:
@droftarts said in Duet 2 Wifi not reading line of code:
M997 S1
its says this :s
Error: M997: File 0:/firmware/DuetWiFiServer.bin -
@droftarts said in Duet 2 Wifi not reading line of code:
M997 S1 P”0:/sys/DuetWiFiServer.bin”
It posted this
Error: M997: expected string expression
Thank you and im sorry this is being such a pain. I need to be more patient haha -
@prior123 sorry, should be straight quotes not curly! Damn phone… Try:
M997 S1 P"0:/sys/DuetWiFiServer.bin"
Ian
-
@droftarts Success Thank you!!!