Getting ShowCritical:1 print while accessing SPI Flash Memory

ritesh
Posts: 29
Joined: Thu Nov 05, 2015 4:32 pm
Location: India
Contact:

Getting ShowCritical:1 print while accessing SPI Flash Memory

Postby ritesh » Mon Sep 11, 2017 1:51 am

Hi Espressif Systems Developer,

We are working on ESP8266 based ESP-WROOM-02 module in which we are right now using ESP8266 RTOS SDK 1.5.0 for our application development.

We have almost completed application development but facing some issues in stress test.

We have used xTaskEnterCritical and xTaskExitCritical while writing data into SPI Flash memory though we have taken care to use it carefully.

So, When writing some data into SPI Flash Memory, we have seen ShowCritical:1 print statement and after that board restarted due to Watchdog Trigger.

Does anyone has faced this type of issue? Any idea to recover this issue?

It will be appreciated if any suggestions to sort out this issue or clue for this issue.
Regards,
Ritesh Prajapati

ESP_Faye
Posts: 1623
Joined: Mon Oct 27, 2014 11:08 am

Re: Getting ShowCritical:1 print while accessing SPI Flash Memory

Postby ESP_Faye » Tue Sep 12, 2017 2:21 pm

Hi,

Please remove the xTaskEnterCritical and xTaskExitCritical, and test it again.

The spi flash write has already had the xTaskEnterCritical and xTaskExitCritical inside.

Thanks for your interest in ESP8266 !

Jamartox
Posts: 11
Joined: Tue Sep 12, 2017 2:09 am

View first unread post

Postby Jamartox » Sat Sep 16, 2017 6:47 pm

Does anyone use Tapatalk and do you have a view first unread post option? I did a search and theres one in the app apparently, but I cant see it?


Sent from my iPad using Tapatalk

Who is online

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