Search found 11 matches

by leemoore1966
Thu Oct 10, 2024 10:27 am
Forum: General Discussion
Topic: Lock up state watchdog
Replies: 2
Views: 783

Re: Lock up state watchdog

Not much response - will try the github issue tracker
by leemoore1966
Wed Oct 09, 2024 8:12 am
Forum: General Discussion
Topic: Lock up state watchdog
Replies: 2
Views: 783

Lock up state watchdog

Hi All I have a very confusing scenario, I am running esp-idf 4.4.7 on an esp32-s3. I run wifi as an APSTA. Occationally I get into some kind of lockup loop where the scheduling is not running as expected, I get backtraces from CPU0 and CPU1 from tasks not created by me, here is the back trace from ...
by leemoore1966
Fri Sep 01, 2023 7:36 am
Forum: ESP-IDF
Topic: Using OTA with multi-partition application
Replies: 6
Views: 5466

Re: Using OTA with multi-partition application

@mbratch Many thanks for your pointers, I finally got this implemented. Just a note for anyone reading, I made a silly mistake of using the API call of esp_partition_find_first() incorrectly I simply called with const esp_partition_t *part = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, ESP_PART...
by leemoore1966
Mon Aug 28, 2023 8:21 am
Forum: ESP-IDF
Topic: sdkconfig, partitions.csv, esptool.py
Replies: 2
Views: 1096

Re: sdkconfig, partitions.csv, esptool.py

CONFIG_PARTITION_TABLE_OFFSET=0x10000 and factory, app, factory, 0x010000 , 1M, Looks like a conflict where the partition table and the application both want to reside at address 0x10000. I guess you'll have to move all partitions after the partition table up by 64kb. I did try this, and unfortunat...
by leemoore1966
Sun Aug 27, 2023 12:01 pm
Forum: ESP-IDF
Topic: sdkconfig, partitions.csv, esptool.py
Replies: 2
Views: 1096

sdkconfig, partitions.csv, esptool.py

Hi All, I have got myself into a very confusing situation. Partly I think my issue is that I have taken a lot of boilerplate code from other projects, without fully understanding the underlying usage. I am having issues building and writing to my device, having had to change the settings of the loca...
by leemoore1966
Fri Jun 30, 2023 10:34 am
Forum: ESP-IDF
Topic: APSTA Mode and SNTP
Replies: 0
Views: 1086

APSTA Mode and SNTP

Hi All I hope I am posting in the correct part of the forum! I have an example which sets up the WiFi in APSTA mode. It creates a local SoftAP, and also connects to a Station - I seem to have this working correctly I am now trying to integrate the code here to obtain WireGuard capability to a remote...
by leemoore1966
Mon Apr 17, 2023 12:04 pm
Forum: ESP-IDF
Topic: v4.1 to v4.2 - esp_timer issue
Replies: 0
Views: 746

v4.1 to v4.2 - esp_timer issue

Hi All I have a large codebase running on v4.1 of esp-idf. I need to add a feature that requires moving to v4.2 If I rebuild my code under v4.2, when I run I keep getting a PANIC in the esp_timer thread Firstly, I do not start this thread, so I am assuming this is a system level thread. I do not hav...
by leemoore1966
Mon Apr 17, 2023 10:18 am
Forum: ESP-IDF
Topic: Using OTA with multi-partition application
Replies: 6
Views: 5466

Re: Using OTA with multi-partition application

Many thanks for your comprehensive response.

I was also wondering about the redundant copy of the SPIFFS in the program binary, luckily I am in a similar situation to yourself that, the convenience of this approach outweighs the redundant data
many thanks

Lee
by leemoore1966
Thu Apr 06, 2023 1:13 pm
Forum: ESP-IDF
Topic: Using OTA with multi-partition application
Replies: 6
Views: 5466

Re: Using OTA with multi-partition application

@mbratch

Hi, did you find a solution to your problem ?
I have exactly the same requirement, I need to update my code AND the html/js files which are in a spiffs file system
I would be very interested if you were able to solve your issue, having great difficulty finding a solution
Thx
Lee
by leemoore1966
Mon Feb 17, 2020 8:00 pm
Forum: General Discussion
Topic: Redircting STDOUT
Replies: 4
Views: 10011

Re: Redircting STDOUT

To redirect stdout, you can simply reassign stdout to a new FILE* stream. An example of this can be found in https://esp32.com/viewtopic.php?f=13&t=13997&p=55141#p55141. (The specific example redirects to app_trace, in your case it will be something different). If only writing is required, you can ...