Duet Wifi Hangs up after booting about 1 out of 5 times
-
@dc42 I tried the M552 S1 only on the config, I got successful boot 10 out of 10.
Should I just add the config line by line? Or is there an option to step it out?
Thanks!
-
@gta18 said in Duet Wifi Hangs up after booting about 1 out of 5 times:
Should I just add the config line by line? Or is there an option to step it out?
There's no option to step through it. You'd either have to add one line at a time and try booting, or you could connect via USB and send line by line that way. Or you could rename the config.g something else so that it isn't loaded automatically, and then when it's booted up you could send M98 Pconfigcopy.g from USB and see if you get any error messages.
Duet doesn't sell via amazon, so it's definitely a clone.
-
This is the 2nd board from amazon and did the exact same hanging up.
Duet doesn't sell via amazon, so it's definitely a clone.
That begs the question of when asked to confirm the power supply being stable and answering "its rock solid at 24.13 to 24.15v" how does the 3.3v line look? And if the problems started after adding BLTouch does it work without the BLTouch?
And its a moot point to measure the 3.3v line with a multi-meter to reveal any power issues, it would take a oscilloscope to be certain in any case. Removing the BLTouch if not already done might be a better place to start if lacking a scope.
-
@bearer Ill check the 3.3v as well, i have the scope but it doesn't record.
my fluke 789 has the MIN-Max function that can hopefully capture if there is a blip in the 3.3v stage.
So after adding back chunks at a time the config.g and rebooting each time, I probably have about 12 to 15 reboots now without a hitch.
Only difference with my config.g is that I created the file within the web gui.
I will still check the 3.3v tonight when I get back.
Thanks!
-
MIN-MAX won't help as you want to view the part that goes from 0v to 3.3v and possibly back down below some value causing a brownout. Fiddle with the scope trigger settings just below 3.3v until it doesn't trigger in normal use and reduce it a little more, then try starting up to see if it hangs and something triggers the scope.
If unsuccesfull you can always try to see if the BLtouch makes a difference.
-
@gta18 said in Duet Wifi Hangs up after booting about 1 out of 5 times:
I created the file within the web gui.
It's possible a blip caused some file corruption when saving, but I've never had any problem doing this. And if there was file corruption or some stray character, why would it work sometimes and not others? But perhaps worth looking at the SD card slot soldering. If you could share a picture of your two Duets, it would be interesting to see.
When you say that it doesn't boot up properly, do you mean it boots and 100% of the time you can run homing, but it's during homing that it will drop out? Because I wouldn't call that a boot-up hang! And it narrows the issue down to homing.
Which means, if it only started happening when the BLTouch was added (I missed this earlier), and it usually drops out during homing, I'd guess there's a wiring issue with the BLTouch, and something it's doing is causing the loss of communication. Check the BLTouch wiring loom for continuity, loose connections and shorts, particularly at any point the wiring hinges or pulls on connections.
Ian
-
@droftarts What I meant about homing is, if i push the home button right away after power up, it homes 100% of the time but during the failed bootup im talking about the home or any other functions does not work.
Homing always finishes if triggered early enough, either on success or failed boot. Thats why i mentioned that the external comms to paneldue and usb diaappers.
So it seems to me that it always successfully loads the limits and home configuration.
-
Im happy and pleased to report back that I have not experienced a bad bootup for about 96 hour printing time and about more than 50 reboots manually.
Still not sure why creating the config.g file using the web interface made a difference.
-
@gta18 said in Duet Wifi Hangs up after booting about 1 out of 5 times:
Still not sure why creating the config.g file using the web interface made a difference.
Corrupt file? bad character?
-
@Phaedrux said in Duet Wifi Hangs up after booting about 1 out of 5 times:
@gta18 said in Duet Wifi Hangs up after booting about 1 out of 5 times:
Still not sure why creating the config.g file using the web interface made a difference.
Corrupt file? bad character?
Or a bad block on the SD card that sometimes can't be read? Writing a new config.g will have used a different block. Or did you try a different SD card?
-
I have 3 sd cards that I have been using with identical contents and have been copying the config.g from online generator to the sd cards thru my laptop.
I'll try to copy the working sd card contents to the other 2 sd's and see if it still works.
-
@gta18 I’ll have another look at the config.g you posted at the beginning of the thread, and try it on my Duet WiFi.
Also, can you post a picture of your board? I know it’s probably a clone from Amazon, but would be good to see if it is genuine.
Ian