完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我们的硬件工程师设计了一款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. |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
313 浏览 0 评论
1170 浏览 1 评论
585浏览 6评论
483浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
468浏览 5评论
467浏览 4评论
442浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-26 03:03 , Processed in 1.025851 second(s), Total 75, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号