2294 views|0 replies

6841

Posts

11

Resources
The OP
 

【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.

image.png (210.53 KB, downloads: 0)

image.png
This post is from Domestic Chip Exchange
 
 

Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list