|
Post by molebrain on Jun 20, 2017 14:17:40 GMT
So, I want to update the firmware of an ESP device that was made for me. How can I do this? Not sure about hooking up jumpers and stuff. any ideas?
|
|
|
Post by Pyrofer on Jun 20, 2017 14:58:06 GMT
depends on how it's wired. You need to hook up the rx/tx to the PC and hold a pin low on powerup. There might be a button on the board to put it in bootloader mode?
|
|
|
Post by molebrain on Jun 20, 2017 15:15:56 GMT
i have no idea what you just said. HEHE. I'll open the case when i get home., but i dont recall seeing a button any where. Is the rs/tx on one pin? or is it 2 separate. I also dont know what you mean by hold a pin low on powerup. thanks man!
|
|
|
Post by Pyrofer on Jun 20, 2017 16:47:19 GMT
Ahh, Sounds like you need a little more help than can be provided here. Is it a wifi modem?
Some of those had over the air updates. post a photo so we know what you are dealing with.
|
|
|
Post by molebrain on Jun 21, 2017 2:00:32 GMT
Ok, so here is a photo of the board
|
|
|
Post by Pyrofer on Jun 21, 2017 11:27:58 GMT
Nice. that looks easy then.
So you need go get the Ardiuno IDE and the code you want to flash. Verify it compiles.
Use a USB TTL serial cable ( common on ebay ).
With the device NOT plugged into the 64 connect the serial cable. Hook up the rx/tx/vcc/gnd on the female header to their corresponding pins on the USB Serial board.
short the 2 pins that say "Program" and then press the reset button.
On the Arduino IDE you need to pick the right board, there should be some Generic ESP8266 option. Pick the Serial port for the USB Serial cable, hit upload. wait.
you don't need to keep the program pins shorted the while time, just for a second or so after reset/powerup. Make sure they are not shorted for normal operation.
|
|
|
Post by molebrain on Jun 21, 2017 13:40:28 GMT
oh man, sounds simple enough! I have a USB TTL someplace in my office. I'll post my progress
|
|
|
Post by molebrain on Jun 28, 2017 19:46:15 GMT
ok...so I'm totally dumb with this. I have my USB/Serial deal...and downloaded the Ardrino IDE, but I can't see how to connect it. I don't see any generic USB driver showing. Also, zimmers stuff (https://github.com/bozimmerman/Zimodem) that you used with your latest project...I have no idea what I'm supposed to do with it I guess I have to do more research.
|
|
|
Post by Pyrofer on Jun 28, 2017 22:42:14 GMT
Just download the zimmerman software and open it with the arduino IDE no need to install any drivers! The USB serial port should appear as a (guess what?) new serial port, you can select that in the IDE under, surprisingly "port" For "board" you want something like generic ESP8266
Then click the arrow near the top left (hover over it and it will say upload firmware or something)
|
|
|
Post by molebrain on Jun 29, 2017 16:05:17 GMT
oh cool. I've tried that out and tried to use the official board update, but got build errors...but then realized that Zimmers mentioned to not use the official board update and just use git. Gonna try that next.
|
|