Line: 1 to 1 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The IoT Node and its Processor | |||||||||||
Line: 45 to 45 | |||||||||||
Changed: | |||||||||||
< < | I had to take the programmer out of the USB socket to reset the ESP01 after erase. | ||||||||||
> > | I had to take the programmer out in order to reset the ESP01 after each command I sent with esptool. This was true for erasing but also when getting the chip id with esptool chip_id or reading the MAC address with esptool read_mac. | ||||||||||
Changed: | |||||||||||
< < | Once the flash re-programmed I can now happily use the newly installed Python interpreter: | ||||||||||
> > | When flashing micro Python first insert the jumper at the back of programmer and insert the programmer into the PC'S USB slot with the ESP01 connected. Erase the flash as seen in the screen dump above. Take the programmer out of the USB socket, wait a few seconds and then pug it in again. Flash the micro Python code as shown above. Take the programmer out again and remove the jumper. Plug the programmer wit the ESP01 as piggy back in again. Start minicom or another serial terminal emulator and press return. You should the the Python prompt and you can now happily use the newly installed Python interpreter: | ||||||||||
Added: | |||||||||||
> > | To make things even simpler I wrote a Python script that automates the procedure.
https://iotworkshop.africa/pub/AFNOG/TheNopIoTNode/flashMicroPython
This should work for any of the ESP8266 or EPS32 boards (except the ESP01)
| ||||||||||
Accessing micro Python on the IoT node -- Uli Raich - 2019-02-12 | |||||||||||
Line: 67 to 78 | |||||||||||
| |||||||||||
Added: | |||||||||||
> > |
|