I am erasing duet but which firmware can I use?
-
Upgrading from an older firmware can be quite a challenge. Part of the problem usually arises from missing certain iap files that may be required by different firmware versions. If you wanted to do it manually and the board is currently still responding and loading either the DWC or over USB and YAT, you can do the upgrade dance from 1.19 to 1.21 to 2.0 to 2.05. It get easier after 2.0 because the major releases have a single zip file that you can upload over DWC that updates all the files needed.
But If you're intent on completely starting from a blank slate you can use bossa to flash the firmware of your choice from a PC over USB.
https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Fallback_procedure_Num_3
You'll also need to ensure that you you have a compatible wifiserver bin file on the SD card to update afterwards. And you will likely also need to manually update the DWC files.
The config.g and homeall will also need some updates if you're coming from 1.19. I suggest using the web configurator to generate a new set of files compatible with 2.0.
Avoid RRF3 for the time being.
-
@jcv1977 said in I am erasing duet but which firmware can I use?:
can I just install 2.05 after erasing the board?
Not that you don't need to erase the board, you can just use a second SD card and use the original as a backup, just in case.
-
@Phaedrux said in I am erasing duet but which firmware can I use?:
https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Fallback_procedure_Num_3
Thanks for helping. I did try the fallback 3 but again I can't log in to web control page. I have installed Firmware 2.05.1 and wifi 1.02. I get all the config files from rep rap config tool.
When use M552 S1 it shows:
WiFi module is connected to access point MYSSID, IP address 192.168.1.191 but when I use that IP on my browser nothing happens.
What else can I try?
-
Do you have the DWC files in the /www folder on the SD card?
Can you ping that IP address successfully?
What happens when you try to go to the IP?
-
@jcv1977 said in I am erasing duet but which firmware can I use?:
Thanks for helping. I did try the fallback 3 but again I can't log in to web control page. I have installed Firmware 2.05.1 and wifi 1.02.
Did you mean WiFi firmware 1.23 ?
-
@Phaedrux Yep i have follow the tutorial so i have replaced www files for the recommended ones. Actually i can't ping that ip, it funny i entered my router page and there seems to be a problem, the router detects the mac address of the duet correctly but it keeps assigning a another fixed ip. The strange part is that if i try my duet to use dhcp so that its assigned the routers fixed ip address it just don't get any ip at all. Then, i've tried to delete the fixed address from my router, but it persist. WTF?? So i am guessing thats why the web control is not working. I will reset my router so stay tunned! lol
-
Hmm, routers can be persnickity sometimes. Best to leave the Duet as DHCP and let the router assign one. Hopefully you can get them to coorperate.
-
@dc42 I did installed that version, but when i use M115 it shows 1.02.
-
@jcv1977 said in I am erasing duet but which firmware can I use?:
@dc42 I did installed that version, but when i use M115 it shows 1.02.
I think 1.02 is the Duet hardware revision, not the WiFi firmware revision. To check the WiFi firmware revision, send M122 and look for it in the WiFi section of the response.
-
You were right! But it still can't get any dhcp address and i get:
WiFi reported error: Timed out while trying to connect to MYWIFICode queue is empty. === Network === Slowest loop: 1.25ms; fastest: 0.00ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0) HTTP sessions: 0 of 8 - WiFi - Network state is changing mode WiFi module is trying to connect Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 1.23 WiFi MAC address b4:e6:2d:52:ff:37 WiFi Vcc 3.30, reset reason Turned on by main processor WiFi flash size 4194304, free heap 27480 Socket states: 0 0 0 0 0 0 0 0 ok
-
@jcv1977 said in I am erasing duet but which firmware can I use?:
WiFi reported error: Timed out while trying to connect to MYWIFI
how is the signal strength? (proably need to measure with app on phone).
which type of encryption is in use?
(and its not a vodaphone router is it?) -
@bearer I don't think its a signal issue i am literally near the router and the signal is excellent. I use WPA2 Personal and AES encryption. Nope its an Atlantic broadband router, but those are really tight i can't even turn off dhcp jst to test with other router. So i may habe to try another one.
-
@jcv1977 said in I am erasing duet but which firmware can I use?:
WPA2 Personal and AES encryption
should work, any special characters in the key? how did you add the network; ponterface tends to mess up keys f.ex.
So i may habe to try another one.
if you're not aware, you can also configure the duet to be an access point if that helps you out temporarily. (read the to use as AP notes)
https://duet3d.dozuki.com/Wiki/Gcode#Section_M589_Configure_access_point_parameters -
@bearer said in I am erasing duet but which firmware can I use?:
@jcv1977 said in I am erasing duet but which firmware can I use?:
WiFi reported error: Timed out while trying to connect to MYWIFI
how is the signal strength? (proably need to measure with app on phone).
which type of encryption is in use?
(and its not a vodaphone router is it?)Is the SSID of your access point exactly MYWIFI all in uppercase? SSIDs are case sensitive.
-
wouldn't a wrong ssid result in "no known networks found" and not a timeout?
-
@bearer said in I am erasing duet but which firmware can I use?:
wouldn't a wrong ssid result in "no known networks found" and not a timeout?
Yes, it should.
@jcv1977 , if you send M587 without parameters via USB, what is the response?
-
@bearer No special characters i just kept it easy not to add possible issues. Yes i tried the AP but with another firmware, it just connected but nothing happened i will try it with the current one.
-
@dc42 Its not the ssid i did all my homework after asking here
After M587 i get:MYWIFI IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
Might be a bad wifi module?
-
@bearer Well there is some progress! Using AP mode works fine now and i can finally see the web control page. But it can't seem to connect to my router nor having an ip assigned even if i set at the freaking router a static one.
Using macros or manually (using M587 S"MYWIFI" P"MYPASSWORD" I192.168.1.128 the blue light of the esp8266 gets blue, but i can't ping to that IP and i can't get to web control page nothing is displayed. Also in my router 192.168.1.128 is not shown at all and the duet appears with a fixed ip 192.169.1.9 but it can't be ping at and it is not browseable.
I 've already reset to factory setting the router but i dont understand why that fixed IP is still there?????
-
@jcv1977 said in I am erasing duet but which firmware can I use?:
(using M587 S"...
lets turn on wifi debugging and see if it gives you any more info (doubt it, but worth a try)
send
M111 S1 P14
to the duet beforeM552 S1
you could also perhaps try adding the mac address manually for each IP one at the time?
arp -s 192.168.1.128 b4-e6-2d-52-ff-37 ping 192.168.1.128 arp -d 192.168.1.128
then try
arp -s 192.169.1.9 b4-e6-2d-52-ff-37 ping 192.169.1.9 arp -d 192.169.1.9