-
Notifications
You must be signed in to change notification settings - Fork 65
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
Transparent serial bridge #132
Comments
#128 is insufficient because it does not stop all other activity while a client is connected. |
Tried to implement this but getting
It seems that it understands that a connection is made and stops all other activity, but it does not seem to respond to the telnet client on port 2323 with what is coming from the printer's serial. |
I managed to get the transparent serial bridge to work up to the point that I can
and interactively issue commands and get back responses. I was hoping that this would be sufficient for using
Preliminary PR: #128 Any help appreciated. Do we need to reset the printer mainboard using its RESET pin? (It is broken out on the ICSP header) |
Maybe we need to use HTTP-based flashing instead as described on https://github.com/jeelabs/esp-link/blob/master/UC-FLASHING.md? https://github.com/jeelabs/esp-link/blob/master/esp-link/cgioptiboot.c |
For mega2560 answer is yes, this is why Soc is reset when you activate usb connection. |
OK, so I manually reset the printer by grounding the reset pin on the ICSP header in the moment when uploading starts. I get a little further, but only to run into more errors. So I think the timing of the transparent serial bridge may not be sufficient for flashing?
|
That's a little bit weird...received 14 and expected 14.. |
Maybe received it too early or to late? |
This is a wrong answer. It should respond 14, value, 10 |
In any case, it's safe to say that my naive approach to it is not working. We'd probably need some magic along the lines of
but that is way over my head. |
it seems like you get a 14 10 from previous query. because afer it you really get 14 3 10..Check if avrdude may increase timeout before resend command Edit: I read more in above link and it says what I wrote above...not read all but that is what happens |
I don't think it can do it? |
Have you tried using this wifi bridge to control the 3d printer using something like repetier host? |
Yes, I had sent some codes and they worked. |
Thanks, so ESPLink seems to be able to do it. Does someone have the time to port it over? |
Cool. How to best integrate into this firmware? |
Hi. I'm using plain ESPLink in my 3D printer together with |
Add a transparent serial bridge on port 2323 that would allow to interact with the printer as if it was connected to a serial port locally.
While a client is connected there, all other activity needs to be stopped, so that it does not interfere with the transparent serial bridge.
This should allow us to:
avrdude
Wifi flashing marlin with this method #55 (comment)The text was updated successfully, but these errors were encountered: