Search found 29 matches

by MichaelS
Sat Nov 16, 2024 7:09 am
Forum: General Discussion
Topic: Enabling PSRAM breaks my OTA over HTTPS
Replies: 0
Views: 482

Enabling PSRAM breaks my OTA over HTTPS

I have a problem using PSRAM. Actually just enabling PSRAM in Menu config, but not actually using it. I have configured - ESP PSRAM Support for external SPI-connected RAM - Selected Octal Mode PSRAM - set SPI RAM accerss method to Make RAM allocatable using heap_caps_malloc(..., MALLOC_CAP_SPIRAM) I...
by MichaelS
Thu Nov 14, 2024 9:28 pm
Forum: General Discussion
Topic: How to use PSRAM on ESP32-S3 NON VOLATILE to CPU reset in IDF
Replies: 2
Views: 587

How to use PSRAM on ESP32-S3 NON VOLATILE to CPU reset in IDF

Hi I have a project using ESP32-S3 modules and IDF. I want to use the PSRAM as memory which is non volatile across a CPU reset. I understand it is NOT non volatile over a power loss. I want to be able to store data records in a FIFO type structure. What is the best strategy for doing this? A VFS RAM...
by MichaelS
Sun Oct 27, 2024 9:41 pm
Forum: General Discussion
Topic: How to "unset" pins assigned to a UART
Replies: 2
Views: 860

Re: How to "unset" pins assigned to a UART

Thank you. I searched the API spec back and forth but somehow completely missed this.
by MichaelS
Sat Oct 26, 2024 5:52 am
Forum: General Discussion
Topic: How to "unset" pins assigned to a UART
Replies: 2
Views: 860

How to "unset" pins assigned to a UART

Hi I need to multiplex a serial port to drive 3 separate physical serial interfaces with separate baud rate setting etc. My application is the master and polls the 3 devices so can manage only talking to one device at a time. I have plenty of GPIO spare so rather than add gate hardware to enable and...
by MichaelS
Tue Oct 22, 2024 5:33 am
Forum: General Discussion
Topic: How to update the project build date and time in the bin file header without make clean and full build.
Replies: 10
Views: 3578

Re: How to update the project build date and time in the bin file header without make clean and full build.

I need the header block in the .bin file which contains the version number, build date and build time to update. As I have said a few times it does not update unless I do a "clean build". This header record at the start of the BIN file is referenced by my OTA code as part of the update management. Y...
by MichaelS
Sat Oct 12, 2024 4:01 am
Forum: General Discussion
Topic: How to update the project build date and time in the bin file header without make clean and full build.
Replies: 10
Views: 3578

Re: How to update the project build date and time in the bin file header without make clean and full build.

Thanks but as I said, I already have this solution for MY code, my question is regarding the the IDF framework which generates the bin file header as used in OTA.
Does anyone from Espressif service this forum? :cry:
by MichaelS
Thu Oct 03, 2024 10:57 pm
Forum: General Discussion
Topic: How to update the project build date and time in the bin file header without make clean and full build.
Replies: 10
Views: 3578

Re: How to update the project build date and time in the bin file header without make clean and full build.

My questions was specifically "I am using OTA via HTTPS and am referencing the bin file header build date and time so I need this to be correct for management purposes." Obviously the bin header file is not part of main.c

Someone from Espressif must be able to answer this question PLEASE!
by MichaelS
Thu Oct 03, 2024 3:35 am
Forum: General Discussion
Topic: How to update the project build date and time in the bin file header without make clean and full build.
Replies: 10
Views: 3578

Re: How to update the project build date and time in the bin file header without make clean and full build.

Gee that would be great and what I expected originally. But it is not the case. I have a file called super.cpp which references __DATE__ and __TIME__ If i only change main and then rebuild the project (not clean build), the date and time referenced in super.cpp do not update, (as the contents of sup...
by MichaelS
Mon Sep 30, 2024 10:49 pm
Forum: General Discussion
Topic: How to update the project build date and time in the bin file header without make clean and full build.
Replies: 10
Views: 3578

Re: How to update the project build date and time in the bin file header without make clean and full build.

Thanks for responding. I don't understand your response though. I have to make a change to a file which uses __DATE__ or __TIME__ to get it to recompile this specific file otherwise they do not update. Making changes to another file will build that file but not globally update __DATE__ and __TIME__?...
by MichaelS
Mon Sep 30, 2024 3:28 am
Forum: General Discussion
Topic: How to update the project build date and time in the bin file header without make clean and full build.
Replies: 10
Views: 3578

How to update the project build date and time in the bin file header without make clean and full build.

I am using ESP IDF version 5.3. If I do a make clean and full build , the build date and time is updated in my project where I reference __DATE__ and __TIME__ as well as in the project bin file header. But if I don't do a full build, the build date and time do not update. I know which file I need to...