我正在用ESP32-DOWD。代码烧写后,不断出现如下信息
rst:0x1 (POWERON_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:6732
ho 0 tail 12 room 4
load:0x80000000,len:970735623
1150 mmu set 00010000, pos 00010000
1150 mmu set 00020000, pos 00020000
1150 mmu set 00030000, pos 00030000 .................
我烧写代码时的配置和报错信息如图所示。
有哪位可以解答一下,谢谢
[已解决] 1150 mmu set XXXX报错
-
- Posts: 6
- Joined: Thu Aug 19, 2021 9:28 am
[已解决] 1150 mmu set XXXX报错
- Attachments
-
- 启动信息.jpg (114.48 KiB) Viewed 3929 times
-
- 烧写配置.png (549.61 KiB) Viewed 3929 times
Re: 1150 mmu set XXXX报错
确认几点:1.你使用的idf版本
2.检查下开发板的供电是否正常
3.用于启动的strapping 管脚是否设置正常
4.用于flash芯片的几个管脚是否有用于其他功能
2.检查下开发板的供电是否正常
3.用于启动的strapping 管脚是否设置正常
4.用于flash芯片的几个管脚是否有用于其他功能
-
- Posts: 6
- Joined: Thu Aug 19, 2021 9:28 am
Re: 1150 mmu set XXXX报错
我用esp-idf是4.4版本
我是两个电源分别给ESP32的数字电源和模拟电源供电的,我也测量了都是3.3V
flash的引脚只用作flash,没有它用。我的下载过程是没报错的。
我的strapping引脚我觉得是对的,我也量了相应引脚,并且启动时系统打印信息是rst:0x1(POWERON_RESET),boot:0x13(SPI_FAST_FLASH_BOOT).我不知道这样理解正确不?
以下是芯片烧写、运行时的全部信息
我现在发现我买了一个模组,它的芯片是ESP32-D0WD,同样的程序烧写、运行没问题。但我的芯片是ESP32-D0WD-V3。这里会不会有问题。以下是模组烧写、运行时的打印信息。
我是两个电源分别给ESP32的数字电源和模拟电源供电的,我也测量了都是3.3V
flash的引脚只用作flash,没有它用。我的下载过程是没报错的。
我的strapping引脚我觉得是对的,我也量了相应引脚,并且启动时系统打印信息是rst:0x1(POWERON_RESET),boot:0x13(SPI_FAST_FLASH_BOOT).我不知道这样理解正确不?
以下是芯片烧写、运行时的全部信息
Code: Select all
esptool.py esp32 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x1000 bootloader/bootloader.bin 0x10000 hello-world.bin 0x8000 partition_table/partition-table.bin
esptool.py v3.2-dev
Serial port /dev/ttyUSB0
Connecting.......
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: e0:e2:e6:50:b5:34
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00007fff...
Flash will be erased from 0x00010000 to 0x00039fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 25424 bytes to 15867...
Writing at 0x00001000... (100 %)
Wrote 25424 bytes (15867 compressed) at 0x00001000 in 0.8 seconds (effective 269.1 kbit/s)...
Hash of data verified.
Compressed 168240 bytes to 88919...
Writing at 0x00010000... (16 %)
Writing at 0x0001aebf... (33 %)
Writing at 0x00020648... (50 %)
Writing at 0x00025d04... (66 %)
Writing at 0x0002e45c... (83 %)
Writing at 0x0003678c... (100 %)
Wrote 168240 bytes (88919 compressed) at 0x00010000 in 2.5 seconds (effective 540.0 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 491.6 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
[100%] Built target flash
Executing action: monitor
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting....
Detecting chip type... ESP32
Running idf_monitor in directory /home/gusong/esp/test/hello_world
Executing "/home/gusong/.espressif/python_env/idf4.4_py3.6_env/bin/python3 /home/gusong/esp/esp-idf/tools/idf_monitor.py -p /dev/ttyUSB0 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 /home/gusong/esp/test/hello_world/build/hello-world.elf -m '/home/gusong/.espressif/python_env/idf4.4_py3.6_env/bin/python3' '../../esp-idf/tools/idf.py'"...
--- idf_monitor on /dev/ttyUSB0 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_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:6732
ho 0 tail 12 room 4
load:0x80000000,len:970735623
1150 mmu set 00010000, pos 00010000
1150 mmu set 00020000, pos 00020000
1150 mmu set 00030000, pos 00030000
1150 mmu set 00040000, pos 00040000
1150 mmu set 00050000, pos 00050000
1150 mmu set 00060000, pos 00060000
1150 mmu set 00070000, pos 00070000
1150 mmu set 00080000, pos 00080000
1150 mmu set 00090000, pos 00090000
1150 mmu set 000a0000, pos 000a0000
1150 mmu set 000b0000, pos 000b0000
1150 mmu set 000c0000, pos 000c0000
1150 mmu set 000d0000, pos 000d0000
ets Jul 29 2019 12:21:46
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:6732
ho 0 tail 12 room 4
load:0x80000000,len:970735623
1150 mmu set 00010000, pos 00010000
1150 mmu set 00020000, pos 00020000
1150 mmu set 00030000, pos 00030000
1150 mmu set 00040000, pos 00040000
1150 mmu set 00050000, pos 00050000
1150 mmu set 00060000, pos 00060000
1150 mmu set 00070000, pos 00070000
1150 mmu set 00080000, pos 00080000
1150 mmu set 00090000, pos 00090000
1150 mmu set 000a0000, pos 000a0000
1150 mmu set 000b0000, pos 000b0000
1150 mmu set 000c0000, pos 000c0000
1150 mmu set 000d0000, pos 000d0000
ets Jul 29 2019 12:21:46
Code: Select all
esptool.py esp32 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x1000 bootloader/bootloader.bin 0x10000 hello-world.bin 0x8000 partition_table/partition-table.bin
esptool.py v3.2-dev
Serial port /dev/ttyUSB0
Connecting......
Chip is ESP32-D0WD (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: ac:0b:fb:24:88:44
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00007fff...
Flash will be erased from 0x00010000 to 0x00039fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 25424 bytes to 15867...
Writing at 0x00001000... (100 %)
Wrote 25424 bytes (15867 compressed) at 0x00001000 in 0.8 seconds (effective 250.9 kbit/s)...
Hash of data verified.
Compressed 168240 bytes to 88919...
Writing at 0x00010000... (16 %)
Writing at 0x0001aebf... (33 %)
Writing at 0x00020648... (50 %)
Writing at 0x00025d04... (66 %)
Writing at 0x0002e45c... (83 %)
Writing at 0x0003678c... (100 %)
Wrote 168240 bytes (88919 compressed) at 0x00010000 in 2.4 seconds (effective 565.6 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 358.3 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
[100%] Built target flash
Executing action: monitor
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting....
Detecting chip type... ESP32
Running idf_monitor in directory /home/gusong/esp/test/hello_world
Executing "/home/gusong/.espressif/python_env/idf4.4_py3.6_env/bin/python3 /home/gusong/esp/esp-idf/tools/idf_monitor.py -p /dev/ttyUSB0 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 /home/gusong/esp/test/hello_world/build/hello-world.elf -m '/home/gusong/.espressif/python_env/idf4.4_py3.6_env/bin/python3' '../../esp-idf/tools/idf.py'"...
--- idf_monitor on /dev/ttyUSB0 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_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:6732
ho 0 tail 12 room 4
load:0x40078000,len:14812
load:0x40080400,len:3792
0x40080400: _init at ??:?
-
- Posts: 6
- Joined: Thu Aug 19, 2021 9:28 am
Re: 1150 mmu set XXXX报错
谢谢大侠的回复。我现在应该已经解决了问题。我在烧写时选择DOUT,而不是选择DIO,目前为止程序运行正常。但要说一点,我用的是ubuntu进行开发,用的都是idf.py工具下载。我也下载了一个windows版本的flash download tool,但在windows上选择同样的选项,错误现象和原先一致。这里耽误了我不少时间。可能我的flash download tool版本不对。
Who is online
Users browsing this forum: No registered users and 181 guests