Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32S3在nuttx上编译完nuttx.bin刷进去后起不来 (IDFGH-14272) #15065

Closed
3 tasks done
Hanfeng2537 opened this issue Dec 20, 2024 · 1 comment
Closed
3 tasks done
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@Hanfeng2537
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

  1. 下载完nuttx源码
  2. 配置esp32s3 ./tools/configure.sh esp32s3-devkit:gpio
  3. 编译生产nuttx.bin
  4. 使用命令刷机
    esptool.py --chip esp32s3 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 ../bin/bootloader-esp32s3.bin 0x10000 nuttx.bin 0x8000 ../bin/partition-table-esp32s3.bin

但是刷机后起不来,卡在如下界面,一直循环重启
[19:27:58:911] ESP-ROM:esp32s3-20210327␍␊
[19:27:58:934] Build:Mar 27 2021␍␊
[19:27:58:934] rst:0x10 (RTCWDT_RTC_RST),boot:0xa (SPI_FAST_FLASH_BOOT)␍␊
[19:27:58:934] SPIWP:0xee␍␊
[19:27:58:934] mode:DIO, clock div:1␍␊
[19:27:58:934] load:0x3fce3818,len:0x1664␍␊
[19:27:58:934] load:0x403c9700,len:0x4␍␊
[19:27:58:934] load:0x403c9704,len:0xb74␍␊
[19:27:58:934] load:0x403cc700,len:0x2e8c␍␊
[19:27:58:934] entry 0x403c98fc␍␊
[19:27:58:957] <0x1b>[0;32mI (27) boot: ESP-IDF v5.1-dev-3972-g1559b6309f 2nd stage bootloader<0x1b>[0m␍␊
[19:27:58:957] <0x1b>[0;32mI (28) boot: compile time Mar 15 2023 12:14:10<0x1b>[0m␍␊
[19:27:58:957] <0x1b>[0;32mI (28) boot: chip revision: v0.2<0x1b>[0m␍␊
[19:27:58:957] <0x1b>[0;32mI (32) boot.esp32s3: Boot SPI Speed : 80MHz<0x1b>[0m␍␊
[19:27:58:957] <0x1b>[0;32mI (37) boot.esp32s3: SPI Mode : DIO<0x1b>[0m␍␊
[19:27:58:980] <0x1b>[0;32mI (42) boot.esp32s3: SPI Flash Size : 2MB<0x1b>[0m␍␊
[19:27:58:980] <0x1b>[0;32mI (46) boot: Enabling RNG early entropy source...<0x1b>[0m␍␊
[19:27:58:980] <0x1b>[0;32mI (52) boot: Partition Table:<0x1b>[0m␍␊
[19:27:58:980] <0x1b>[0;32mI (55) boot: ## Label Usage Type ST Offset Length<0x1b>[0m␍␊
[19:27:59:002] <0x1b>[0;32mI (63) boot: 0 factory factory app 00 00 00010000 00100000<0x1b>[0m␍␊
[19:27:59:002] <0x1b>[0;32mI (70) boot: End of partition table<0x1b>[0m␍␊
[19:27:59:002] <0x1b>[0;32mI (74) esp_image: segment 0: paddr=00010020 vaddr=3fc8b2e0 size=00d84h ( 3460) load<0x1b>[0m␍␊
[19:27:59:002] <0x1b>[0;32mI (83) esp_image: segment 1: paddr=00010dac vaddr=40374000 size=04ed4h ( 20180) load<0x1b>[0m␍␊
[19:27:59:024] <0x1b>[0;32mI (96) boot: Loaded app from partition at offset 0x10000<0x1b>[0m␍␊
[19:27:59:024] <0x1b>[0;32mI (97) boot: Disabling RNG early entropy source...<0x1b>[0m␍␊
[19:27:59:024] abort() was called at PC 0x403cea95␍␊

@espressif-bot espressif-bot added the Status: Opened Issue is new label Dec 20, 2024
@github-actions github-actions bot changed the title ESP32S3在nuttx上编译完nuttx.bin刷进去后起不来 ESP32S3在nuttx上编译完nuttx.bin刷进去后起不来 (IDFGH-14272) Dec 20, 2024
@rftafas
Copy link
Collaborator

rftafas commented Dec 23, 2024

Please, follow this: Getting Started with NuttX and ESP32

If you have issues with NuttX and ESP32, please, open issues on NuttX GH repo.

@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: Opened Issue is new labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

4 participants