Sample: Node.js application that performs some of the esptool serial protocols
Posted: Tue Apr 10, 2018 3:29 am
For a project I am working on, I needed to be able to flash an ESP32 (and more) in the same fashion as can be achieved by esptool. Thankfully, the protocol used by esptool is pretty well documented in the esptool WiKi and with some guidance from the experts, we now have a working sample that performs flashing from a Node.js app. Next steps will include making this a module (for node.js) and creating C/C++ ports. The hard part was working out the protocols. Once done, the easier part is to port to other languages.
An early driver of the code can be found here:
https://github.com/nkolban/esp32-snippe ... ptool_libs
An early driver of the code can be found here:
https://github.com/nkolban/esp32-snippe ... ptool_libs