Search found 22 matches

by JanJansen47
Sat Sep 02, 2017 9:42 am
Forum: General Discussion
Topic: ESP32 core dump in flash
Replies: 3
Views: 147

ESP32 core dump in flash

In my application I get infrequent errors due to input from mqtt messages. I have two similar esp32 setups running which show the error at the same time. As it can take several days before an error occurs I try to catch it in flash to find the origin. Have an issue using the core dump in flash. My m...
by JanJansen47
Sun Jul 16, 2017 7:35 pm
Forum: General Discussion
Topic: make erase_flash affects OTA and NVS patitions
Replies: 6
Views: 421

Re: make erase_flash affects OTA and NVS patitions

thks for the hint:

Code: Select all

esp_err_t spi_flash_erase_range(size_t start_address, size_t size)


This information is in:

https://esp-idf.readthedocs.io/en/v1.0/api/spi_flash.html#functions
by JanJansen47
Sun Jul 16, 2017 7:28 pm
Forum: General Discussion
Topic: make erase_flash affects OTA and NVS patitions
Replies: 6
Views: 421

Re: make erase_flash affects OTA and NVS patitions

Thks for your reply Kolban, The erase_flash is for development only. In case you change partition sizes it's possible that some data remains. I used it initially to erase the flash when a runtime error in a program occurred. (If I remember correctly I could not flash to ota_0 at that point.) There i...
by JanJansen47
Sun Jul 16, 2017 1:03 pm
Forum: General Discussion
Topic: make erase_flash affects OTA and NVS patitions
Replies: 6
Views: 421

Re: make erase_flash affects OTA and NVS patitions

Is there a convenient way to only erase both ota partitions. E.g. an "erase_flash_ota" "coupled" to all ota partitions only. I thought about flashing an empty image in ota_0, store this empty image also on the web server. Load the target image in ota_0. Let ota_0 load the empty i...
by JanJansen47
Sun Jul 16, 2017 10:02 am
Forum: General Discussion
Topic: make erase_flash affects OTA and NVS patitions
Replies: 6
Views: 421

make erase_flash affects OTA and NVS patitions

I can' t find the exact scope of the make erase_flash command in the documentation. From tests is looks like it erases all of the flash? The application had two custom OTA partitions, uses NVS to store data and SPIFFS storage. Unfortunately it erases the NVS partition I use to store data. Is there a...
by JanJansen47
Tue Jun 20, 2017 12:29 pm
Forum: Showcase
Topic: ESP32 TFT display library
Replies: 17
Views: 4143

Re: ESP32 TFT display library

I measured the signals with a scope and found a strange signal on the SDO from TFT and Touch (same line). I disconnected the SDO connection from the TFT and directly wired it to the Touch. At least TFT and touch is working for now. ;) But it does not feel okay. So I ask the supplier. My wiring is av...
by JanJansen47
Tue Jun 20, 2017 12:13 pm
Forum: Showcase
Topic: ESP32 TFT display library
Replies: 17
Views: 4143

Re: ESP32 TFT display library

HI Loboris,

Yes I'm, controlling the backlight. As there is no drawing of the device I'm assuming ( and measured) the scl, sdi and sdo for TFT and touch are not connected to each other. I used sdo 28 connected with 32, 27 with 34 and 24 with 33.
by JanJansen47
Tue Jun 20, 2017 10:06 am
Forum: Showcase
Topic: ESP32 TFT display library
Replies: 17
Views: 4143

Re: ESP32 TFT display library

TFT Display type: ER-TFTM035-6 http://www.buydisplay.com/default/lcd-3-5-inch-320x480-tft-display-module-optl-touch-screen-w-breakout-board The TFT display works great with your new library. When I tested the XPT2046 touch controller (on-board) I did not see any response. I followed the trail from T...
by JanJansen47
Thu Jun 15, 2017 4:42 pm
Forum: ESP32 SDK
Topic: Need sample code for ILI9488 LCD on SPI Interface
Replies: 76
Views: 6521

Re: Need sample code for ILI9488 LCD on SPI Interface

Thanks Loboris,

Compilation is okay :lol:
by JanJansen47
Thu Jun 15, 2017 11:10 am
Forum: ESP32 SDK
Topic: Need sample code for ILI9488 LCD on SPI Interface
Replies: 76
Views: 6521

Re: Need sample code for ILI9488 LCD on SPI Interface

Hello Loboris, Before implementing your demo in Eclipse I followed your steps in the readme. During make I get following errors: /home/jan/ESPtest/ESP32_TFT_library-master/components/spidriver/./spi_master_lobo.c: In function 'spi_lobo_bus_initialize': /home/jan/ESPtest/ESP32_TFT_library-master/comp...