Search found 13 matches

by InterBilly
Mon May 06, 2024 12:48 pm
Forum: General Discussion
Topic: Asking for help for OTA ESP32 with a Cellular Modem and AWS
Replies: 3
Views: 1053

Re: Asking for help for OTA ESP32 with a Cellular Modem and AWS

Doing OTA is fairly easy and it doesn't really matter where the data is coming from. I made a project using CAN bus that copies the firmware from one ESP32 to another, maybe it can be of use to you. I think I got the significant parts copied here, not sure as it is a while back. // get target partit...
by InterBilly
Mon May 06, 2024 9:59 am
Forum: General Discussion
Topic: ext flash fatfs example uses internal flash
Replies: 1
Views: 566

ext flash fatfs example uses internal flash

Hi! I'm trying to use an external flash IC with my ESP32 to store some data that won't fit on the internal flash. I used the ext_flash_fatfs_example from ESP-IDF, and changed it to use SPI2 (SPI3 IO overlaps with LAN8720 connections): const spi_bus_config_t bus_config = { .mosi_io_num = 13, .miso_io...
by InterBilly
Sat Jan 13, 2024 1:35 pm
Forum: ESP-IDF
Topic: JTAG GPIO overlapping with SPI2/3 GPIO
Replies: 1
Views: 41576

JTAG GPIO overlapping with SPI2/3 GPIO

Hi, I am designing a circuit containing a ESP32-WROOM-32E, a W5500 SPI ethernet module and a pin header for JTAG debugging. I noticed the pins for JTAG debugging are: tms, tck, tdo, tdi 13, 16, 23, 12 And the pins for VSPI are: mosi, miso, sclk, cs 23, 19, 18, 5 And the pins for HSPI are: mosi, miso...
by InterBilly
Thu Jan 04, 2024 9:26 am
Forum: General Discussion
Topic: Esp32 ethernet basic not accepting DHCP offer from DNSMasq
Replies: 8
Views: 8367

Re: Esp32 ethernet basic not accepting DHCP offer from DNSMasq

After it went stale I asked this question on SO, and forgot to also post answer here after I found the solution: Even tho it looked like there was an issue in lwip, the issue was the RMII clock mode which I had set to internal via GPIO0. After setting it to external it works. The basic ethernet exam...
by InterBilly
Wed Oct 25, 2023 7:02 am
Forum: ESP-IDF
Topic: Runnable component template
Replies: 2
Views: 1598

Re: Runnable component template

Thank you! That helped a lot, stupid of me that I never noticed the test_apps folders :roll:
by InterBilly
Tue Oct 24, 2023 11:35 am
Forum: ESP-IDF
Topic: Runnable component template
Replies: 2
Views: 1598

Runnable component template

For an assignment I will need to create a lot of custom components that I will use in different IDF projects, so I wanted to create a template for this. The thing is, I also want to be able to open these components as a project and be runnable with a main.c to test/develop functionalities. Via the d...
by InterBilly
Thu Oct 12, 2023 7:37 pm
Forum: ESP-IDF
Topic: Read binary from running partition
Replies: 7
Views: 4715

Re: Read binary from running partition

Rookie mistake :( my C is rusty to say the least. It works perfectly now, thanks a lot!
by InterBilly
Thu Oct 12, 2023 9:34 am
Forum: ESP-IDF
Topic: Read binary from running partition
Replies: 7
Views: 4715

Re: Read binary from running partition

Thanks for the suggestions, now when I read the partition I can see the same data as in the .bin file so that looks good! :D Next I tried to write this data on the OTA partition of another ESP, unfortunately I'm having difficulties again: When I try to start a new OTA 'session' like this: const esp_...
by InterBilly
Tue Oct 10, 2023 7:50 am
Forum: ESP-IDF
Topic: Read binary from running partition
Replies: 7
Views: 4715

Read binary from running partition

I am working on a hobby project where I need to copy the running application from one ESP to another (but not with WIFI or ethernet). For guidance I looked at simple_ota_example from ESP-IDF and created a little test that should read the running binary per 8 bytes. However, I have no idea how I shou...
by InterBilly
Mon Sep 25, 2023 4:45 pm
Forum: General Discussion
Topic: Esp32 ethernet basic not accepting DHCP offer from DNSMasq
Replies: 8
Views: 8367

Re: Esp32 ethernet basic not accepting DHCP offer from DNSMasq

Thank you for your reply! I used a laptop, disabled wifi, set a static ip on the network interface, ran tftpd64 DHCP server on the interface and connected a second laptop. The second laptop is detected by the DHCP server and is given an ip address. When I connect the WT32_ETH01 the laptop running tf...