*CNC.js* - echo:SD init fail

Just trying to rule out a possible red herring. There are 18 posts where people have included output from the Marlin controller (RAMPs and RAMBo) and no one has mentioned the message “echo:SD init fail” as a problem. Plus the V1Engineering RAMBo, as far as I can tell, does not even have an SD card. Can I ignore this message?

As an aside, I have been making progress with the MPCNC. I got the X, Y, and Z axis(s) working. I drew a simple image with the pen attachment. Then I remixed the over-engineered pen holder and the MPCNC Tool Blank to mount the new pen holder and drew the outline of one of the MP3DP. Finally, I mounted the Dewalt router and started to level the spoil board. Everything was working great, but I was having to hold the wires as it went back and forth. Plus it was generating a lot of sawdust in my office. So I stopped, removed the router and electronics, and carried it into the garage workshop. I ran 15x30 drag chain for all the axis(s) and organized all the cables. It looks awesome. I reconnected the Raspberry Pi and RAMBo. My motors are connected as shown in Ryan’s diagram. cncjs connected to the RAMBo. Spews out the normal bunch of gcode. But after the “echo:SD init fail” message, the RAMBo does not respond to gcode entered into the console widget. So I am asking. As soon as I get this back up and running I will post pictures. Thank you.

Fred

So you have confirmed everything works as it should, you are having issues using cnc.js? How are you running it, as in did you make your own image or are you using Jeffb3’s?

Have you seen the posts about giving it a basic command first to establish communication. I thought it was sorted out but if it is not I will add it to the instructions.

Try issuing, G0 X100 F2000, first.

https://www.v1engineering.com/forum/topic/mpcnc-and-cnc-js/

That message shows up if the firmware has a custom boot screen defined, but it can’t find it. If everything else is working, don’t worry about it, it’s just a boot message.

1 Like

The initial output when connecting to the RAMBo is below, but when I try to enter any command even the recommended G0 in the console, the cursor just goes to the beginning of the line. If I just type <Enter>, it keeps appending the greater than sign, ie: “>>>>”. Just to be clear, when I had it all set up in my office before, the console worked great. While I was very careful putting the wires into the drag chain (I removed all the tops, laid in the wire, and snapped them down), is it possible a wiring problem could cause this behavior? I have not changed any connectors or wiring - just plugged them back in. I am going to try the original RAMPs board and report back. I was also careful about static electricity, but maybe the board got fried somehow.

CNCjs 1.9.15 [Marlin]
Connected to /dev/ttyACM0 with a baud rate of 250000
start
echo:Marlin 1.1.0-1
echo: Last Updated: 2017-05-04 12:00 | Author: (none, default config)
Compiled: Feb 26 2018
echo: Free Memory: 3418  PlannerBufferBytes: 1296
echo:EEPROM version mismatch (EEPROM=? Marlin=V37)
echo:Hardcoded Default Settings Loaded
echo:  G21 ; Units in mm
echo:  M149 C ; Units in Celsius
echo:Filament settings: Disabled
echo:  M200 D3.00
echo:  M200 D0
echo:Steps per unit:
echo:  M92 X100.00 Y100.00 Z400.00 E100.00
echo:Maximum feedrates (units/s):
echo:  M203 X190.00 Y190.00 Z30.00 E25.00
echo:Maximum Acceleration (units/s2):
echo:  M201 X500 Y500 Z35 E10000
echo:Acceleration (units/s2): P<print_accel> R<retract_accel> T<travel_accel>
echo:  M204 P400.00 R3000.00 T400.00
echo:Advanced: S<min_feedrate> T<min_travel_feedrate> B<min_segment_time_ms> X<max_xy_jerk> Z<max_z_jerk> E<max_e_jerk>
echo:  M205 S0.00 T0.00 B20000 X4.00 Y4.00 Z0.20 E5.00
echo:Home offset:
echo:  M206 X0.00 Y0.00 Z0.00
echo:Material heatup parameters:
echo:  M145 S0 H196 B62 F0
  M145 S1 H240 B110 F0
echo:PID settings:
echo:  M301 P17.98 I0.98 D83.62
echo:SD init fail
>

Is this your own install of CNC.js or Jeffeb3’s?

As for the board, please test it with repetier host or an LCD. No sense in trying to diagnose a bunch of issues at once.

So I think Ryan is right. There is something funky going on with the Raspberry Pi and cncjs, despite it working before I moved it. The RAMPs controller connected fine, but once the initial output appeared in the console, typing commands did the exact same thing as the RAMBo (see below). Ah well, as a Unix/Linux guy and software developer, I am used to this <sigh>. Thank you very much for the suggestions. I don’t give up, and will post the answer when I figure it out.

Fred

CNCjs 1.9.15 [Marlin]
Connected to /dev/ttyACM0 with a baud rate of 250000
feeder> M115
3#start
echo:Marlin 1.1.0-RC7
echo: Last Updated: 2016-07-31 12:00 | Author: (none, default config)
Compiled: Nov 21 2016
echo: Free Memory: 3305  PlannerBufferBytes: 1232
echo:Hardcoded Default Settings Loaded
echo:Steps per unit:
echo:  M92 X200.00 Y200.00 Z4535.44 E200.00
echo:Maximum feedrates (mm/s):
echo:  M203 X190.00 Y190.00 Z8.50 E25.00
echo:Maximum Acceleration (mm/s2):
echo:  M201 X500 Y500 Z35 E10000
echo:Accelerations: P=printing, R=retract and T=travel
echo:  M204 P400.00 R3000.00 T500.00
echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s),  Z=maximum Z jerk (mm/s),  E=maximum E jerk (mm/s)
echo:  M205 S0.00 T0.00 B20000 X4.00 Z0.40 E5.00
echo:Home offset (mm)
echo:  M206 X0.00 Y0.00 Z0.00
echo:Material heatup parameters:
echo:  M145 S0 H190 B50 F0
echo:  M145 S1 H240 B110 F0
echo:PID settings:
echo:  M301 P17.98 I0.98 D83.62
echo:Filament settings: Disabled
echo:  M200 D3.00
echo:  M200 D0
>

Hi Ryan,

Thank you. I will try the repetier host. That is what isolated the problem last time. And I do have your LCD panel, which is in the case you designed and I printed :).

BTW, it is the standard cncjs distribution. I am not familiar with Jeffeb3’s version or how it is different.

Yo, and I wore your t-shirts all around MakerFaire this year, both days, and didn’t see you :(.

Fred

That will eliminate a lot of variables. Nice and easy.

 

Nice!

 

Sounds like you have a good handle on things but this one is so easy even I can do it. https://www.v1engineering.com/dip-a-toe-in-the-pool-v1pi/

 

I was there both as well, I would have freaked out if I saw one of my shirts there. I was carrying a metric ton of stickers just in case…Thanks for representing the crew!!!

It is working! Recap: I tried Jeffeb3’s cncjs - same behavior. Swapped out the USB cable - same behavior. Updated the Raspbian - same problem. Interestingly apt-get could not update Chrome because a bad public key. Strange. Tried Firefox - It worked!!

The router is mounted and it is running my spoil board gcode. It might be a millimeter too deep, but I am planning on replacing the base with a new and improved version 2 in the next several months. This has been quite the learning experience. I am uploading a video to YouTube, but it is taking FOREVER. So here is a picture in the meantime.

[attachment file=60940]

Thank you everyone for their help and suggestions.

Fred

1 Like

Sweet!

Here is the video. I tried to keep it short.

1 Like