Need Help Debugging an ESP-NOW Project

pmi2410
Posts: 13
Joined: Sun Nov 10, 2024 6:37 pm

Need Help Debugging an ESP-NOW Project

Postby pmi2410 » Tue Feb 25, 2025 10:08 pm

I am following this tutorial - https://randomnerdtutorials.com/esp-now ... ion-esp32/. I have 2 ESP32 S3 DevKitC boards and some associated hardware to read switches using ezButton and turn on some LEDs. Board A, the Launcher, starts up just find but can't communicate with Board B, the Controller, (I get that error message) because Board B does not start up. When I hit the reet button after downloading the sketch, I get this:

Code: Select all

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x10 (RTCWDT_RTC_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x1188
load:0x403c8700,len:0x4
load:0x403c8704,len:0xbf0
load:0x403cb700,len:0x30e4
entry 0x403c88ac
If I download the sketch to print out the MAC address of the board, it works on both boards, so I assume both boards are working.

The code for both devices is pretty much the same. I have walked through the code and cannot find the divergence. Other suggestions on how to debug this issue? I had this code base working about a week ago, but with a different Board B.

Thanks

pmi2410
Posts: 13
Joined: Sun Nov 10, 2024 6:37 pm

Re: Need Help Debugging an ESP-NOW Project

Postby pmi2410 » Tue Feb 25, 2025 10:53 pm

The issue turned out to be misreading the ezButton documentation. I used the pin # in the button definition, but ezButton wants the GPIO number. Progress!

Who is online

Users browsing this forum: No registered users and 2 guests