-
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
Wifi flashing marlin with this method #55
Comments
You can reflash with an ESP (see esp-link), but not with this repo |
Thanks can you post the link? |
don't have the link, sending zelda, please follow http://lmgtfy.com/?q=esp-link |
Marlin have implemented the function for updating the firmware automatically from the SD card. This is a great looking feature that would open the way to achieve exactly what you are looking for. |
This looks like something i could work with? Do you have instructionns how to set it up as i cant find anthing in config.h or adv.h reference this in 2.0 bugfix |
There are some things to set up first |
With the esp-link bridge you can update directly with no special fw or config, |
OK, I will take your word for it, I thought that the bootloader needed a few mods, but I am glad to hear that it works without.
I think implemeting a bridge is not the solution that you are looking for with the current state of development. There is an fundamental problem when using the serial bridge to upload files to the printer SD card in a Marlin based printer It is SLOOOOOOOWWWWWW , really slow !!!. Luc has had many people ask about this issue, and wrote a very good explanation where the problem lies. |
Yes, but th original question is if it is possible to flash firmware, it is possible with the link, but not implemented, the firm is as much as 256kB so the speed isnt't that terrible, even octoprint does it (and this is kind of a basic port of octoprint for esp). But of course if you want to send a complete gcode file to print you'd better use this repo and write to esp SD, that cost nothing compared to Wifi SD cards, also with wifi sd card you can't command the printer to print the file. |
Ok, I will take your word for it, I thought you needed to modify the bootloader, but I am glad to hear that it works without also with wifi sd card you can't command the printer to print the file. This method is being used in other repositories, works great. |
Are there any instructions anywhere for flashing with these methods? |
I would like to know those!
|
I cant see how to save the marlin build as a bin file? When i goto export binary it saves as .hex files? |
Thanks Jason but it saves as .hex files and not .bin with that method? |
I think hex is fine too? |
|
Hex doesnt work? Ive flashed the marlin changes required to config.h Copied the 2 generated hex “export compiled binary” files to an sd card root Put sd into printer Turned on printer Nothing happens |
You are talking about http://domoticx.com/esp8266-wifi-esp-link-firmware/, right? (It is somewhat off-topic here). This might work:
So, not using the SD card at all. |
Do i need to install a specific boot loader for this? As requested the changes i made were: //#define SD_FIRMWARE_UPDATE Into configuration.h Compiled and flashed to printer |
I did need to on mine, for SD update. I also have only tried to use it with .bin and delete the "//" here |
Something like this might work if we add a transparent serial bridge on port 2323:
But we also need to silence all other communication with the printer if a client connects to that port. |
Updating via the transparent serial bridge did not work for me, and we should probably implement it in a way that is compatible to Octoprint, so that e.g., Cura can be used for updating the firmware... |
sorry not really an issue just a big hope!
Would it be possible to update or reflash my printer with marlin using this method?
this would make things so much easier if i didnt have to keep my old laptop near the printer to make changes and updates to marlin on the 3d printer....
The text was updated successfully, but these errors were encountered: