Open zizheng1 opened 2 months ago
Update the firmware. v3.7.17 addressed a memory issue.
Thank you! I will update the firmware.
In addition to the version problem, there are other problems that can happen when running long gcode files from localfs. Accessing FLASH as data can interfere with interrupts, which can cause problems with realtime step generation. We recommend using SD cards for gcode files.
Wiki Search Terms
"Low Memory" "SD Card" "LocalFS"
Controller Board
MSK TinyBee
Machine Description
Using MSK TinyBee to control four motors. UART is used to connect with an external serial display. I created a serial monitor software for that external display and I can type commands to control the board.
Input Circuits
No response
Configuration file
Startup Messages
User Interface Software
FluidTerm
What happened?
I have a short G-code file stored in spiffs and execute the code by "LocalFS/Run=/2.nc". However, while running, messages like "Low memory: 13242 bytes" showed up randomly and the size was descending. After reaching 0, the board restarted and the original task was somehow aborted.
GCode File
% G21 G17 G21 G94 G90 G54 G92 x0Y0 Z0 A0 G0 G00 a-90 m62 p0 G04 p1 m63 p0 m0 G00 a0 G00 z-31 G00 y-198 m62 p4 g04 p1 G01 z0 f1000 G0 y -107 x-96 g1 z-53 m63 p4 g04 p1 G0 y0 x0 A-150 m62 p1 G04 p1 m63 p1 m0 G00 A0 z -60 y-171.85 m62 p4 g04 p1 z 0 y -218.85 z -15 m63 p4 g04 p1 y-198 z-60 m62 p4 g04 p1 z-50 y0 x-280 y-28 z-60 m63 p4 g04 p1 y0 x0 m62 p2 g04 p1 m63 p2 m0 z-60 x-280 y-28 m62 p4 g04 p1 z-50 y0 x-150 z-36 y-108 z-46 m63 p4 g04 p1 y0 x0 a-120 m62 p3 g04 p1 m63 p3 m0 a-150 m62 p3 g04 p1 m63 p3 m0 a0 x-150 y-108 m62 p4 g04 p1 z-36 y0 x0 y-198 z-60 m63 p4 g04 p1 z-53 y0 x-96 y-107 m62 p4 z0 x0 y-151 z-70 m63 p4 y0 G00 a-150 m62 p0 G04 p1 m63 p0 m0 G00 a-60 G00 z-31 G00 y-198 m62 p4 g04 p1 G01 z0 f1000 G0 y -107 x-96 g1 z-53 m63 p4 g04 p1 G0 y0 x0 A-210 m62 p1 G04 p1 m63 p1 m0 G00 A-60 z -60 y-171.85 m62 p4 g04 p1 z 0 y -218.85 z -15 m63 p4 g04 p1 y-198 z-60 m62 p4 g04 p1 z-50 y0 x-280 y-28 z-60 m63 p4 g04 p1 y0 x0 m62 p2 g04 p1 m63 p2 m0 z-60 x-280 y-28 m62 p4 g04 p1 z-50 y0 x-150 z-36 y-108 z-46 m63 p4 g04 p1 y0 x0 a-180 m62 p3 g04 p1 m63 p3 m0 a-210 m62 p3 g04 p1 m63 p3 m0 a-60 x-150 y-108 m62 p4 g04 p1 z-36 y0 x0 y-198 z-60 m63 p4 g04 p1 z-53 y0 x-96 y-107 m62 p4 z0 x0 y-151 z-70 m63 p4 y0 G28 M30 %
Other Information
If I use a shorter G-code, I do not have such issue.