模块为安信可ESP32-S
串口输出如下:
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6992
load:0xffffffff,len:-1
附件为原理图,麻烦帮忙看一下是不是原理图不合理影响到了运行
esp32 可以烧写入程序,但是程序不运行,反复重启
Re: esp32 可以烧写入程序,但是程序不运行,反复重启
当前选择的 DCDC 电流能达到 500 mA 吗?
用的是什么烧录工具,烧写的是什么固件呢?
用的是什么烧录工具,烧写的是什么固件呢?
Re: esp32 可以烧写入程序,但是程序不运行,反复重启
选用MD5333 LDO,输出可以到500mA
使用VSCODE 和 ESP-IDF命令行工具,eclipse都试过烧写Hello World例程,一样的现象.
使用VSCODE 和 ESP-IDF命令行工具,eclipse都试过烧写Hello World例程,一样的现象.
- Attachments
-
- 捕获.PNG (95.66 KiB) Viewed 17248 times
Re: esp32 可以烧写入程序,但是程序不运行,反复重启
1. 我问的是你的 DCDC,LDO 电流够,前面电流不够也没有用
2. 可以确认下比如 qio 80 mhz 这些配置,固件编译和固件烧写是一致的吗?
2. 可以确认下比如 qio 80 mhz 这些配置,固件编译和固件烧写是一致的吗?
Re: esp32 可以烧写入程序,但是程序不运行,反复重启
DCDC最大可以输出800mA,另外在只烧写HelloWorld时问题依旧存在,所以跟电源应该没什么关系。
Re: esp32 可以烧写入程序,但是程序不运行,反复重启
确认过了,默认是 DIO 40MHz,烧到其他的开发板是没问题的。下面是我复制的烧写过程的LOG,可以看到烧写是成功的,但是就是不运行程序,一直重启.
附件是测试程序,就是简单的LOG输出。
esptool.py v3.1-dev
Serial port COM3
Connecting.....
Chip is ESP32-D0WD (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 94:3c:c6:10:6b:b8
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00010000 to 0x00036fff...
Flash will be erased from 0x00001000 to 0x00007fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 158624 bytes to 82728...
Wrote 158624 bytes (82728 compressed) at 0x00010000 in 2.1 seconds (effective 593.7 kbit/s)...
Hash of data verified.
Compressed 25056 bytes to 15379...
Wrote 25056 bytes (15379 compressed) at 0x00001000 in 0.6 seconds (effective 317.4 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 449.7 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
附件是测试程序,就是简单的LOG输出。
esptool.py v3.1-dev
Serial port COM3
Connecting.....
Chip is ESP32-D0WD (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 94:3c:c6:10:6b:b8
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00010000 to 0x00036fff...
Flash will be erased from 0x00001000 to 0x00007fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 158624 bytes to 82728...
Wrote 158624 bytes (82728 compressed) at 0x00010000 in 2.1 seconds (effective 593.7 kbit/s)...
Hash of data verified.
Compressed 25056 bytes to 15379...
Wrote 25056 bytes (15379 compressed) at 0x00001000 in 0.6 seconds (effective 317.4 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 449.7 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
- Attachments
-
- 捕获.PNG (23.61 KiB) Viewed 16861 times
-
- main.c
- (637 Bytes) Downloaded 1244 times
Re: esp32 可以烧写入程序,但是程序不运行,反复重启
您好,这个问题还没有解决,请问我可以把板子发给你们帮我排查一下吗?
Re: esp32 可以烧写入程序,但是程序不运行,反复重启
您好,我们这边目前信息有限看不出别的问题了。
模块是 安信可 的,建议您联系模组供应商售后。
谢谢。
模块是 安信可 的,建议您联系模组供应商售后。
谢谢。
Who is online
Users browsing this forum: No registered users and 61 guests