【LuatOS-ESP32】Download tool——Luatoose installation and use
[Copy link]
【LuatOS-ESP32】Development environment construction - Domestic chip exchange - Electronic Engineering World - Forum (eeworld.com.cn)
【LuatOS-ESP32】Create a new hello world project - Domestic chip exchange - Electronic Engineering World - Forum (eeworld.com.cn)
After building the project above, the next step is to download the program to the esp32C32 development board.
1. Download luatools, download link: https://luatos.com/luatools/download/last
When downloading, choose to keep it and then put it in a new LuatOs folder:
2. Double-click to run, and the following interface will pop up. If it is the first time to run, it will prompt that there is an update. Click Start, and then the relevant firmware will be downloaded:
3. After downloading, we select other universal serial ports for ESPCE module:
4. Connect the development board and you will find the CH340G serial port. If the CH340G driver is not installed, please install it yourself:
5. Click to open the serial port, start printing, restart the development board, and an error message will be printed:
The default baud rate is 460800:
6. Click Project Management Test, create a project, and enter the project name:
8. Select low-level firmware:
9. Click Add Script or Resource File and find the main.lua file we just created.
10. Then click to download the underlying layer and script (if it is not the first time, or if you change the underlying layer, just click to download the script)
11. Wait for the download to finish:
12. After restarting the module, if you still see garbled characters, you need to configure the serial port:
13. Select basic, select simplified Chinese as the language, and then restart the tool:
[Summary] So far, the configuration of the development environment and download tools is complete. Compared with Keill, ardunio, etc., Lua does not need to be compiled, and can be downloaded and run directly. It also has a rich library, which is much simpler for beginners.
|