Welcome! Log In Create A New Profile

Advanced

M20 Unknown command

Posted by aacorvalan 
M20 Unknown command
May 18, 2022 02:44PM
Hello, I need to know if it is a bug or a configuration error. I have an Artillery Genius pro printer and when I enter the M20 command from the TFT it tells me "unknown command", however at the time of listing the SD files I can see and print them. SD is formatted as FAT32 and is 4Gb. I attach some data. Thank you

1- Update to bugfix-2.0.x by modifying #define SDSUPPORT and #define SDCARD_CONNECTION ONBOARD
2- Update TFT firmware

M115
SENDING:M115
FIRMWARE_NAME:Marlin bugfix-2.0.x (May 17 2022 19:53:09) SOURCE_CODE_URL:github.com/MarlinFirmware/Marlin PROTOCOL_VERSION:1.0 MACHINE_TYPE:Genius Pro EXTRUDER_COUNT:1 UUID:cede2a2f-41a2-4748-9b12-c55c62f367ff
Capconfused smileyERIAL_XON_XOFF:0
Cap:BINARY_FILE_TRANSFER:0
Cap:EEPROM:1
Cap:VOLUMETRIC:1
Cap:AUTOREPORT_POS:0
Cap:AUTOREPORT_TEMP:1
Captongue sticking out smileyROGRESS:0
Captongue sticking out smileyRINT_JOB:1
Cap:AUTOLEVEL:1
Cap:RUNOUT:0
Cap:Z_PROBE:1
Cap:LEVELING_DATA:1
Cap:BUILD_PERCENT:0
Capconfused smileyOFTWARE_POWER:0
Cap:TOGGLE_LIGHTS:0
Cap:CASE_LIGHT_BRIGHTNESS:0
Cap:EMERGENCY_PARSER:1
Cap:HOST_ACTION_COMMANDS:0
Captongue sticking out smileyROMPT_SUPPORT:0
Capconfused smileyDCARD:0
Cap:REPEAT:0
Capconfused smileyD_WRITE:0
Cap:AUTOREPORT_SD_STATUS:0
Cap:LONG_FILENAME:0
Cap:LFN_WRITE:0
Cap:CUSTOM_FIRMWARE_UPLOAD:0
Cap:EXTENDED_M20:0
Cap:THERMAL_PROTECTION:1
Cap:MOTION_MODES:0
Cap:ARCS:1
Cap:BABYSTEPPING:1
Cap:CHAMBER_TEMPERATURE:0
Cap:COOLER_TEMPERATURE:0
Cap:MEATPACK:0
Cap:CONFIG_EXPORT:0
Attachments:
open | download - 20220518_134008.jpg (171.8 KB)
open | download - 20220518_141059.jpg (188.6 KB)
open | download - 20220518_141144.jpg (203.1 KB)
open | download - Configuration.h (114.2 KB)
open | download - Configuration_adv.h (178.7 KB)
open | download - config.ini (33.9 KB)
rq3
Re: M20 Unknown command
May 18, 2022 06:04PM
You may want to report as a bug on the Marlin GitHub.

Edited 1 time(s). Last edit at 05/18/2022 06:08PM by rq3.
Re: M20 Unknown command
May 18, 2022 06:21PM
Send the data there too...

...and they closed it with no solution

Edited 1 time(s). Last edit at 05/18/2022 06:23PM by aacorvalan.
Re: M20 Unknown command
May 18, 2022 08:43PM
M20 is for sdcards connected to the motherboard.

Your sd card is connected to the display (which is really a small computer) and does not uses M20 as the sdcard is not connected to the motherboard

Your M115 also clearly shows that sdcard:0 ie it is disabled.
Which is expected as you have not added hardware with a sd card as far as the controller is concerned.

Edited 2 time(s). Last edit at 05/18/2022 08:48PM by Dust.
Re: M20 Unknown command
May 18, 2022 08:53PM
I thought to load GCODE by ESP3D in the TFT SD, I would have to add an SD reader to the nodemcu module
Re: M20 Unknown command
May 18, 2022 08:57PM
No other devices can assess the sd card on the tft. only the tft firmware can access the sdcard on the tft
Re: M20 Unknown command
May 18, 2022 09:03PM
So it's not a Marlin problem. I can connect an SD reader to the printer's motherboard or a Wifi Nodemcu with ESP3d and its SD reader. Thank you
Sorry, only registered users may post in this forum.

Click here to login