Search found 31 matches

by timredfern
Thu Apr 15, 2021 1:41 pm
Forum: General Discussion
Topic: mainlining the ESP-hosted driver
Replies: 1
Views: 3133

mainlining the ESP-hosted driver

I look with interest at the ESP-hosted project ( https://github.com/espressif/esp-hosted ) this represents a high performing, low cost solution for embedded linux networking. The driver code doesn't however compile against the current RPi kernel, So I'm wondering about Espressif's long term plans fo...
by timredfern
Wed Aug 05, 2020 1:37 pm
Forum: ESP-IDF
Topic: wear leveling support in FATFS
Replies: 2
Views: 4335

Re: wear leveling support in FATFS

I think what I'm seeing is that fatFS performs wear levelling at the block level and zeroes the rest of the block, although I still see that it often writes to the same block. I think the algorithm for wear levelling with FATFS is performs far worse in speed and wear protection than that used for NV...
by timredfern
Tue Aug 04, 2020 3:37 pm
Forum: ESP-IDF
Topic: wear leveling support in FATFS
Replies: 2
Views: 4335

wear leveling support in FATFS

Hello, I'm trying to configure FATFS wear leveling support for a product. I'm trying to verify wear leveling by reading back the partition data and confirming that writing the same file more than one time leaves multiple copies in flash storage. With NVS and SPIFFS partitions, this is the case.. Loo...
by timredfern
Thu Aug 01, 2019 2:48 pm
Forum: ESP-IDF
Topic: watchdog timeout triggered by error in ieee80211_output.c
Replies: 1
Views: 3321

watchdog timeout triggered by error in ieee80211_output.c

I'm seeing an error in ESP32 code seemingly causing the WiFi task hanging and triggering a watchdog timeout. It happens when a client connects to the ESP32 webserver. I'm seeing this console output: E (59990) wifi: ieee80211_output.c 552 Task watchdog got triggered. The following tasks did not reset...
by timredfern
Fri Apr 26, 2019 9:52 am
Forum: ESP-IDF
Topic: PTK / GTK "it may be an attack, ignor it" connection failure with esp-idf v3.1
Replies: 1
Views: 4457

PTK / GTK "it may be an attack, ignor it" connection failure with esp-idf v3.1

We're seeing the following error randomly when ESP32 tries to connects to a particular WiFi router: I (196641) wpa: PTK has been installed, it may be an attack, ignor it. I (196645) wpa: GTK has been installed, it may be an attack, ignor it. The connection then fails although the credentials are cor...
by timredfern
Thu Aug 23, 2018 9:10 am
Forum: ESP-IDF
Topic: WDT resets with reduced logging level
Replies: 3
Views: 8491

Re: WDT resets with reduced logging level

Hi Kolban thanks, this is very helpful. The WDT timeout is set to the default, 5 seconds. My code only starts new tasks during bootup, but I think functions that invoke other hardware systems could have a similar effect? So in this scenario, a timeout can be be caused where: - a new task is spawned ...
by timredfern
Wed Aug 22, 2018 10:42 am
Forum: ESP-IDF
Topic: WDT resets with reduced logging level
Replies: 3
Views: 8491

WDT resets with reduced logging level

I'm doing long term tests for a firmware release, I'm seeing a strange phenomenon, posting to see if it rings a bell for anyone: With otherwise identical firmware, when I disable console logging, the firmware experiences periodic WDT resets (from every few minutes to several hours). If logging is re...
by timredfern
Wed Jun 20, 2018 8:55 am
Forum: ESP-IDF
Topic: spi_flash in custom bootloader
Replies: 4
Views: 7622

Re: spi_flash in custom bootloader

The headers for these functions are in include_priv rather than include - does anyone know the significance of this? I see the source code is included.
by timredfern
Wed Jun 20, 2018 8:26 am
Forum: ESP-IDF
Topic: spi_flash in custom bootloader
Replies: 4
Views: 7622

Re: spi_flash in custom bootloader

Thanks!
by timredfern
Tue Jun 19, 2018 5:12 pm
Forum: ESP-IDF
Topic: spi_flash in custom bootloader
Replies: 4
Views: 7622

spi_flash in custom bootloader

I'm trying to customise the ESP32 bootloader in order to implement a rollback mechanism. I'm a little confused as to how the bootloader build system works.. I see in components/bootloader/subproject/Makefile the list of COMPONENTS: :- includes bootloader_support, log, spi_flash etc.. and the functio...