You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The maximum data payload for a data frame is 248 bytes (according to the T5L_TA instruction set): . From the TJC module, the data sent to the display is :
This means that the string sent to the draw_string method should have a max length n of 248 - 12 = 238 bytes a.k.a a 238 char string would be the limit.
The crash, however, happens with the string "CE3V3SE_customizable-box-psu-power-adapter-holder_20240505-36-1c54hxf.gcode", which is 75 byte long. What can be wrong here?
The T5L_TA Instruction set is not specifically for the TJC display on the E3V3SE. The payload can (and probably is) very smaller. If I truncate the string to the first 30 chars, it works normally. Where is the limit?
Solution: Check the maximum byte number that can be sent when writing text and truncate the string to it.
As anything bigger than 40 char cant be displayed in the screen size anyways, I will truncate the string to 40 bytes and call it a day.
Wide names causes a crash on the file selection menu
only recoverable after a firmware restart:
The text was updated successfully, but these errors were encountered: