我使用的模块:
https://github.com/LilyGO/TTGO-micro32-V2.0
我所使用的IDF版本:V4.3.1
代码内容:
#include <stdio.h>
#include "sdkconfig.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_system.h"
#include "esp_spi_flash.h"
#include "esp_task_wdt.h"
int TimeCount = 0;
void app_main() {
while (1)
{
printf("%d\n",TimeCount);
TimeCount++;
vTaskDelay(1000 / portTICK_PERIOD_MS);
}
}
启动时打印的信息:
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, 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:7024
load:0x40078000,len:13248
load:0x40080400,len:3648
entry 0x40080678
[0;32mI (28) boot: ESP-IDF v4.3.1 2nd stage bootloader[0m
[0;32mI (28) boot: compile time 20:58:34[0m
[0;32mI (28) boot: chip revision: 1[0m
[0;32mI (31) boot_comm: chip revision: 1, min. bootloader chip revision: 0[0m
[0;32mI (38) boot.esp32: SPI Speed : 40MHz[0m
[0;32mI (43) boot.esp32: SPI Mode : DIO[0m
[0;32mI (47) boot.esp32: SPI Flash Size : 4MB[0m
[0;32mI (52) boot: Enabling RNG early entropy source...[0m
[0;32mI (57) boot: Partition Table:[0m
[0;32mI (61) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (68) boot: 0 nvs WiFi data 01 02 00009000 00006000[0m
[0;32mI (75) boot: 1 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (83) boot: 2 factory factory app 00 00 00010000 00100000[0m
[0;32mI (90) boot: End of partition table[0m
[0;32mI (94) boot_comm: chip revision: 1, min. application chip revision: 0[0m
[0;32mI (102) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=069a4h ( 27044) map[0m
[0;32mI (120) esp_image: segment 1: paddr=000169cc vaddr=3ffb0000 size=028b8h ( 10424) load[0m
[0;32mI (124) esp_image: segment 2: paddr=0001928c vaddr=40080000 size=06d8ch ( 28044) load[0m
[0;32mI (139) esp_image: segment 3: paddr=00020020 vaddr=400d0020 size=144e8h ( 83176) map[0m
[0;32mI (169) esp_image: segment 4: paddr=00034510 vaddr=40086d8c size=03fa8h ( 16296) load[0m
[0;32mI (176) esp_image: segment 5: paddr=000384c0 vaddr=50000000 size=00010h ( 16) load[0m
[0;32mI (182) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (182) boot: Disabling RNG early entropy source...[0m
[0;32mI (197) cpu_start: Pro cpu up.[0m
[0;32mI (198) cpu_start: Starting app cpu, entry point is 0x400810bc[0m
[0;32mI (0) cpu_start: App cpu up.[0m
[0;32mI (212) cpu_start: Pro cpu start user code[0m
[0;32mI (212) cpu_start: cpu freq: 160000000[0m
[0;32mI (212) cpu_start: Application information:[0m
[0;32mI (216) cpu_start: Project name: hello-world[0m
[0;32mI (222) cpu_start: App version: 1[0m
[0;32mI (226) cpu_start: Compile time: Oct 11 2021 20:58:34[0m
[0;32mI (232) cpu_start: ELF file SHA256: 54bb0e5c735ec32c...[0m
[0;32mI (238) cpu_start: ESP-IDF: v4.3.1[0m
[0;32mI (243) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (250) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM[0m
[0;32mI (256) heap_init: At 3FFB3740 len 0002C8C0 (178 KiB): DRAM[0m
[0;32mI (263) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM[0m
[0;32mI (269) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[0m
[0;32mI (275) heap_init: At 4008AD34 len 000152CC (84 KiB): IRAM[0m
[0;32mI (283) spi_flash: detected chip: gd[0m
[0;32mI (286) spi_flash: flash io: dio[0m
[0;32mI (291) cpu_start: Starting scheduler on PRO CPU.[0m
[0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m
出现错误时的截图:
FAE大大,救命啊,Deadline了
[已解决] 求助 我购买了一份TTGO的ESP32-PICO-D4的模块,书写了一个简单的程序,发现程序总是在300~400秒后跑飞,求助
[已解决] 求助 我购买了一份TTGO的ESP32-PICO-D4的模块,书写了一个简单的程序,发现程序总是在300~400秒后跑飞,求助
- Attachments
-
- QQ截图20211011213740.png (95.86 KiB) Viewed 2789 times
-
- Posts: 786
- Joined: Wed Nov 14, 2018 8:45 am
Re: 求助 我购买了一份TTGO的ESP32-PICO-D4的模块,书写了一个简单的程序,发现程序总是在300~400秒后跑飞,求助
重启了吗?看上去波特率发生了变化。是否还是 1s 会打印些东西出来?
Re: 求助 我购买了一份TTGO的ESP32-PICO-D4的模块,书写了一个简单的程序,发现程序总是在300~400秒后跑飞,求助
解决了,焊接的人把EN脚的上拉电阻(10k)焊接成了100nF的电容。。。导致了这个问题
Who is online
Users browsing this forum: No registered users and 87 guests