Search found 9 matches

by battancs.zsolt
Mon May 08, 2017 7:56 pm
Forum: General Discussion
Topic: Deep slepp question - esp_deep_sleep_get_wakeup_cause
Replies: 4
Views: 7016

Re: Deep slepp question - esp_deep_sleep_get_wakeup_cause

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 Enabli...
by battancs.zsolt
Tue May 02, 2017 5:15 pm
Forum: General Discussion
Topic: Deep slepp question - esp_deep_sleep_get_wakeup_cause
Replies: 4
Views: 7016

Re: Deep slepp question - esp_deep_sleep_get_wakeup_cause

ESP_igrr wrote:Can you attach the serial output and your sdkconfig file?
Hi, Igor!

I attach the files. (sorry for pdf extension ).

Thanks,

zs
by battancs.zsolt
Tue May 02, 2017 3:24 am
Forum: General Discussion
Topic: Deep slepp question - esp_deep_sleep_get_wakeup_cause
Replies: 4
Views: 7016

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 "driver/r...
by battancs.zsolt
Sat Apr 22, 2017 4:57 am
Forum: General Discussion
Topic: SPI Flash - InstrFetchProhibited occured
Replies: 6
Views: 8776

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 big ...
by battancs.zsolt
Sat Apr 22, 2017 12:23 am
Forum: General Discussion
Topic: SPI Flash - InstrFetchProhibited occured
Replies: 6
Views: 8776

Re: SPI Flash - InstrFetchProhibited occured

Hi,

I make a git repository, for this problem:

https://github.com/Battancs/esp32_test_snippets
by battancs.zsolt
Fri Apr 21, 2017 9:17 am
Forum: General Discussion
Topic: SPI Flash - InstrFetchProhibited occured
Replies: 6
Views: 8776

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(testConfig->ssid...
by battancs.zsolt
Fri Apr 21, 2017 8:57 am
Forum: General Discussion
Topic: SPI Flash - InstrFetchProhibited occured
Replies: 6
Views: 8776

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 ret = SPIRe...
by battancs.zsolt
Thu Apr 20, 2017 2:23 pm
Forum: General Discussion
Topic: SPI Flash - InstrFetchProhibited occured
Replies: 6
Views: 8776

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? Thanks, zs
by battancs.zsolt
Tue Apr 18, 2017 6:58 am
Forum: General Discussion
Topic: gatt_server reset
Replies: 1
Views: 3787

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 at ...