Could you please try with CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=1000?
Yes. A little better!
Still not "ESP_DEEP_SLEEP_WAKEUP_TIMER" event.
----------------------------
Wake up from GPIO 26
-----------------------------------------------------------------------------
Enabling timer wakeup, 20s ...
Search found 9 matches
- Mon May 08, 2017 7:56 pm
- Forum: General Discussion
- Topic: Deep slepp question - esp_deep_sleep_get_wakeup_cause
- Replies: 4
- Views: 7439
- Tue May 02, 2017 5:15 pm
- Forum: General Discussion
- Topic: Deep slepp question - esp_deep_sleep_get_wakeup_cause
- Replies: 4
- Views: 7439
Re: Deep slepp question - esp_deep_sleep_get_wakeup_cause
Hi, Igor!Can you attach the serial output and your sdkconfig file?
I attach the files. (sorry for pdf extension ).
Thanks,
zs
- Tue May 02, 2017 3:24 am
- Forum: General Discussion
- Topic: Deep slepp question - esp_deep_sleep_get_wakeup_cause
- Replies: 4
- Views: 7439
Deep slepp question - esp_deep_sleep_get_wakeup_cause
Hi,
I try this code(simplified deep_sleep_example_main.c)
#include <time.h>
#include <sys/time.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_deep_sleep.h"
#include "esp_log.h"
#include "esp32/ulp.h"
#include "driver/touch_pad.h"
#include "driver/adc.h"
#include ...
I try this code(simplified deep_sleep_example_main.c)
#include <time.h>
#include <sys/time.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_deep_sleep.h"
#include "esp_log.h"
#include "esp32/ulp.h"
#include "driver/touch_pad.h"
#include "driver/adc.h"
#include ...
- Sat Apr 22, 2017 4:57 am
- Forum: General Discussion
- Topic: SPI Flash - InstrFetchProhibited occured
- Replies: 6
- Views: 9430
Re: SPI Flash - InstrFetchProhibited occured
Did you check https://github.com/espressif/esp-idf/blob/master/components/spi_flash/flash_ops.c#L187
You don't want to use nvs?
Good questions!
- I try spi_flash_write, read, erase combo. The result is the same. (InstrFetchProhibited)
- In my project want (must) use simple, own filesystem with ...
You don't want to use nvs?
Good questions!
- I try spi_flash_write, read, erase combo. The result is the same. (InstrFetchProhibited)
- In my project want (must) use simple, own filesystem with ...
- Sat Apr 22, 2017 12:23 am
- Forum: General Discussion
- Topic: SPI Flash - InstrFetchProhibited occured
- Replies: 6
- Views: 9430
- Fri Apr 21, 2017 9:17 am
- Forum: General Discussion
- Topic: SPI Flash - InstrFetchProhibited occured
- Replies: 6
- Views: 9430
Re: SPI Flash - InstrFetchProhibited occured
Symptoms:
- If I call the at the beginning code(see next section), and after call any location( for exampe - modified gatt server sample) - not error!
extern "C" void app_main(void)
{
spi_flash_init();
nvs_flash_init();
/* critical section */
Config *testConfig = new Config;
sprintf ...
- If I call the at the beginning code(see next section), and after call any location( for exampe - modified gatt server sample) - not error!
extern "C" void app_main(void)
{
spi_flash_init();
nvs_flash_init();
/* critical section */
Config *testConfig = new Config;
sprintf ...
- Fri Apr 21, 2017 8:57 am
- Forum: General Discussion
- Topic: SPI Flash - InstrFetchProhibited occured
- Replies: 6
- Views: 9430
Re: SPI Flash - InstrFetchProhibited occured
Sorry for small info!
Some helper function:
#include <esp_spi_flash.h>
#include <rom/spi_flash.h>
#include "../cache_utils.h"
SpiFlashOpResult IRAM_ATTR guarded_spi_flash_read(size_t src_addr, void *dest, size_t size){
spi_flash_disable_interrupts_caches_and_other_cpu();
SpiFlashOpResult ...
Some helper function:
#include <esp_spi_flash.h>
#include <rom/spi_flash.h>
#include "../cache_utils.h"
SpiFlashOpResult IRAM_ATTR guarded_spi_flash_read(size_t src_addr, void *dest, size_t size){
spi_flash_disable_interrupts_caches_and_other_cpu();
SpiFlashOpResult ...
- Thu Apr 20, 2017 2:23 pm
- Forum: General Discussion
- Topic: SPI Flash - InstrFetchProhibited occured
- Replies: 6
- Views: 9430
SPI Flash - InstrFetchProhibited occured
Hi,
I write a small c++ code, with spi read and write.
The code throw error - "InstrFetchProhibited occured".
I read http://esp-idf.readthedocs.io/en/latest/api/storage/spi_flash.html page.
This page speak - "Concurrency Constraints".
I tried a lot, but unsuccessfully.
What do you suggest ...
I write a small c++ code, with spi read and write.
The code throw error - "InstrFetchProhibited occured".
I read http://esp-idf.readthedocs.io/en/latest/api/storage/spi_flash.html page.
This page speak - "Concurrency Constraints".
I tried a lot, but unsuccessfully.
What do you suggest ...
- Tue Apr 18, 2017 6:58 am
- Forum: General Discussion
- Topic: gatt_server reset
- Replies: 1
- Views: 4050
gatt_server reset
Hi,
I compile the sample application - gatt_server.
When I work with application, this happen:
Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)
Register dump:
PC : 0x40086d0d PS : 0x00060034 A0 : 0x80004160 A1 : 0x3ffc0530
0x40086d0d: ram_chip_i2c_readReg ...
I compile the sample application - gatt_server.
When I work with application, this happen:
Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)
Register dump:
PC : 0x40086d0d PS : 0x00060034 A0 : 0x80004160 A1 : 0x3ffc0530
0x40086d0d: ram_chip_i2c_readReg ...