[closed] moving to cmake/IDF V4.0 is causing problems

User avatar
mzimmers
Posts: 643
Joined: Wed Mar 07, 2018 11:54 pm
Location: USA

Re: moving to cmake/IDF V4.0 is causing problems

Postby mzimmers » Wed Nov 13, 2019 11:21 pm

Bump. Attached is the output I get using "make flash monitor."

Code: Select all

MONITOR
--- idf_monitor on COM7 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:0x12 (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:5980
load:0x40078000,len:10104
load:0x40080400,len:6440
entry 0x40080730
I (29) boot: ESP-IDF v3.3 2nd stage bootloader
I (29) boot: compile time 15:03:10
I (44) boot: Enabling RNG early entropy source...
I (45) boot: SPI Speed      : 40MHz
I (45) boot: SPI Mode       : DIO
I (47) boot: SPI Flash Size : 4MB
I (51) boot: Partition Table:
I (54) boot: ## Label            Usage          Type ST Offset   Length
I (62) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (69) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (77) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (84) boot:  3 factory          factory app      00 00 00010000 00130000
I (92) boot:  4 ota_0            OTA app          00 10 00140000 00130000
I (99) boot:  5 ota_1            OTA app          00 11 00270000 00130000
I (107) boot: End of partition table
I (111) boot: Defaulting to factory image
I (115) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x3cfd8 (249816) map
I (209) esp_image: segment 1: paddr=0x0004d000 vaddr=0x3ffb0000 size=0x03010 ( 12304) load
I (214) esp_image: segment 2: paddr=0x00050018 vaddr=0x400d0018 size=0xd5c08 (875528) map
0x400d0018: _flash_cache_start at ??:?

I (512) esp_image: segment 3: paddr=0x00125c28 vaddr=0x3ffb3010 size=0x000b8 (   184) load
I (512) esp_image: segment 4: paddr=0x00125ce8 vaddr=0x40080000 size=0x00400 (  1024) load
0x40080000: _WindowOverflow4 at C:/esp-idf/components/freertos/xtensa_vectors.S:1779

I (519) esp_image: segment 5: paddr=0x001260f0 vaddr=0x40080400 size=0x107a8 ( 67496) load
I (553) esp_image: segment 6: paddr=0x001368a0 vaddr=0x400c0000 size=0x00064 (   100) load
I (563) boot: Loaded app from partition at offset 0x10000
I (563) boot: Disabling RNG early entropy source...
I (565) cpu_start: Pro cpu up.
I (568) cpu_start: Application information:
I (573) cpu_start: Project name:     WifiButton
I (578) cpu_start: App version:      V0.1-24-g54a0f12-dirty
I (585) cpu_start: Compile time:     Nov 13 2019 15:02:56
I (591) cpu_start: ELF file SHA256:  71daa42700fd1686...
I (597) cpu_start: ESP-IDF:          v3.3
I (601) cpu_start: Starting app cpu, entry point is 0x4008124c
0x4008124c: call_start_cpu1 at C:/esp-idf/components/esp32/cpu_start.c:270

I (0) cpu_start: App cpu up.
I (612) heap_init: Initializing. RAM available for dynamic allocation:
I (619) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (625) heap_init: At 3FFCC510 len 00013AF0 (78 KiB): DRAM
I (631) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (637) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (644) heap_init: At 40090BA8 len 0000F458 (61 KiB): IRAM
I (650) cpu_start: Pro cpu start user code
I (354) cpu_start: Chip Revision: 1
W (354) cpu_start: Chip revision is higher than the one configured in menuconfig. Suggest to upgrade it.
I (358) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.

Can anyone see anything wrong in this output? The tick counts seem a little odd to my (non-expert) eye...

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: moving to cmake/IDF V4.0 is causing problems

Postby WiFive » Thu Nov 14, 2019 1:24 am

Looks ok. Could this problem also be related to your use of gpio 9&10.

User avatar
mzimmers
Posts: 643
Joined: Wed Mar 07, 2018 11:54 pm
Location: USA

Re: moving to cmake/IDF V4.0 is causing problems

Postby mzimmers » Thu Nov 14, 2019 1:29 am

Hi WiFive -

I've tried this with and without configuration for UART1 and those GPIO pins. Same results.

User avatar
mzimmers
Posts: 643
Joined: Wed Mar 07, 2018 11:54 pm
Location: USA

Re: moving to cmake/IDF V4.0 is causing problems

Postby mzimmers » Thu Nov 14, 2019 5:56 pm

I'm marking this closed because the title is misleading, and I fell victim to at least one red herring trying to find the problem here. I'll open a new thread shortly.

Who is online

Users browsing this forum: Bing [Bot] and 129 guests