Looks like the application keeps rebooting...rst:0xc (SW_CPU_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:4
load:0x3fff0010,len:4
load:0x3fff0014,len:5436
load:0x40078000,len:0
load:0x40078000,len:12028
entry 0x40078f24
I (33) boot: ESP-IDF v3.0-dev-317-gfc85cb68 2nd stage bootloader
I (33) boot: compile time 17:30:46
I (33) boot: Enabling RNG early entropy source...
I (50) boot: SPI Speed : 20MHz
I (63) boot: SPI Mode : DIO
I (75) boot: SPI Flash Size : 8MB
I (88) boot: Partition Table:
I (99) boot: ## Label Usage Type ST Offset Length
I (121) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (145) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (168) boot: 2 factory factory app 00 00 00010000 00100000
I (191) boot: End of partition table
I (204) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x0309c ( 1 2444) map
I (250) esp_image: segment 1: paddr=0x000130c4 vaddr=0x3ffb0000 size=0x016e0 ( 5856) load
I (268) esp_image: segment 2: paddr=0x000147ac vaddr=0x40080000 size=0x00400 ( 1024) load
I (288) esp_image: segment 3: paddr=0x00014bb4 vaddr=0x40080400 size=0x06ba8 ( 2 7560) load
I (359) esp_image: segment 4: paddr=0x0001b764 vaddr=0x400c0000 size=0x00000 ( 0) load
I (360) esp_image: segment 5: paddr=0x0001b76c vaddr=0x00000000 size=0x048a4 ( 1 8596)
I (406) esp_image: segment 6: paddr=0x00020018 vaddr=0x400d0018 size=0x0d0cc ( 5 3452) map
I (496) boot: Loaded app from partition at offset 0x10000
I (497) boot: Disabling RNG early entropy source...
I (498) cpu_start: Pro cpu up.
I (509) cpu_start: Single core mode
I (524) heap_init: Initializing. RAM available for dynamic allocation:
I (544) heap_init: At 3FFAE2A0 len 00001D60 (7 KiB): DRAM
I (563) heap_init: At 3FFB1E28 len 0002E1D8 (184 KiB): DRAM
I (582) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (601) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (621) heap_init: At 40086FA8 len 00019058 (100 KiB): IRAM
I (641) cpu_start: Pro cpu start user code
ets Jun 8 2016 00:22:57
....REBOOTS & REPEATS....
Couple comments:
I followed the instructions here http://esp-idf.readthedocs.io/en/latest ... setup.html but it doesn't setup python. I found the old instructions of setting up python here: https://github.com/espressif/esp-idf/issues/200
this version of python uses the /dev/ttyS(COM PORT - 1) serial ports rather than direct COM ports. Seemed to flash fine though - not sure what needs to happen to use serial ports in the COMx format.
I tried setting freertos to single cpu mode as well - still reboots as soon as it hits the code. The code seems to compile fine, uploads fine. Not sure what could be causing the issue(s)...
Thanks in advance!
Reza