Problems with Marlin: Unknown command

782 views
Skip to first unread message

Niels Geens

unread,
Aug 3, 2015, 7:39:20 AM8/3/15
to Cyclone PCB Factory
Hi everybody,

My name is Niels. It's my first post here, so if I did anything wrong, let me know. I recently started building a Cyclone and things are going great. I finished printing all essential parts and have almost all other "vitamins". Today I started testing my electronics.

I bought a Sanguinololu 1.3a from ebay and flashed the MarlinForCyclone-Marlin_v1 firmware from the zipfile in Cyclone-PCB-Factory-2.1.zip. I only added "#define MOTHERBOARD 62" above "#ifndef MOTHERBOARD" in the Configuration.h file and flashed the firmware without problem.

I can connect to the board with both Pronterface and bCNC. They both give the same result. Codes M17 and M18 lock and unlock my steppers as expected. But those are the only codes that seem to work. Any other command returns something like: 'echo:Unknown command: "?????????M0 5 5 5 5" '.

When I reset the printer this is my output:

start
echo:Marlin1.0.0
echo: Last Updated: Aug  3 2015 12:49:02 | Author: Carlosgs
Compiled: Aug  3 2015
echo: Free Memory: 12111  PlannerBufferBytes: 1232
echo:Hardcoded Default Settings Loaded
echo:Steps per unit:
echo:  M92 X2560.0000 Y2560.0000 Z4800.0000 E800.0000
echo:Maximum feedrates (mm/s):
echo:  M203 X5.0000 Y5.0000 Z2.5000 E45.0000
echo:Maximum Acceleration (mm/s2):
echo:  M201 X16 Y16 Z16 E3000
echo:Acceleration: S=acceleration, T=retract acceleration
echo:  M204 S20.0000 T3000.0000
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.0000 T0.0000 B20000 X2.5000 Z2.5000 E5.0000
echo:Home offset (mm):
echo:  M206 X0.0000 Y0.0000 Z0.0000
echo:SD init fail

Can you guys help me out? Any suggestions on how to proceed are welcome.

Thanks,

Niels

Carlos García

unread,
Aug 3, 2015, 10:43:17 AM8/3/15
to cyclone-p...@googlegroups.com
Welcome Niels!
I am not sure on what can be causing that problem.
Are you using Linux, Windows or Mac?



--
You received this message because you are subscribed to the Google Groups "Cyclone PCB Factory" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cyclone-pcb-fac...@googlegroups.com.
To post to this group, send email to cyclone-p...@googlegroups.com.
Visit this group at http://groups.google.com/group/cyclone-pcb-factory.
To view this discussion on the web, visit https://groups.google.com/d/msgid/cyclone-pcb-factory/5db01116-ee9f-4bb4-9612-3f7e2e2540a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Niels Geens

unread,
Aug 3, 2015, 10:48:17 AM8/3/15
to cyclone-p...@googlegroups.com
Thanks!
I'm running Fedora Linux. I'm now trying to run vanilla Marlin, but without success. I don't get the errors anymore but nothing seems to work. The gcode gets echoed but the motors do not respond.

Carlos García

unread,
Aug 3, 2015, 10:51:58 AM8/3/15
to cyclone-p...@googlegroups.com
Nice, Fedora rocks \m/
It totally sounds like an issue with the endstops. Can you check whether they are being misread as triggered? (M119)

Niels Geens

unread,
Aug 3, 2015, 10:55:41 AM8/3/15
to cyclone-p...@googlegroups.com
I have not connected any endstops yet. I figured it would read the same as having them open. This is what I get for M119 on vanilla Marlin:

Reporting endstop status
x_min: open
y_min: open
z_min: open



Niels Geens

unread,
Aug 3, 2015, 12:42:46 PM8/3/15
to Cyclone PCB Factory
Hey all,

It took me a while but I fixed my problem. I now use the latest version of Marlin and copied in the DEFAULT_AXIS_STEPS_PER_UNIT part from the configuration file of the cyclone zip file. I also lowered the feedrate and acceleration constants really hard. Once assembled I'll toy with these some more. For now, my motors turn and I know the electronics will work. When I'm done, I'll show you guys some photos. Carlos, thanks for responding and trying to help me out.

Happy printing / milling to you all,

Niels

Carlos García

unread,
Aug 3, 2015, 1:39:21 PM8/3/15
to cyclone-p...@googlegroups.com
Nice, congrats!! happy milling indeed ^^

--
You received this message because you are subscribed to the Google Groups "Cyclone PCB Factory" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cyclone-pcb-fac...@googlegroups.com.
To post to this group, send email to cyclone-p...@googlegroups.com.
Visit this group at http://groups.google.com/group/cyclone-pcb-factory.
Reply all
Reply to author
Forward
0 new messages