What's new
VORON Design

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members!

Raspi freezing on startup

Hello,

I found a lot of help on other threads on this forum to troubleshoot my build but there's still an issue that i'm not able to solve.

When starting my printer (it's a trident variant) the raspberry freezes most of the time before starting Klipper.
On the screen it stays frozen at:
My IP adress: [xxxx]
[Hostname] login:_

I'm using a Fystec spider 3.0 for the motion system and a second mcu (LDO nitehawk) on the toolhead. The raspberry is a 3B with 8Gb of ram. I installed a 32bit image of Mainsail.
The raspberry receives 5V from the Fystec via a dedicated wire and uses USB for communication with both Fystec & Nitehawk.

The issue happens, I think, when the Fystec spider boots at the same time as the Raspberry.

I tried several things:
-Taping the 5V line on the usb between the Raspi & Fystec: no luck.
-Powering the raspi with its own power supply: no luck.
-I'm using klipperscreen & Obico, bu i tried with a fresh install without any add-ons: no luck.
-Specifying in the config file: "dtcoverlay=dwc2" or something like that. It seemed to work (had a pair of reboots without freezing) but I was not able to connect to the Nitehawk fos some reason.

The only things that works each time is if I power the Raspi before the Fystec:
-I remove a jumper on the board between its power regulation and the ret of the board (it's here for switching between on-board & USB power).
-The still receives 5V and boots.
-On it has booted I power the whole Fystec and klipper launches.
It works independently of the second MCU (nitehawk) being powered or not.

I could find some way to power the fystec AFTER the raspy withour using this jumper (adding a switch or relay to automate) but it seems to me that there should be some easier way to prevent this problem.
Being unable to solve it myself, maybe someone here may help me?
 

Attachments

The screen you describe looks like the login screen for Linux. Have you tried to type something on it? I doubt very much that the Raspberry Pi is actually frozen, as this is the expected behavior unless you actually log in the system. Remember that Mainsail is accessible via web browser, not via local access.

Also:

raspberry is a 3B with 8Gb of ram

I installed a 32bit image of Mainsail
You mean MainsailOS? Because if it is 32 bits you are not using the top half of your memory: 32 bits systems are restricted by design to access just 2³² memory addresses, which translates into 4 GB. If you want to use all 8 GB of your RPi, you must install the 64 bits version of the OS.
 
Thank you for your answer.
With the 64bit MainsailOS I encountered the same behavior and once i was able to boo correctly, random freezes when printing. I found a thread recommending to use 32bit Mainsail OS on raspi3, tried it and it solved the random freezes.

Yes it looks like some kind of login screen. You're right i'll try to plug a keyboard to type something, but even if I'm able to log this way it will still be pretty cumbersome.
 
Thank you for your answer.
With the 64bit MainsailOS I encountered the same behavior and once i was able to boo correctly, random freezes when printing. I found a thread recommending to use 32bit Mainsail OS on raspi3, tried it and it solved the random freezes.

Yes it looks like some kind of login screen. You're right i'll try to plug a keyboard to type something, but even if I'm able to log this way it will still be pretty cumbersome.
Have you tried to access Mainsail with a web browser from another computer connected to the same network? You just need to type http://[ip address].local on your browser (sometimes the .local doesn't work, in that case just type the dot, omitting the local from the URL).
 
Yes, when it "freezes", I'm not able to access mainsail from the network. Otherwise, I'm able to access mainsail.

Edit: I tried to plug an USB keyboard on the Pi, but was not able to type anything.
 
Last edited:
Top