@goeland86
Final Report: Custom G-code Profile Issue with FluidNC Board
Hello all listening,
After three weeks of rigorous testing, this is my final report regarding the persistent failure to create a functioning custom G-code profile for use with a FluidNC board.
Current Status
The issue remains unresolved. Profile creation is still not working—see caveat below.
Technical Findings
DTR is not used as a flow control mechanism on FluidNC or MKSbase DLC32 boards.
The following facts support this position:
• The CTS flow control pin of the serial port is not connected to the ESP32, rendering hardware flow control via CTS non-functional.
• Reference: see this section of Wikipedia
RTS, CTS, and RTR
“Further information: Flow control (data) § Hardware flow control
RS-232 - Wikipedia”
• The DTR and RTS pins are used to place the ESP32 into programming mode.
Reference schematic: https://oshwlab.com/bdring/6-pack-2-0_copy_copy_copy
(Click “open design drawing”)
Flow Control Behavior in LB and FluidNC
• LB sends a line terminated with carriage return.
• FluidNC replies with “OK”. LB must not send additional data until “OK” is received. This behavior aligns with the GRBL standard.
• Reference: Grbl Compatibility | Wiki.js
There is no valid justification for offering DTR as a flow control option. LB is incapable of flashing ESP32 firmware. When GRBL is configured as the protocol, flow control is inherently embedded.
Root Cause Analysis
The assumption I am led to is that the custom profile mishandles the DTR and RTS pins. These pins are connected to the processor’s reset and enable lines. Any glitch or incorrect state triggers a reset or places the ESP32 into programming mode. My tests confirm this: powering up the board sends initialization to LB, but any characters sent to FluidNC are ignored because the board is either in reset or bootloader mode.
Caveat
I have physically disconnected the DTR and RTS signals from the CP2021 serial bridge chip. With this hardware modification, one of my custom G-code profiles now functions correctly.
Conclusion
I have lost too much time to this issue and will now shift focus to other parts of my project. I remain hopeful for a workable solution in the future.
Tf