Thank you for this detailed post.
I agree that CAN bus /TWAI is a more solid/stable solution, but by using bluetooth/wifi/ESPNOW wires don't need to be routed from the engine bay, through the firewall, to the inside of the car. On newer cars, this is not a quick or easy job and if not done ...
Search found 10 matches
- Wed Oct 08, 2025 11:17 am
- Forum: ESP-IDF
- Topic: Does ESP-HOSTED-MCU support ESPNOW?
- Replies: 2
- Views: 1373
- Mon Oct 06, 2025 8:17 pm
- Forum: ESP-IDF
- Topic: Does ESP-HOSTED-MCU support ESPNOW?
- Replies: 2
- Views: 1373
Does ESP-HOSTED-MCU support ESPNOW?
I've been working with the ESP32 P4 Function EV dev kit and LOVE the fast display updates with the MIPI DSI LCD.
This is going to be perfect for a automotive digital dash, since the P4 supports 3 TWAI controllers.
I would like to add wireless sensors for oil pressure, brake line pressure, etc using ...
This is going to be perfect for a automotive digital dash, since the P4 supports 3 TWAI controllers.
I would like to add wireless sensors for oil pressure, brake line pressure, etc using ...
- Sat Jul 06, 2024 10:51 pm
- Forum: ESP-IDF
- Topic: Flash Update using SD card & Flash Encryption
- Replies: 1
- Views: 2249
Re: Flash Update using SD card & Flash Encryption
After many hours of reading docs and testing code, as far as I can see, it is not possible to use a pre-encrypted flash bin file, using the same burned in flash encryption key that was saved to host, to update via SD card.
This is due to the verification of the app image via the "magic number ...
This is due to the verification of the app image via the "magic number ...
- Tue Jul 02, 2024 2:27 pm
- Forum: ESP-IDF
- Topic: Bootloader Size Increase when Upgrading from ESP-IDF 4.3.1 to 5.1.1
- Replies: 4
- Views: 2216
Re: Bootloader Size Increase when Upgrading from ESP-IDF 4.3.1 to 5.1.1
In "menuconfig" look for "Offset of partition table" and change it from 0x8000 to 0x10000.
That will give you enough room for flash encryption and secure boot code on the bootloader.
That will give you enough room for flash encryption and secure boot code on the bootloader.
- Tue Jul 02, 2024 2:20 pm
- Forum: ESP-IDF
- Topic: [SOLVED]OTA over SD SPI
- Replies: 3
- Views: 4469
Re: OTA over SD SPI
I have solved it myself, the problem was too little ram.
typedef struct binary_data_t {
unsigned long size;
unsigned long remaining_size;
void *data;
} binary_data_t;
size_t fpread(void *buffer, size_t size, size_t nitems, size_t offset, FILE *fp) {
if (fseek(fp, offset, SEEK_SET) != 0 ...
- Tue Jul 02, 2024 2:18 pm
- Forum: ESP-IDF
- Topic: Flash Update using SD card & Flash Encryption
- Replies: 1
- Views: 2249
Flash Update using SD card & Flash Encryption
I'm using IDF v5.2.2 on an ESP32 rev1 dev kit C.
I use the SD card to update the firmware and reboot. It works very well and is based on this code:
https://www.esp32.com/viewtopic.php?t=19364
Thank you @minze25 !
I will be enabling flash encryption and want to be able to update via the SD card ...
I use the SD card to update the firmware and reboot. It works very well and is based on this code:
https://www.esp32.com/viewtopic.php?t=19364
Thank you @minze25 !
I will be enabling flash encryption and want to be able to update via the SD card ...
- Thu Jun 20, 2024 6:09 pm
- Forum: ESP-IDF
- Topic: Update from 4.4 to 5.2 leads to linker errors
- Replies: 9
- Views: 2761
Re: Update from 4.4 to 5.2 leads to linker errors
I am fairly new to IDF and just migrated a project from IDF 4.4 to 5.2.
It also had many linking errors when the 4.4 project was opened in 5.2
My solution was to create a new project in IDF 5.2 using the template-app and copy over the source code.
It did have a few different #include errors, but ...
It also had many linking errors when the 4.4 project was opened in 5.2
My solution was to create a new project in IDF 5.2 using the template-app and copy over the source code.
It did have a few different #include errors, but ...
- Tue Jun 18, 2024 4:19 pm
- Forum: ESP-IDF
- Topic: IDF Arduino as a Component Error: "undefined reference to"
- Replies: 4
- Views: 2946
Re: IDF Arduino as a Component Error: "undefined reference to"
Thanks for this!
I've seen this on a few programs and will now spend some time to understand it better.
I've seen this on a few programs and will now spend some time to understand it better.
- Fri May 10, 2024 2:48 pm
- Forum: ESP-IDF
- Topic: IDF Arduino as a Component Error: "undefined reference to"
- Replies: 4
- Views: 2946
Re: IDF Arduino as a Component Error: "undefined reference to"
Thanks for your suggestions.
I went back the next day and had a close look.
You were right, I missed CAN.c.
I renamed it CAN.cpp and added it to the CMakeLists.txt.
All is working well now!
Thanks you!
I went back the next day and had a close look.
You were right, I missed CAN.c.
I renamed it CAN.cpp and added it to the CMakeLists.txt.
All is working well now!
Thanks you!
- Thu May 09, 2024 1:40 am
- Forum: ESP-IDF
- Topic: IDF Arduino as a Component Error: "undefined reference to"
- Replies: 4
- Views: 2946
IDF Arduino as a Component Error: "undefined reference to"
I think this is a C/C++ difference issue, but don't know enough about C/C++ to know what to do :(
I am working with the Arduino library: https://github.com/miwagner/ESP32-Arduino-CAN
The example program in "esp32can_basic.ino" compiles without errors and runs in the Arduino IDE.
I have brought ...
I am working with the Arduino library: https://github.com/miwagner/ESP32-Arduino-CAN
The example program in "esp32can_basic.ino" compiles without errors and runs in the Arduino IDE.
I have brought ...