Search found 143 matches

by gunar.kroeger
Tue Oct 08, 2019 3:33 pm
Forum: ESP-IDF
Topic: Increase SD frequency clock with SPI mode to 40MHz
Replies: 5
Views: 8202

Increase SD frequency clock with SPI mode to 40MHz

Hi, I'm trying to increase the frequency clock of my SD card to 40MHz. I have a SD card class 10 and UHS-I , which is supposed to work with clock speeds up to 50MHz, according to this https://panasonic.net/cns/sdcard/industrial_sd/performance.html I am defining the host as presented below: sdmmc_hos...
by gunar.kroeger
Thu Sep 26, 2019 7:05 pm
Forum: General Discussion
Topic: ESP_LOG giving a panic error
Replies: 7
Views: 7803

Re: ESP_LOG giving a panic error

you can't call logging library from inside an interrupt. For debugging, try to toggle a LED or another gpio.
by gunar.kroeger
Wed Sep 25, 2019 9:26 pm
Forum: General Discussion
Topic: Flashing an ESP32 with another ESP32
Replies: 6
Views: 8741

Re: Flashing an ESP32 with another ESP32

Hi @PeterR, If you could send your source it would help a lot! We are already working on a solution based on the OTA example, but being able to flash the espB without it having any firmware on it would be more flexible and would speed up production as well. Please let me know if you can send me the ...
by gunar.kroeger
Wed Sep 25, 2019 4:19 pm
Forum: General Discussion
Topic: Flashing an ESP32 with another ESP32
Replies: 6
Views: 8741

Flashing an ESP32 with another ESP32

We have 2 esp32 connected through UART. Let's call them esp32A and esp32B. esp32A has a SD card connected with the firmware.bin for esp32B. esp32A also has connection to the reset and boot pins of esp32B. How can I port the protocol implemented by esptool.py to flash firmware.bin into esp32b? the si...
by gunar.kroeger
Wed Aug 28, 2019 4:42 pm
Forum: ESP-IDF
Topic: Firmware update with LwM2M.
Replies: 1
Views: 3440

Re: Firmware update with LwM2M.

I'm also interested in this topic. Have you been able to do something with LwM2M yet?
I found this post: http://uhurumkate.blogspot.com/2019/02/ ... lwm2m.html but he does not share his code I think
by gunar.kroeger
Fri Aug 16, 2019 6:06 pm
Forum: ESP-IDF
Topic: Problems porting Reliance Edge File System to ESP32 - No Persistence
Replies: 0
Views: 2025

Problems porting Reliance Edge File System to ESP32 - No Persistence

I'm trying use the Reliance Edge library to a project I'm developing with ESP32, which is a fail-safe file system for SD cards. I have found a GitHub project that ports the library to ESP32, but I'm having some issues trying to persist a written file. My application is just initializing the port lib...
by gunar.kroeger
Mon Jun 03, 2019 2:31 pm
Forum: General Discussion
Topic: What is the best practice for push-button event tracking/handling without any hardware debouncing circuit
Replies: 7
Views: 19685

Re: What is the best practice for push-button event tracking/handling without any hardware debouncing circuit

Sorry, I missed the dual functionality for long pressing the button. How about: - Checking for interrupts on rising and falling edge - onButtonPress => save esp_log_timestamp to uint32_t pressTimestamp; - onButtonRelease => save esp_log_timestamp to uint32_t releaseTimestamp; uint32_t pressMs = rele...
by gunar.kroeger
Mon Jun 03, 2019 2:22 pm
Forum: General Discussion
Topic: ESP32 BLE or Bluetooth Classic ?
Replies: 1
Views: 2500

Re: ESP32 BLE or Bluetooth Classic ?

Both are perfectly suitable. BLE shall give you better power efficiency.
Classic SPP is easier to implement/understand.

But your application looks really close to a BLE example.
by gunar.kroeger
Fri May 31, 2019 8:18 pm
Forum: General Discussion
Topic: What happens with SD card if it gets unpowered during write?
Replies: 10
Views: 10910

Re: What happens with SD card if it gets unpowered during write?

Well I'm just giving if I find better alternatives haha, Thanks for the suggestions mikemoy. Good supercaps are indeed expensive ): I've found this alternative https://www.freertos.org/FreeRTOS-Plus/Fail_Safe_File_System/Reliance_Edge_Fail_Safe_File_System.shtml wonder how hard it would be to implem...