20 _uart example not works

wziy520
Posts: 42
Joined: Thu Nov 10, 2016 7:58 am

20 _uart example not works

Postby wziy520 » Tue Jan 17, 2017 8:45 am

1. when uart first release, i have try this example, it works,
2. but now, it not works,
code halt as below: "uart: queue free spaces: 10", can not handle any input.
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0008,len:8
load:0x3fff0010,len:3384
load:0x40078000,len:7504
load:0x40080000,len:252
entry 0x40080034
I (44) boot: ESP-IDF v1.0-417-g48ae7ab 2nd stage bootloader
I (44) boot: compile time 16:15:25
I (76) boot: Enabling RNG early entropy source...
I (77) boot: SPI Speed : 40MHz
I (77) boot: SPI Mode : DIO
I (88) boot: SPI Flash Size : 4MB
I (101) boot: Partition Table:
I (112) boot: ## Label Usage Type ST Offset Length
I (135) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (158) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (181) boot: 2 factory factory app 00 00 00010000 00100000
I (205) boot: End of partition table
I (218) boot: Disabling RNG early entropy source...
I (235) boot: Loading app partition at offset 00010000
I (730) boot: segment 0: paddr=0x00010018 vaddr=0x00000000 size=0x0ffe8 ( 65512)
I (731) boot: segment 1: paddr=0x00020008 vaddr=0x3f400010 size=0x068c0 ( 26816) map
I (747) boot: segment 2: paddr=0x000268d0 vaddr=0x3ffb0000 size=0x02434 ( 9268) load
I (777) boot: segment 3: paddr=0x00028d0c vaddr=0x40080000 size=0x00400 ( 1024) load
I (800) boot: segment 4: paddr=0x00029114 vaddr=0x40080400 size=0x147c4 ( 83908) load
I (865) boot: segment 5: paddr=0x0003d8e0 vaddr=0x400c0000 size=0x00000 ( 0) load
I (866) boot: segment 6: paddr=0x0003d8e8 vaddr=0x00000000 size=0x02720 ( 10016)
I (883) boot: segment 7: paddr=0x00040010 vaddr=0x400d0018 size=0x234d8 (144600) map
I (910) heap_alloc_caps: Initializing. RAM available for dynamic allocation:
I (933) heap_alloc_caps: At 3FFB5638 len 0002A9C8 (170 KiB): DRAM
I (954) heap_alloc_caps: At 3FFE8000 len 00018000 (96 KiB): D/IRAM
I (975) heap_alloc_caps: At 40094BC4 len 0000B43C (45 KiB): IRAM
I (995) cpu_start: Pro cpu up.
I (1007) cpu_start: Starting app cpu, entry point is 0x40080aa0
I (0) cpu_start: App cpu up.
I (1038) cpu_start: Pro cpu start user code
I (1390) phy: phy_version: 258, Nov 29 2016, 15:51:07, 0, 0
I (1544) cpu_start: Starting scheduler on PRO CPU.
I (527) cpu_start: Starting scheduler on APP CPU.
I (527) uart: queue free spaces: 10

wziy520
Posts: 42
Joined: Thu Nov 10, 2016 7:58 am

Re: 20 _uart example not works

Postby wziy520 » Thu Jan 19, 2017 8:42 am

Does anyone meet the same issue?

wziy520
Posts: 42
Joined: Thu Nov 10, 2016 7:58 am

Re: 20 _uart example not works

Postby wziy520 » Thu Jan 19, 2017 8:47 am

work, close.
I have no idea why halt before

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 26 guests