Search found 2 matches

by panpengxian
Wed Aug 04, 2021 1:58 pm
Forum: ESP-IDF 中文讨论版
Topic: [已解决] 使用FreeRTOS队列时发生PRO CPU has been reset by WDT.
Replies: 2
Views: 4747

Re: 使用FreeRTOS队列时发生PRO CPU has been reset by WDT.

ESP_Sprite wrote:
Wed Aug 04, 2021 1:44 am
你不需要做 vTaskStartScheduler
原来是这样,可以连续运行了,谢谢
by panpengxian
Tue Aug 03, 2021 3:44 pm
Forum: ESP-IDF 中文讨论版
Topic: [已解决] 使用FreeRTOS队列时发生PRO CPU has been reset by WDT.
Replies: 2
Views: 4747

[已解决] 使用FreeRTOS队列时发生PRO CPU has been reset by WDT.

以下是我的代码,我只是想试一下FreeRTOS的QUeue能不能用,主要就是让一个任务累加发送整数,让另一个任务打印整数; 但是我发现累加到3662之后,CPU就会重启,然后重新累加,报错信息如下,这段程序我是按照FreeRTOS的官方手册写的,不知道有什么错误? rst:0x8 (TG1WDT_SYS_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, c...