Open spacex-3 opened 8 months ago
是的
大佬,我看你另外一个地方回复我说air780需要刷入at固件噢。
另外我用luatools的项目管理,刷at固件的时候,底层core选择:luatools\resource\618_lua_lod\core_V1109\LuatOS-SoC_V1109_EC618.soc
但是脚本并没有自动弹出,在这个1109文件夹下面也没有找到相关demo之类的脚本,求助
air返回日志不断重启:
[2024-03-09 20:40:08.926] 工具提示: diag com USB 断开连接 COM5 CommError,[WinError 22] 设备不识别此命令。
[2024-03-09 20:40:09.490] 工具提示: soc log port COM6打开成功
[2024-03-09 20:40:09.546] 工具提示: ap log port COM5打开成功
[2024-03-09 20:40:09.568] 工具提示: 用户虚拟串口 COM4
[2024-03-09 20:40:09.634][000000000.016] Uart_BaseInitEx 1042:uart 0 rx cache 256 dma 256
[2024-03-09 20:40:09.638][000000000.226] I/pm poweron: Power/Reset
[2024-03-09 20:40:09.643][000000000.226] I/main LuatOS@EC618 base 23.11 bsp V1109 32bit
[2024-03-09 20:40:09.649][000000000.227] I/main ROM Build: Mar 6 2024 13:24:23
[2024-03-09 20:40:09.655][000000000.234] D/main loadlibs luavm 262136 13720 13752
[2024-03-09 20:40:09.663][000000000.234] D/main loadlibs sys 282752 53956 86144
[2024-03-09 20:40:09.668][000000000.362] Uart_BaseInitEx 1042:uart 1 rx cache 2048 dma 512
[2024-03-09 20:40:09.672][000000000.425] I/main.lua:22 bsp EC618
[2024-03-09 20:40:09.676][000000000.425] I/main.lua:23 mem_sys 282752 58376 86144
[2024-03-09 20:40:09.681][000000000.426] I/main.lua:24 mem_lua 262136 70920 71304
[2024-03-09 20:40:09.685][000000000.428] I/main.lua:35 main - 初始化网络 正在连接无线网络9AA
[2024-03-09 20:40:09.689][000000000.428] luat_wlan_init 44:only wifi-scan supported
[2024-03-09 20:40:09.693][000000000.431] E//lua/sys.lua:-1 coroutine.resume main.lua:37: attempt to call a nil value (field 'setMode')
stack traceback:
main.lua:37: in function
看了其他issue, at固件应该是在luatools\resource\618_at_lod\core_V1161\AirM2M_780E_V1161_LTE_AT.binpkg 而不是luatools\resource\618_lua_lod
重新刷入这个at固件,并且esp config改为debug
依旧返回:发送AT指令"AT"
[2024-03-09 21:22:14.624] E (524) task_wdt: esp_task_wdt_init(594): TWDT already initialized [2024-03-09 21:22:14.624] I/main.lua:22 bsp ESP32C3 [2024-03-09 21:22:14.624] I/main.lua:23 mem_sys 191992 70168 70168 [2024-03-09 21:22:14.624] I/main.lua:24 mem_lua 98296 74616 74616 [2024-03-09 21:22:14.624] I/main.lua:35 main - 初始化网络 正在连接无线网络9AA [2024-03-09 21:22:14.632] D/net netif ip 127.0.0.1 [2024-03-09 21:22:14.632] D/wlan esp_wifi_init ret 0 [2024-03-09 21:22:14.672] D/wlan wifi event 2 [2024-03-09 21:22:14.674] D/wlan esp_wifi_start ret 0 [2024-03-09 21:22:14.674] D/wlan esp_wifi_connect ret 0 [2024-03-09 21:22:14.674] I/main.lua:58 main - 初始化Air780 正在尝试连接Air780E [2024-03-09 21:22:14.674] D/air780_helper.lua:42 air780_helper 发送AT指令"AT" [2024-03-09 21:22:14.674] D/wlan wifi station start [2024-03-09 21:22:15.352] D/wlan wifi event 4 [2024-03-09 21:22:15.352] D/wlan wifi connected!!! [2024-03-09 21:22:15.686] D/air780_helper.lua:42 air780_helper 发送AT指令"AT" [2024-03-09 21:22:16.129] D/wlan ip event 0 [2024-03-09 21:22:16.129] D/net network ready [2024-03-09 21:22:16.129] D/net DNS0:223.5.5.5 [2024-03-09 21:22:16.129] D/net DNS1:114.114.114.114 [2024-03-09 21:22:16.129] D/wlan IP_EVENT_STA_GOT_IP 192.168.1.22 [2024-03-09 21:22:16.129] I/main.lua:41 main - 初始化网络 无线网络连接成功,IP地址:192.168.1.22 [2024-03-09 21:22:16.129] I/main.lua:44 main - 初始化网络 配置第1个DNS服务器为119.29.29.29 [2024-03-09 21:22:16.129] I/main.lua:44 main - 初始化网络 配置第2个DNS服务器为223.5.5.5 [2024-03-09 21:22:16.143] I/main.lua:44 main - 初始化网络 配置第3个DNS服务器为8.8.8.8 [2024-03-09 21:22:16.143] I/main.lua:44 main - 初始化网络 配置第4个DNS服务器为1.1.1.1 [2024-03-09 21:22:16.143] I/main.lua:48 main - 初始化网络 等待时间同步 [2024-03-09 21:22:16.696] D/air780_helper.lua:42 air780_helper 发送AT指令"AT" [2024-03-09 21:22:17.693] D/air780_helper.lua:42 air780_helper 发送AT指令"AT" [2024-03-09 21:22:18.696] D/air780_helper.lua:42 air780_helper 发送AT指令"AT" [2024-03-09 21:22:19.581] D/sntp time sync done [2024-03-09 21:22:19.581] I/main.lua:50 main - 初始化网络 时间同步完成 [2024-03-09 21:22:19.693] D/air780_helper.lua:42 air780_helper 发送AT指令"AT" [2024-03-09 21:22:20.689] D/air780_helper.lua:42 air780_helper 发送AT指令"AT" [2024-03-09 21:22:21.690] D/air780_helper.lua:42 air780_helper 发送AT指令"AT" [2024-03-09 21:22:22.715] D/air780_helper.lua:42 air780_helper 发送AT指令"AT" [2024-03-09 21:22:23.702] D/air780_helper.lua:42 air780_helper 发送AT指令"AT" [2024-03-09 21:22:24.704] D/air780_helper.lua:42 air780_helper 发送AT指令"AT" [2024-03-09 21:22:25.704] D/air780_helper.lua:42 air780_helper 发送AT指令"AT"
我看你另外一个地方回复我说air780需要刷入at固件噢
我的锅,时间过去太久,自己都忘了……明明README里面还写了要刷的
但是脚本并没有自动弹出,在这个1109文件夹下面也没有找到相关demo之类的脚本
要用增加目录
按钮手动把源码目录添加进去
卡在发送AT指令"AT"
可能是Air780e没上电?出厂状态下Air780e要自己按PWR键开机的,不想每次都手动开机的话就得把PWR上面那个焊盘短接
请问是esp32c3刷入固件就可以,air780e买回来不用刷任何固件直接接上esp32c3就好了是吗?