-
-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Strange translation going on with M117=>M147 #388
Comments
Thank your for submiting, please be sure you followed template or your issue may be dismissed. |
do you have same problem ?
|
same issue through esp3d webinterface command input and telnet connection to data port. When I send M117 to serial of mainboard (SKR 1.3), it works just fine. |
ok, telnet neither webcommand do text modification, so problem should be between esp and board How is your esp board wired to your SKR board ? |
I updated my OP with how everything is connected. I use 250000 baud, but also tried 115200, no change. |
you use aux1 so what esp board do you used ? |
That's right. I use an ESP01, connected to ESP port of TFT35. TFT35 is connected to SKR via TFT port, which is the same as AUX1. I cloned your repo, compiled and flashed. Versions obtained from web interface: |
excellent! I just received same screen and esp board yesterday to check some issue I saw on forums 2 - as you were able to flash - it means you have serial to USB adapter that you use to flash the esp, please do me a favor and connect your ESP to this serial adapter and open your serial terminal and send the |
Ah yes we are getting somewhere :) When I try your test, I do see correct output on serial: TFT firmware issue? Also discussing this here: bigtreetech/BIGTREETECH-TouchScreenFirmware#153 |
yes definitly :) but I cannot work on this right now sorry - but it is in my plan for next week as several people complained, but even it is not ESP3D issue I need to dig in - that is why I bought the screen |
Great, no rush! I'll keep an eye on this topic. |
can you share your TFT FW version ?
|
Mine is latest code built from source. In info screen it identifies itself as:
I'm going to try that precompiled binary and see if it behaves differently |
Great, thank you ! Now I know the latest TFT git bring more trouble than I found already ^_^ |
Interesting....
|
yes definitly in FW TFT - need to check which commit generate such behavior |
Tried fork from https://github.com/guruathwal/BIGTREETECH-TouchScreenFirmware . This one seems to work ok upon first look. Will need to test more. |
I think I found the bug reading the code the change the break position from
to
should solve the problem |
I think issue can be closed 😸 |
@luc-github really curious to know how you experience communication through the TFT's ESP port. For me it seems very unstable. For example I only get output from that port after I send something to it, then it stops again. This is very apparent by looking at temperature readings. Setting ESP3d to check position every 1 second helps a bit, but I don't think this is the solution? |
well I did not test yet so much - it is in my todo list but with the version I have, the communication is only one way (ESP -> TFT ->Printer) for what I can see - I do not get any command return even temperatures. I have tested with a Mega/ramps marlin 2.0 system and tft + esp = reset printer board at start, when no esp is ok, So I suspect this TFT is tailored for Bigtreetech board like skr 1.3 but I do not have any cash to buying one for the moment, so I plan to power externaly the TFT to see if power is the root cause and be able to continue debug. That said it is not in my top priority list as the issue is not in my FW but in TFT one - I have other topic more urgent to do before going to this, sorry. |
If you have the motor drivers needed for SKR1.3, like for example tmc2130, I can donate a board to you, no strings attached. It's only around $16 this weekend. |
Well if you do not have usage of it, this could be useful - yes I should have some tmc2130. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Describe the bug
Whenever I send a M117 command through ESP3D, it seems to translate this to another command, M147.
To Reproduce
Steps to reproduce the behavior:
Send: M117 testing123
[...]
Recv: echo:Unknown command: "M147 testing123"
Recv: ok
Recv: echo:Unknown command: "S0"
Recv: ok
Expected behavior
'OK' and text on LCD
ESP3D Firmware:
All compiled from latest code
Target Firmware:
Board used (please complete the following information):
Additional context
Add any other context about the problem here.
Wiring, decoded stack, etc...
Edit: just saw same behavior with esp-link firmware, so might not be ESP3d issue at all... I'll investigate further
Edit2: My setup:
SKR1.3 with TFT35 connected through AUX1/TFT port
ESP01 flashed with ESP3d or esp-link connected to ESP port on TFT35
Marlin configured with dual serial port:
1 = #define SERIAL_PORT -1 (used by Octoprint)
2 = #define SERIAL_PORT_2 0 (used by TFT)
The text was updated successfully, but these errors were encountered: