Page 1 of 1

"W (34792) wifi: post pm rx bcn failed"

Posted: Thu Mar 02, 2017 8:16 am
by dowanKim
Hi.

Bcn fail occurs during spi_flash_erase_range(0x210000,0x100000); after pm-start appears.

I am downloading the Esp binary f/w from the network and storing it in ota.
Of course, I could download it properly and saved it in the desired ota area, but
there is one strange phenomenon.

"I (2345380) wifi: pm start, type: 0 "
If I start the download after this message appears, there are 10 -15 consecutive
" w (2345380) wifi: post pm rx bcn failed " messages before the end of spi_partition_erase_range.

On the other hand, before this message "W (2345380) wifi: pm start, type: 0" appears,
[W (2345380) wifi: post pm rx bcn failed] message does not appear when I download.

Currently, WiFi mode is used as station, and download task is operated separately.
If you know the reason, please answer.

Thanks.

Re: "W (34792) wifi: post pm rx bcn failed"

Posted: Thu Mar 02, 2017 10:56 am
by dowanKim
Hi.

I'm dowanKim, also.

I found one thing.
In menuconfig ->Component config ->FreeRTOS, if 'Run FreeRTOS only on first core' is chcecked, then this phenomenon is occured.
but unchecked, no message [W (2345380) wifi: post pm rx bcn failed] .

But at some topic, i heard that if you use ota, use check this i.e freeRTOS must run on first core.
At first time, two core case, there is error to use esp_ota_begin().
Now i am using one core. in this case there is no error