我们的硬件工程师设计了一款PCBA实现项目功能,需要将一些数据保存到外置flash, 我在调试的时候发现只要初始化了华邦的SPI flash的片选引脚,MCU就会不断的重启(所有看门狗都已经关闭),不初始化这个引脚就不会重启,导致flash无法使用,搞不懂时什么原因?
entry 0x40080678
I (54) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (54) boot: compile time 17:30:11
I (54) boot: chip revision: 3
I (58) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (74) boot.esp32: SPI Speed : 40MHz
I (74) boot.esp32: SPI Mode : DIO
I (74) boot.esp32: SPI Flash Size : 4MB
W (79) boot.esp32: PRO CPU has been reset by WDT.
W (84) boot.esp32: WDT reset info: PRO CPU PC=0x400803c0
0x400803c0: _DoubleExceptionVector at D:/ESP32_GIT/components/freertos/port/xtensa/xtensa_vectors.S:455
W (90) boot.esp32: WDT reset info: APP CPU PC=0x400e6202 (waiti mode)
0x400e6202: esp_pm_impl_waiti at D:/ESP32_GIT/components/esp_pm/pm_impl.c:829
I (97) boot: Enabling RNG early entropy source...
I (103) boot: Partition Table:
I (106) boot: ## Label Usage Type ST Offset Length
I (114) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (121) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (129) boot: 2 factory factory app 00 00 00010000 00100000
I (136) boot: End of partition table
I (141) boot_comm: chip revision: 3, min. application chip revision: 0
I (148) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=08dd4h ( 36308) map
I (170) esp_image: segment 1: paddr=00018dfc vaddr=3ffb0000 size=029bch ( 10684) load
I (174) esp_image: segment 2: paddr=0001b7c0 vaddr=40080000 size=04858h ( 18520) load
I (183) esp_image: segment 3: paddr=00020020 vaddr=400d0020 size=167d4h ( 92116) map
I (217) esp_image: segment 4: paddr=000367fc vaddr=40084858 size=07d44h ( 32068) load
I (231) esp_image: segment 5: paddr=0003e548 vaddr=50000000 size=00010h ( 16) load
I (237) boot: Loaded app from partition at offset 0x10000
I (237) boot: Disabling RNG early entropy source...
I (251) cpu_start: Pro cpu up.
I (251) cpu_start: Starting app cpu, entry point is 0x400810a0
0x400810a0: call_start_cpu1 at D:/ESP32_GIT/components/esp_system/port/cpu_start.c:141
I (0) cpu_start: App cpu up.
I (265) cpu_start: Pro cpu start user code
I (265) cpu_start: cpu freq: 160000000
I (265) cpu_start: Application information:
I (270) cpu_start: Project name: play_mp3_pwm_or_dac
I (276) cpu_start: App version: v2.3-99-g107e8c3-dirty
I (282) cpu_start: Compile time: Jul 11 2022 10:32:05
I (288) cpu_start: ELF file SHA256: 0853114b73ceec0c...
I (294) cpu_start: ESP-IDF: v4.3.1-dirty
I (300) heap_init: Initializing. RAM available for dynamic allocation:
I (307) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (313) heap_init: At 3FFB32E8 len 0002CD18 (179 KiB): DRAM
I (319) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (325) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (332) heap_init: At 4008C59C len 00013A64 (78 KiB): IRAM
I (339) spi_flash: detected chip: winbond
I (343) spi_flash: flash io: dio
I (348) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.entry 0x40080678
I (54) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (54) boot: compile time 17:30:11
I (54) boot: chip revision: 3
I (58) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (74) boot.esp32: SPI Speed : 40MHz
I (74) boot.esp32: SPI Mode : DIO
I (74) boot.esp32: SPI Flash Size : 4MB
W (79) boot.esp32: PRO CPU has been reset by WDT.
W (84) boot.esp32: WDT reset info: PRO CPU PC=0x400803c0
0x400803c0: _DoubleExceptionVector at D:/ESP32_GIT/components/freertos/port/xtensa/xtensa_vectors.S:455
W (90) boot.esp32: WDT reset info: APP CPU PC=0x400e6202 (waiti mode)
0x400e6202: esp_pm_impl_waiti at D:/ESP32_GIT/components/esp_pm/pm_impl.c:829
I (97) boot: Enabling RNG early entropy source...
I (103) boot: Partition Table:
I (106) boot: ## Label Usage Type ST Offset Length
I (114) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (121) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (129) boot: 2 factory factory app 00 00 00010000 00100000
I (136) boot: End of partition table
I (141) boot_comm: chip revision: 3, min. application chip revision: 0
I (148) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=08dd4h ( 36308) map
I (170) esp_image: segment 1: paddr=00018dfc vaddr=3ffb0000 size=029bch ( 10684) load
I (174) esp_image: segment 2: paddr=0001b7c0 vaddr=40080000 size=04858h ( 18520) load
I (183) esp_image: segment 3: paddr=00020020 vaddr=400d0020 size=167d4h ( 92116) map
I (217) esp_image: segment 4: paddr=000367fc vaddr=40084858 size=07d44h ( 32068) load
I (231) esp_image: segment 5: paddr=0003e548 vaddr=50000000 size=00010h ( 16) load
I (237) boot: Loaded app from partition at offset 0x10000
I (237) boot: Disabling RNG early entropy source...
I (251) cpu_start: Pro cpu up.
I (251) cpu_start: Starting app cpu, entry point is 0x400810a0
0x400810a0: call_start_cpu1 at D:/ESP32_GIT/components/esp_system/port/cpu_start.c:141
I (0) cpu_start: App cpu up.
I (265) cpu_start: Pro cpu start user code
I (265) cpu_start: cpu freq: 160000000
I (265) cpu_start: Application information:
I (270) cpu_start: Project name: play_mp3_pwm_or_dac
I (276) cpu_start: App version: v2.3-99-g107e8c3-dirty
I (282) cpu_start: Compile time: Jul 11 2022 10:32:05
I (288) cpu_start: ELF file SHA256: 0853114b73ceec0c...
I (294) cpu_start: ESP-IDF: v4.3.1-dirty
I (300) heap_init: Initializing. RAM available for dynamic allocation:
I (307) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (313) heap_init: At 3FFB32E8 len 0002CD18 (179 KiB): DRAM
I (319) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (325) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (332) heap_init: At 4008C59C len 00013A64 (78 KiB): IRAM
I (339) spi_flash: detected chip: winbond
I (343) spi_flash: flash io: dio
I (348) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
用ESP32的纯芯片设计的电路板,不断复位
-
- Posts: 5
- Joined: Sat Nov 20, 2021 9:14 am
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 38 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.