Printer only connects with 46 input buffer
I know that the most common input buffer is 63 or 127 bytes. But the only way I managed to connect my printer was with 46bytes.
I would like to know first what it may be due to. The printer board is a GT2560 V3. Could I be lacking memory?
On the other hand, if I leave it set to 46bytes, what problems could occur?
Thank you
Comments
What firmware are you running? The board can handle 63 or 127 bytes with no problems. If it can't it is because the firmware is not compiled to do so.
What happens if you increase the value? Did you see some errors or did it not connect at all? Ok it would have connected but guess it disconnected after a short while not getting what was expected. But that size does not have influence on data transmission. It only limits the amount of data send before getting the "ok" from firmware.
I am using Marlin 1.8.0.3. The printer is a clone of the Geeetech A10, and the firmware is customized by the vendor. Maybe they were wrong in the configuration of some parameters, but I can't identify what it can be.
I attach a link with the files configuration.h and configuration_adv.h:
https://we.tl/t-wl0UpKMiCt
When I compile the firmware these are the memory values.
So it is unclear how big the buffer gets selected. Make it
#define RX_BUFFER_SIZE 128
and it should work fine with 127 byte. Your config also can buffer up to 10 lines 96 byte so if firmware is fast enough it should be no problem anyway. But that requires fast update while the rx buffer is handled in interrupt, so that way you are safe.
Thanks again! If it doesn't work I'll post again.
#define RX_BUFFER_SIZE 128
Then I went to pronterface, connect to the printer and M502 M500 (is this ok?)
Now I configure it with a buffer of 127 in repetier server. But the only way to connect is if I activate the option "ping-pong Mode".
Is this ping pong bad? this doesnt use a buffer right?