Hi,
I did a quick demo to try out this issue, and created
a gist for this.
I think I can not reproduce the issue (any more). My
ESP-IDF commit is at:
7e8c2a9c00a6fb05cd5da306b62c4474a999b1a2
P.S.
I don't past the code here because my eye & hear need syntax highlighting desperately, which here a Feature still missing.
The following is the program log:
Code: Select all
MONITOR
--- 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)
ets Jun 8 2016 00:22:57
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:0x3fff0018,len:4
load:0x3fff001c,len:5544
load:0x40078000,len:0
ho 12 tail 0 room 4
load:0x40078000,len:12524
entry 0x40078f7c
W (74) rtc_clk: Possibly invalid CONFIG_ESP32_XTAL_FREQ setting (40MHz). Detected 40 MHz.
I (39) boot: ESP-IDF v3.0-dev-1100-g80eb3b6d 2nd stage bootloader
I (39) boot: compile time 21:12:59
I (39) boot: Enabling RNG early entropy source...
I (46) boot: SPI Speed : 40MHz
I (50) boot: SPI Mode : DIO
I (54) boot: SPI Flash Size : 4MB
I (58) boot: Partition Table:
I (61) boot: ## Label Usage Type ST Offset Length
I (69) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (76) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (84) boot: 2 factory factory app 00 00 00010000 00100000
I (91) boot: End of partition table
I (95) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x05a8c ( 23180) map
I (112) esp_image: segment 1: paddr=0x00015ab4 vaddr=0x3ffb0000 size=0x02134 ( 8500) load
I (116) esp_image: segment 2: paddr=0x00017bf0 vaddr=0x40080000 size=0x00400 ( 1024) load
0x40080000: _iram_start at /home/gfast2/esp/esp-idf/components/freertos/./xtensa_vectors.S:1685
I (122) esp_image: segment 3: paddr=0x00017ff8 vaddr=0x40080400 size=0x08018 ( 32792) load
I (144) esp_image: segment 4: paddr=0x00020018 vaddr=0x400d0018 size=0x100c4 ( 65732) map
0x400d0018: _stext at ??:?
I (167) esp_image: segment 5: paddr=0x000300e4 vaddr=0x40088418 size=0x00238 ( 568) load
0x40088418: esp_rom_spiflash_read at /home/gfast2/esp/esp-idf/components/spi_flash/./spi_flash_rom_patch.c:544
I (168) esp_image: segment 6: paddr=0x00030324 vaddr=0x400c0000 size=0x00000 ( 0) load
I (179) boot: Loaded app from partition at offset 0x10000
I (180) boot: Disabling RNG early entropy source...
I (186) cpu_start: Pro cpu up.
I (189) cpu_start: Starting app cpu, entry point is 0x40080df4
0x40080df4: call_start_cpu1 at /home/gfast2/esp/esp-idf/components/esp32/./cpu_start.c:222
I (0) cpu_start: App cpu up.
I (200) heap_init: Initializing. RAM available for dynamic allocation:
I (207) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (213) heap_init: At 3FFB2958 len 0002D6A8 (181 KiB): DRAM
I (219) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (225) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (232) heap_init: At 40088650 len 000179B0 (94 KiB): IRAM
I (238) cpu_start: Pro cpu start user code
I (256) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
Hello world!
This is the second test.This is ESP32 chip with 2 CPU cores, WiFi/BT/BLE, silicon revision 0, 4MB external flash
Hi 0
Hi 1
Hi 2
Hi 3
Hi 4
Hi 5
Hi 6
Hi 7
Hi 8
Hi 9
Hi 10
Hi 11
Hi 12
Hi 13
Hi 14
Hi 15
Hi 16
Hi 17
Hi 18
Hi 19
Hi 20
Hi 21
Hi 22
Hi 23
Hi 24
Hi 25
Cheers
Gfast2