#Failed SD Image

313 messages Β· Page 1 of 1 (latest)

thick seal
#

Flash to image SD card fails every time no matter what SD card I use 16GB to 128GB all SanDisk SD Cards.

brittle sparrow
#

Are you using Balena Etcher? How does it fail? What device are you using to write the sd card? Is it a usb sd card reader? if so try another usb port.

thick seal
#

Hello @brittle sparrow

I'm using Balena Etcher.

It fails at the end of verification.

Using my desktop windows PC.

I have a USB SD card Adapter.

I've tried 2 different ports.

brittle sparrow
thick seal
#

Okay will do.

Thanks

thick seal
brittle sparrow
# thick seal

Works fine for me (and nobody else reported this issue), so i'm thinking it's your card reader

#

Are you doing something to the .xz file before flashing?

thick seal
#

Download from github then open Balena and select

#

@brittle sparrow if you're in the states I'll pay for an SD card with the flashed image on it.

brittle sparrow
brittle sparrow
#

You can try and ignore the warning and use it anyway, but i'm guessing it's probably right when it says it didn't verify

#

(that's why Balena is recommended, to avoid odd issues down the line because of bad flashing)

thick seal
#

Ah and yeah

#

I'll grab another card reader

#

What's strange is all the files and folders on the card.

brittle sparrow
thick seal
#

Yeah I had tried in the past. Didn't get anything from the pi for a hot sport or even via Ethernet.

#

Also using a CM4

#

Trying a different computer with built in SD card reader

thick seal
#

@brittle sparrow flash complete and successful. Switch from my PC to Laptop with a built in SD card reader.

thick seal
#

@brittle sparrow

Is there anything special needed to flash the CM4101032 Raspberry Pi 4 Compute Module CM4 1GB RAM 32GB eMMC

thick seal
#

From what I saw it looks like this is the way to do it hopefully

thick seal
#

Success and thanks for all the help 😁

brittle sparrow
brittle sparrow
brittle sparrow
#

@thick seal Continue here instead of DMs. I think the compile_firmware button is hidden on your screen size, click the cogs in the upper right corner and navigate to "Dashboard"

#

There you can configure whats visible on "Desktop"

#

Enable the "scripts" panel

#

Normally it's below the console

thick seal
#

@brittle sparrow okay

And will do I hit the V3 button and couldn't figure out how to get it back so in the middle of flashing the image again

#

Love the printer cfg setup though.

#

@brittle sparrow that did the trick 😁

thick seal
#

@brittle sparrow got the firmware flashed on the octopus pro F446 board but I'm having some issues even after going through the Printer CFG.

#

Getting a MCU unable to connect

brittle sparrow
thick seal
#

@brittle sparrow that's what I thought but I have everything disconnected

brittle sparrow
thick seal
#

Yes

brittle sparrow
thick seal
#

Okay I'll try it tonight have to drop the kids off.

#

That's the CFG

#

In short running the Pro F446, BLtouch, rapido, orbiter and it's a 400 V3 might be forgetting a few things

brittle sparrow
#

It looks correct

#

Which means the firmware didn't flash correctly

thick seal
#

Ah

#

Makes sense and what I figured. So reflash the firmware.bin file then

thick seal
#

Thanks again for the help, the ratrig community was a big part of me deciding to go ratrig.

brittle sparrow
thick seal
#

@brittle sparrow
Will do. I'm going to have to figure out how to change info for the cfg as I had to move things around for the motor drives. Mine don't correlate to the ratos diagram anymore and I noticed the cfg isn't like the one I have for my other printer setup on klipper.

brittle sparrow
thick seal
#

Awesome and I thought so but didn't look into it that much yet. As I need to get the mcu issue fixed first.

thick seal
thick seal
#

Tested with known working Octopus pro 446 from my other printer and still MCU unable to connect.

#

could this be an issue with the Pi CM4?

#

Going to try Flashing the RatOS again on it

thick seal
#

Reflashed the CM4 and still no luck.

grand nebula
thick seal
#

yes

thick seal
grand nebula
# thick seal yes

run dmesg -w and while it is running, plug your octopus board into your PI
so what's the output of this?

thick seal
#

That is the only part that im at a lose with as i have a Cm4 and not sure how get the IP and know if SSH is activated

grand nebula
thick seal
#

One sec I'll look I didn't see it before

#

Ah I see it

#

Well I see two πŸ˜…

grand nebula
#

since they are eth0 and wlan0

thick seal
#

yes for some reason doesnt work without the ethernet

#

what is the login info?

grand nebula
#

that doesn't make sense, but ok.
username: pi
password: raspberry

#

unless you changed it

thick seal
#

okay im in

#

run dmesg -w

grand nebula
#

then plug in your usb that connects to octopus

thick seal
#

okay let me retry i had it plugged beforhand

#

okay im going to plug it in what should i see

#

or what am i looking for

grand nebula
#

post the output

thick seal
#

okay plugged it in and i didnt see anything

grand nebula
#

ideally you see it trying to connect the usb

#

just double checking, you are connecting to usb A port on the pi to usb C port on octopus board?

thick seal
grand nebula
#

what's that other usb that is plugged in?

thick seal
#

the USB C at the Pi is power

#

The USB A on the Pi is going to the USB C on the Octopus Pro

#

the other USB A not plugged into anything is just going to a USB outlet on the side of the machine

grand nebula
#

next to the ethernet cord

thick seal
#

So use the USB A port on the Octopus and not the USB C

#

The pi is USB C to power supply and USB A to Octopus USB C

grand nebula
#

purple line to octopus looks unplugged. what does red line go to?

thick seal
#

It's just looped behind the bar

#

Didn't want to put a tight bend on the cable

grand nebula
#

try plugging something else into the usb port on the pi while running dmesg -w

thick seal
#

Okay how about a flash drive?

grand nebula
#

if nothing still shows up in output something is up with your pi ports

grand nebula
thick seal
#

yup DOA

#

plugged in and nothing popped up

grand nebula
#

just to be sure I would try some other usb items, but it is looking that way

thick seal
#

it has power but nothing else

#

tried my phone with a couple of usb cables

#

looks like ill need to find an actual Pi and not this POS CM4

grand nebula
#

not sure if its the cm4 or the board its attached to

thick seal
#

yeah im not either but not sure if its worth spending another 30 on a board that might be faulty or just spend the money an a pi

#

it also bothers me that it shows the WIFI but Mainsail wont connect without the ethernet

grand nebula
#

I would contact whoever you bought it from and ask for refund

thick seal
#

yeah

#

ill see if they will exchange it and ill order an actual pi

#

Wondering if i could run the ratrig off the sonic pad temporarily lol

grand nebula
thick seal
#

Yeah I've built a few off the pad but the CFG would be my question

#

All for me have been bed slingers on the pad.

#

Not sure how it would have to be for the bed leveling to work properly

brittle sparrow
thick seal
#

Ohh do you know what jumper it is?

#

This is the base board I have

brittle sparrow
#

That jumper is mostly present on controller boards made for CM4's like the BTT Manta boards.

#

Oh wait @thick seal are you running 1.2.4?

#

1.2.4 doesn't support CM4, v2.0.0 does

thick seal
#

1.2.4?

#

Rato

#

Ratos?

brittle sparrow
#

You can fix it though, you need this in /boot/config.txt

[cm4]

Enable DWC2 for usb on CM4

dtoverlay=dwc2,dr_mode=host

brittle sparrow
thick seal
#

I didn't see a different version

brittle sparrow
thick seal
#

Ahh

#

Well I'm currently on my way to get a pi 4 8gb

#

I'll install the beta and try it out

#

Will 2.0 fix the wifi issue too?

brittle sparrow
brittle sparrow
#

Or go for 2.0

#

You don't have to buy a pi 4 πŸ˜„

thick seal
#

I could only connect to it with the Ethernet

#

Too late πŸ˜…

brittle sparrow
thick seal
#

I'll try and get the cm4 to work as well.

brittle sparrow
thick seal
#

Yeah I'm not sure and for me rather not have to reinvent the wheel on this.

#

So I was looking through the cfg and saw the override area on the bottom.

#

I take it use that area to make the driver output changes.

#

If so do you have a link or photo of an example? I've never did changes as override.

grand nebula
thick seal
#

I got my v3 used and it was a mess so I drew up and made a new panel for all the electronics.

brittle sparrow
brittle sparrow
#

You just write your driver settings tehre

thick seal
#

How I got it

brittle sparrow
#

eg:

[tmc2209 stepper_x]
uart_pin: whatever

[stepper_x]
dir_pin: whatever
step_pin: whatever
enable_pin: whatever
#

Then just look up the pins you need in the pinout for your board

brittle sparrow
thick seal
#

Awesome so it's just use the normal klipper call outs

brittle sparrow
thick seal
#

Yes it was a wreck before

thick seal
#

That and better routing

thick seal
#

okay so i think my router is blocking the pi

#

i can see the new pi4 if i use ethernet

grand nebula
thick seal
#

correct

#

I followed the Wifi setup and saved the pass code for the wifi

grand nebula
#

does your router list it as connected?

thick seal
#

Haven't gotten that far but i did notice it still shows the Ratos hotspot

grand nebula
thick seal
#

I do have good news, the Pi can see the Octopus board now

#

I thought the same but when i went to redo the wifi it comes up bad gateway

grand nebula
#

Does your wifi SSID or password have spaces or special characters?

thick seal
#

no just numbers

grand nebula
thick seal
#

yes

#

Its WPA2

grand nebula
#

so after connecting to ratos hotspot you navigate to 192.168.50.1?

thick seal
#

yes

brittle sparrow
#

Can you ssh into your pi and download ~/printer_data/logs/ratos-configurator.log and post it here?

thick seal
#

yes

#

pi@ratos:~ $ /printer_data/logs/ratos-configurator.log
-bash: /printer_data/logs/ratos-configurator.log: No such file or directory
pi@ratos:~ $ ~/printer_data/log/ratos-configurator.log
-bash: /home/pi/printer_data/log/ratos-configurator.log: No such file or directory
pi@ratos:~ $

thick seal
#

also should I do the updates?

thick seal
#

Okay I got WiFi working

#

I reimagined the SD card and started over. Now wifi works and I can see the board

#

I'm still seeing the about photo with everything saying invalid

brittle sparrow
brittle sparrow
#

Hit the refresh button in the title of that panel, that should fix it. If it doesn't you have network issues.

thick seal
#

Okay check it out in a bit

thick seal
#

@brittle sparrow I thought the wifi was working but my PC just auto reconnected to the ratos hotspot πŸ™„

#

pi@ratos:~ $ /home/pi/printer_data/logs/ratos-configurator.log
-bash: /home/pi/printer_data/logs/ratos-configurator.log: No such file or directory
pi@ratos:~ $ /home/pi/printer_data/logs/ratos-configurator.log
-bash: /home/pi/printer_data/logs/ratos-configurator.log: No such file or directory
pi@ratos:~ $

thick seal
#

i was able to run the updates using the ethernet

#

everything but wifi seems to work

brittle sparrow
thick seal
#

I used balena

#

Followed the guide online

brittle sparrow
#

That's really strange

#

Can you try manually editing /boot/ratos-wpa-supplicant.txt ?

#

If that still doesn't work, i'm gonna have to blame your router. I'm having no trouble connecting to wifi on Pi4, 3 or zero two with the latest beta.

thick seal
#

will try now

#

pi@ratos:~ $ /boot/ratos-wpa-supplicant.txt
/boot/ratos-wpa-supplicant.txt: line 54: syntax error near unexpected token }' /boot/ratos-wpa-supplicant.txt: line 54: }'
pi@ratos:~ $

brittle sparrow
#

then change the

network={
...
}

section to match your wifi settings.

thick seal
#

okay

#

ah ha

#

that did it

#

not sure why it didn't work the normal way but now it works

#

I'm currently going through making the needed changed in my CFG in the overrides. Once I'm done mind just giving it a glance as i need to make changes to more then just the drivers as i want to add all the fans to the board plus run both parts cooling fans on there own pin. Also I'm planning to swap to the APUS extruder at home point so i will need to be able to edit the current and rotation distance.

brittle sparrow
thick seal
#

awesome as I'm getting errors with the overrides

#

getting a parse option 'fan_speed' error also run_current error

grand nebula
#

Line 342 - that needs to go under a header, but currently is just "floating" there under controller fan header which is wrong

#

And for the controller fan definitions you have 1,2,3 just dangling off the name. Either connect it with something or just leave it off.
i.e. controller_fan_1 or just leave as controller_fan

#

The fan speed error might be because you started with a dot (i.e. .75) but you need a leading zero, i.e. 0.75

#

Not sure why it is complaining about the run current

#

Maybe it needs a space after the :?
You have run_current:0.707 but you need run_current: 0.707

thick seal
#

Thanks Ill make the changes.

#

i # out the extruder run current as i plan to use that for when i switch to the APUS

#

Okay i updated everything and now i get pin fan_controller_board_pin is an alias for PD12

#

I think its because am trying to run both parts cooling fans in parallel but off there own pins

#

pin fan_toolhead_cooling_pin is an alias for PE5

grand nebula
#

Line 309, you are trying to use pd12 for a fan, but ratos is already defining that pin for a controller fan. You can have the same pin for fan and controller fan. So redefine the fan_controller_board_pin to something you aren't using, and then you should be fine. needs to be done before you use pd12

#

You might be better off copying the board import (line 22 shows where it lives) to the same folder your printer.cfg is, then change the pin definitions there, then importing that instead of line 22.

#

That way you don't have to keep fighting the already defined pin names

#

But up to you

thick seal
#

So change the config.cfg for the board

#

Have you ever used

#

[multi_pin my_fan]
pins: PC7, PC6

[fan]
pin: multi_pin:my_fan

grand nebula
thick seal
#

ahh okay i was trying to get that to work for my parts cooling fans

#

is it possible to do that in the board cfg?

#

Also how do i make the config file not read only? i tried downloading and editing it but i can't upload it from there

grand nebula
#

Those files are just for logical separation. You could copy them all to printer.cfg and it would still work.

Just follow the correct convention, don't directly edit those ratos files. If you need to override them, create new files copy the ratos one, and then override the new one however you want

grand nebula
thick seal
#

okay

grand nebula
#

Just copy it to a new file like I outlined earlier

thick seal
#

Okay

grand nebula
#

Yeah, now just redefine the pins to the aliases so they are correct. Then ratos should just work

thick seal
grand nebula
#

You have one too many config in the path

thick seal
#

πŸ€¦β€β™‚οΈ

grand nebula
#

[include config466dualPF.cfg]

thick seal
#

Ah hA

grand nebula
#

Sorry, I should have spotted that earlier

thick seal
#

that worked

#

no worries this is new to me I'm used to having everything laid out the old way and filling it all in

#

how would i call out the multi fan in the board CFG for the dual parts cooling fan setup?

grand nebula
#

Same as before I would imagine

#

And then just override it in the USER OVERRIDES section like I did in my config

thick seal
#

okay

#

[multi_pin my_fan]
pins: PE5, PD12

[fan]
pin: multi_pin:my_fan

#

Unknown pin chip name 'multi_pin'

#

Never mind

#

all fixed

#

deleted this and it worked
[fan]
pin: multi_pin:my_fan

#

Thanks again for all the help and hopefully this helps someone else along the way.

grand nebula
#

Good luck

thick seal
#

Thanks again for all the help I couldn't have done it without the amazing RatRig community

thick seal
#

Any chance you might know why the X would show trigger on the limit switch even if its not hooked up and no matter what pin you put it on? Could it be a driver issue?

thick seal
#

I've nailed it down to something in the CFG. List Below is what I've tested and found.

Moving limit switch pin in Config = no change
Unplugged limit switch = no change
Swapped drivers around = no change
Moved X Driver from 5 to 4 & re did the pin call outs = no change
swapped the X & Y in the config = Moved the issue from X to Y

Not Sure what it could be causing the issue.

thick seal
brittle sparrow
#

Check that you don't have the DIAG jumpers inserted

thick seal
#

I take it this is what you are talking about.

#

I'm wondering if I need to add ^ for that one for some reason

brittle sparrow
brittle sparrow
#

You're shorting your pins

#

White and red should be swapped.

#

Hopefully you didn't fry your mcu.. yet

#

(this is why there are warnings about this everywhere in the docs)

thick seal
#

That's super strange as thats how it was when i got it and thats the only one that works the one with the white connector dosnt work

#

I think I know what happened

brittle sparrow
#

then it's miswired in the other end as well

brittle sparrow
#

So white is actually 5v, and red is signal

thick seal
#

This is the one that actually works

#

So follow this one?

#

I also had this issue with the wiring that was on the machine

#

This is the one that is giving me problems and I just swapped the wires

#

That's did the trick

#

Ugh I had trusted what the PO had done was correct

brittle sparrow
brittle sparrow
thick seal
#

I went back and looked at the last owners cfg and he used sensorless homing. I guess this is why

brittle sparrow