i hate upgrades
-
i was on this Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
Firmware Electronics: Duet WiFi 1.02 or later + DueX2
Firmware Version: 2.04 (2019-11-01b1)
WiFi Server Version: 1.21
Web Interface Version: 1.22.6
i downloaded the 3 version combinded and uploaded through dwc...not the 3.1 so can do the other after ..the result i get a javascript error which i cant copy to paste here....
i have a back up of my sd card so should i go back or try to fix and run the latest??? -
i downloaded the dwc again and it worked.....
i get on m115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.0 ELECTRONICS: Duet WiFi 1.02 or later + DueX2 FIRMWARE_DATE: 2020-01-03b3what should be my next step??
-
Upgrade firmware immediately to version 3.1.1, then make the changes needed to your config.g file.
-
do i have to upload one by one all these bin files included in the 3.1.1 folder????
-
@kostasbmw there should be a zip file for each major release, you can upload this as a whole and DuetWebControl will decompress and place the files where needed and prompt you to start the upgrade after.
-
ok i got it but then i lost connection i cant see the printer...should i get the sd out and check?
WIFI is on and i cant find the ip address with angry ip scanner..the printer is a ufo
YAT connected but here is the result when trying to input the data
m552
WiFi module is being started
ok
m552 s0
ok
m587 s"KOSTASBMWX3" P"91171917"
Error: M587: Failed to add SSID to remembered list
ok
M552 S1
Turn off the current WiFi mode before selecting a new one
ok -
can i reset the duet to factory and start again from the begining....
-
Easiest is wipe the SD card as no information is stored on the duet (apart from wifi information on the ESP module).
Or if you're not happy with that, BOSSA the duet and reflash the wifi firmware
https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Fallback_procedure_Num_3 -
I ran into connectivity issues like you are having.
The things I needed to do are as follows:
m552 s-1 ; disable wifi module
g4 s1 ;pause
m552 s0 ; disable network
G4 S1 ;pause
m588 s"*" ; forget all networks
G4 S1 ; pause
m587 s"---------" P"===========" ; set new networkThe pauses are probably not needed if you are typing the stuff in on the console but you do need to disable the wifi module before you can ask it to remember a new network.
-
Duets are not shipped "factory reset"; that would mean its blank, with no firmware due to the nature of the microcontroller used. So Duets have the firmware flashed and SD card populated with a default config on top of a reset state.
IF you send M999 P"ERASE" or place a jumper over the erase pins on the board it will be the cloest you get to resetting it - but that also renders it useless until you perform Fallback procedure #3 you probably have to update DuetWebControl on the SD card as well.
To reset the WiFi module send
M552 S-1 M552 S0 M588 S"*"
The only thing you achieve by resetting the board is solving any problems related to not following the instructions given here Section_Special_considerations_for_upgrading_between_particular_firmware_versions so I would perhaps suggesting an alternative approach as there is no going back after you erase the board, except the fallback procedure linked above.
-
@jens55 said in i hate upgrades:
I ran into connectivity issues like you are having.
The things I needed to do are as follows:
m552 s-1 ; disable wifi module
g4 s1 ;pause
m552 s0 ; disable network
G4 S1 ;pause
m588 s"*" ; forget all networks
G4 S1 ; pause
m587 s"---------" P"===========" ; set new networkThe pauses are probably not needed if you are typing the stuff in on the console but you do need to disable the wifi module before you can ask it to remember a new network.
I GET A FAILED TO RESET THE WIFI MODULE
-
@bearer
i followed instructions ..i missed one to uncomment the m552 s1the thing is to reset the wifi because without it nothing to do......
i dont know if i can do something through the sd card -
@kostasbmw said in i hate upgrades:
WiFi Server Version: 1.21
did you upgrade this along the way?
download and place DuetWiFiServer.bin (v1.23) on the sd-card in the /sys folder and run
M552 S0 M997 S1 M588 S"*"
confirm the updated version and a blank wifi module with
M122 M587
-
@bearer said in i hate upgrades:
@kostasbmw said in i hate upgrades:
WiFi Server Version: 1.21
did you upgrade this along the way?
download and place DuetWiFiServer.bin (v1.23) on the sd-card in the /sys folder and run
M552 S0 M997 S1 M588 S"*"
confirm the updated version and a blank wifi module with
M122 M587
m552 s0
ok
m997 s1
Trying to connect at 230400 baud: success
Erasing 4096 bytes...
Erasing 212992 bytes...
Uploading file...
5% complete
10% complete
15% complete
20% complete
25% complete
30% complete
35% complete
40% complete
45% complete
50% complete
55% complete
60% complete
65% complete
70% complete
75% complete
80% complete
85% complete
90% complete
95% complete
Upload successful
ok
m588 s"*"
Error: M588: Failed to reset the WiFi module to factory settings
ok
m122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later + DueX2
Board ID: 08DGM-917NK-F2MS4-7JKFD-3S46R-1HSDD
Used output buffers: 1 of 24 (1 max)
=== RTOS ===
Static ram: 27980
Dynamic ram: 93324 of which 680 recycled
Exception stack ram used: 320
Never used ram: 8768
Tasks: NETWORK(ready,396) HEAT(blocked,1456) DUEX(suspended,160) MAIN(running,1816) IDLE(ready,80)
Owned mutexes:
=== Platform ===
Last reset 00:02:20 ago, cause: power up
Last software reset at 2020-07-08 18:20, reason: User, spinning module GCodes, available RAM 11452 bytes (slot 2)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN
Error status: 0
MCU temperature: min 25.7, current 30.4, max 30.5
Supply voltage: min 23.9, current 24.0, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
Driver 0: standstill, SG min/max not available
Driver 1: standstill, SG min/max not available
Driver 2: standstill, SG min/max not available
Driver 3: standstill, SG min/max not available
Driver 4: standstill, SG min/max not available
Driver 5: standstill, SG min/max not available
Driver 6: standstill, SG min/max not available
Date/time: 1970-01-01 00:00:00
Cache data hit count 263916142
Slowest loop: 9.65ms; 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 3.1ms, write time 0.0ms, max retries 0
=== Move ===
Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
Bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
=== AuxDDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
=== Heat ===
Bed heaters = -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
=== 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
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 1193.73ms; 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 disabled
WiFi module is disabled
Failed messages: pending 0, notready 0, noresp 0
Socket states: 0 0 0 0 0 0 0 0
=== DueX ===
Read count 1, 0.43 reads/min
ok
m587
Error: M587: Failed to retrieve network list
ok
m552
WiFi module is disabled
ok
m552 s0
ok
WiFi module started
this is what i get with m587
- WiFi -
-
If you send M552 S0, and then M552 by itself a few seconds later, what does it report?
-
ok i left it and now when i turned the printer on it connected but i got an error telling me to reload the web interface again
JavaScript ErrorA JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message:
Version: 1.22.6
Message: Uncaught TypeError: Cannot read property 'toFixed' of undefined
URL: http://192.168.1.5/js/dwc.js
Line: 4468:75
Error object: {} -
@kostasbmw said in i hate upgrades:
Version: 1.22.6
you should probably update this as well
https://github.com/Duet3D/DuetWebControl/releases/tag/3.1.1
https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Updating_DuetWebControl_files -
@kostasbmw said in i hate upgrades:
ok i left it and now when i turned the printer on it connected but i got an error telling me to reload the web interface again
JavaScript ErrorA JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message:
Version: 1.22.6
Message: Uncaught TypeError: Cannot read property 'toFixed' of undefined
URL: http://192.168.1.5/js/dwc.js
Line: 4468:75
Error object: {}If you are running RRF 3.1.1 on the main board (which you are according to the M122 report), then you need to run a later version of Duet web Control than 1.22.6.
Edit : @bearer beat me to it.
-
@dc42
i m trying to locate my version on the dwci reloaded the the files in the www folder and no error
should i reflash with the firmware????
my m122m122
SENDING:M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later + DueX2
Board ID: 08DGM-917NK-F2MS4-7JKFD-3S46R-1HSDD
Used output buffers: 1 of 24 (10 max)
=== RTOS ===
Static ram: 27980
Dynamic ram: 93324 of which 680 recycled
Exception stack ram used: 308
Never used ram: 8780
Tasks: NETWORK(ready,468) HEAT(blocked,1456) DUEX(suspended,160) MAIN(running,1824) IDLE(ready,80)
Owned mutexes: WiFi(NETWORK)
=== Platform ===
Last reset 00:03:40 ago, cause: power up
Last software reset at 2020-07-08 18:20, reason: User, spinning module GCodes, available RAM 11452 bytes (slot 2)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN
Error status: 0
[ERROR] Error status: 0MCU temperature: min 25.0, current 31.2, max 31.4
Supply voltage: min 23.9, current 24.0, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes
Driver 0: standstill, SG min/max not available
Driver 1: standstill, SG min/max not available
Driver 2: standstill, SG min/max not available
Driver 3: standstill, SG min/max not available
Driver 4: standstill, SG min/max not available
Driver 5: standstill, SG min/max not available
Driver 6: standstill, SG min/max not available
Date/time: 2020-07-09 17:52:14
Cache data hit count 372512281
Slowest loop: 9.67ms; fastest: 0.13ms
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 3.1ms, write time 0.0ms, max retries 0
=== Move ===
Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
Bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
=== AuxDDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
=== Heat ===
Bed heaters = -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
=== 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
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 39.96ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
HTTP sessions: 1 of 8- WiFi -
Network state is active
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.23
WiFi MAC address 84:f3:eb:83:44:a8
WiFi Vcc 3.38, reset reason Unknown
WiFi flash size 4194304, free heap 24632
WiFi IP address 192.168.1.5
WiFi signal strength -48dBm, reconnections 0, sleep mode modem
Socket states: 0 0 0 0 0 0 0 0
=== DueX ===
Read count 1, 0.27 reads/min
and this is what the dwc says
Board: Duet 2 WiFi (2WiFi)
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.1.1 (2020-05-19b2)
Duet WiFi Server Version: 1.23 - WiFi -
-
M122 will not show DWC version, but you have DWC 1.22.6 and RRF 3.1.1.
So you need to also have DWC 3.1.1 which I linked to above. The second link has the instructions on how to extract it to the sd card as DWC is not currently working you need to put the sd card in your computer temporarily.
edit: oh, i took the error to mean dwc didn't work, pardon the detour.