nodestark / slip-esp32-router

ESP32 Serial Line IP (SLIP) Project
1 stars 0 forks source link

Not working on ESP32 Devkit v1 #1

Open polpiantina opened 1 month ago

polpiantina commented 1 month ago

I'm trying to make this work on a fresh ESP32 Devkit v1, but the logs indicate the watchdog stopping the application during the call to app_main(). I have tried toying around with menuconfig but I've been unable to make things work. I've added a few log prints at the beginning of application_main() but they don't seem to show up, let alone make the board connect to my router (with the correct credentials). I'm leaving here two version of the logs, both regular and verbose:

nodestark commented 1 month ago

Hy friend, Try to disable interrupt watchdog on menuconfig; That error can be the 9bit reader on the thread.

Stay free to ask, and thank you for using the code!

Regards, Leonardo Soares 📲 +5561996648569

On Wed, Oct 2, 2024 at 7:27 AM polpiantina @.***> wrote:

I'm trying to make this work on a fresh ESP32 Devkit v1, but the logs indicate the watchdog stopping the application during the call to app_main(). I have tried toying around with menuconfig but I've been unable to make things work. I've added a few log prints at the beginning of application_main() but they don't seem to show up, let alone make the board connect to my router (with the correct credentials). I'm leaving here two version of the logs, both regular and verbose:

— Reply to this email directly, view it on GitHub https://github.com/nodestark/slip-esp32-router/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY57QOI5EH6AVOVSEGSA55TZZPDCPAVCNFSM6AAAAABPHMCRF2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGU3DCMRRGQZTANI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

polpiantina commented 1 month ago

Hi, thank you for the quick reply! The error seems to persist, but part of the warnings seem to have changed. Here's an updated version of the verbose log:

polpiantina commented 1 month ago

I found the issue! The data array size in the slip_packet struct is apparently too big for the ESP32 and it was preventing everything else in the code from finishing the app_main() setup. I'm temporarily setting the slip_packet _slip struct as static to ensure the rest of the code works while I look into that being a potential problem for the UART communication.