MicroPython ESP32 building and loading firmware with Tony D! @micropython
Live stream to / adafruit showing how to build and load the latest in-development MicroPython firmware for the ESP32 processor. Learn how to build, load, and try out the latest ESP32 MicroPython firmware!
Links mentioned in the video:
- Hackaday ESP32 hackchat: hackaday.io/ev...
- ESP32 dev board: www.adafruit.c...
- ESP32 Arduino: github.com/esp...
- ESP32 MicroPython: github.com/mic...
- ESP8266 (and now ESP32) firmware building guide & vagrant VM: learn.adafruit...
- SiLabs USB to UART driver download: www.silabs.com/...
Acknowledgements:
- Music: bartlebeats
- Intro shuttle footage: NASA
- Intro fonts: Typodermic
- Intro inspiration: Mr. Wizards's World
- Matrix background: cool-retro-term & cmatrix
-----------------------------------------
Visit the Adafruit shop online - www.adafruit.com
Subscribe to Adafruit on KZread: adafru.it/subsc...
Join our weekly Show & Tell on G+ Hangouts On Air: adafru.it/showtell
Watch our latest project videos: adafru.it/latest
New tutorials on the Adafruit Learning System: learn.adafruit....
Music by bartlebeats: / bartlebeats
-----------------------------------------
Пікірлер: 24
Thank you, Tony. My Ai-Thinker NodeMCU-32S worked fine, and I got "MicroPython v1.8.6-567-g975df68 on 2017-02-04; ESP32 module with ESP32." The first problem I encountered was when trying to erase flash. Holding the boot button, tapping EN (reset), then releasing boot, got an error. What I had to do was hold down the boot button until the command started to work, then just release it. No tapping EN (reset) at all. I hate those small buttons so close to the usb connector. They are so difficult to use. I used the same procedure for the next step. I did it on Windows 7, so the Virtual Box screens were different than on your Mac, but easy enough to figure out. The seller had plenty of negative feedback, which only started after I ordered (and waited weeks for him to even ship -- almost nobody else got their board at all). Now I notice that whatever component is between the EN button and red LED looks totally fried. Maybe some day I'll look at a schematic to see what it is/was. It arrived with some demo programs, which worked, but no repl. All I got was some nonsense phrase that repeated forever. I went to Espressif and downloaded their Devkit IDE, loaded their DevKit software, and got a repl. Their documents also showed how the three binary files were to be loaded, plus gave the other parameters like DIO and 8MB flash. espressif.com/en/products/hardware/esp32-devkitc/resources ("Getting Started"). Thanks again.
Great info. MycroPython Rocks. Keep up the great information. It is much appreciated.
Interesting and helpful. Any chance of an updated version of this? Thanks.
Thank you. Wish I found this about a week earlier. Could not get a REPL working. It was exactly the qio vs dio problem (I needed to use dio as you suggested).
just wanted to say your videos are awsome!!
With any version of Linux, the reason you need to use sudo with apt-get install is to elevate yourself to super user. sudo = super user do. Unlike Windows when your login under a user account that setup as Administrator, your the Administrator every minute your login under that profile. I don't know about Mac. I'm running Ubuntu 16.04 and have tweek some of the commands you use.
For anyone following this video, sometimes you do have to push the ESP-IDF back to the hash supported. I compile both ESP8266 and ESP32 and it runs into issues. It's described in more detail here: github.com/micropython/micropython-esp32/issues/30 But essentially, grep for ESPIDF_SUPHASH in esp32/Makefile. Then: cd /home/vagrant/esp-idf; git checkout ; git submodule update --recursive Then you can start over with a make clean followed by make. It worked for me on Sept 1, 2017.
Thanks for this very helpful video; it worked for me.
Tony love your videos...I have a esp-wroom-32 board and when I want to flash (deploy) firmware I don't need to hit the reset/boot button combinations. Done this multiple times now. FYI.
Neat. And I love the intro!
It appears that the latest version of esp-idf doesn't work. If you are having problems, try checking out the correct hash as mentioned in the video. It took me a long time to work out that was the problem :(
Many thanks for the video, Do you happen to know how to install ESP NOW using MidroPython? Thanks in advance for your help Daniel
can we do it on any esp32 modules ? e.g. bare esp32 boards ? is there any limitation for Flash required to run micropython
Thank you :)
I get this when I perform a make as the vagrant user. /home/vagrant/esp-idf/components/bootloader/src/main/bootloader_start.c: In function 'bootloader_main': /home/vagrant/esp-idf/components/bootloader/src/main/bootloader_start.c:243:25: error: 'CONFIG_ESP32_XTAL_FREQ' undeclared (first use in this function) clk_cfg.xtal_freq = CONFIG_ESP32_XTAL_FREQ;
Great tutorial. Keep up the good work. I would ask you that How to use Adafruit MQTT library for ESp8266 in micropython??
can someone tell me how many firmwares are there for esp32 and whats the official firmware? im so confused
Thank you, Tony. Unfortunately, despite following your clear instructions, I run into a 'make' error: "soc/soc.h" does not exists in file "/home/vagrant/esp-idf/components/esp32/include/rom/ets_sys.h:21:21". I've read some forums and found soc.h does exist in another esp-idf folder. However, I've no idea what to do. Could you give me a clue how to proceed? Thanks in advance. Peter PS. I'm using an ESP32 dev.board (DoIt) with an ESP-WROOM-32. Used FLASH_MODE dio and FLASH_SIZE 4MB, but that does not seem to make any difference in the compiling with make.
@flashypepo
7 жыл бұрын
Update: for what-ever reasons, the ‘make' command runs without errors now. I restarted from scratch, erasing all previous stuff again. Not sure why it runs succesfully, but "problem solved".
How to Download File Using GET HTTP Request and store in SD Card using NODE MCU. (Here NODE MCU is not Server.) File which i want to download is on cloud server. NodeMCU -----------> send request for download ----------> File Server --------> send response back -------> save in NODEMCU
Wow, looks like my interest in IOTs has landed me in a pit of angry snakes. Trying to clarify what videos work with what devices more specifically NodeMCU which I have seen it also referred to as the ESP8266. Can MicroPyhon be loaded on the NodeMCU/ESP8266?
@WatchCat369
7 жыл бұрын
github.com/micropython/micropython/tree/master/esp8266