Error while loading code ESP32 #7062
Replies: 1 comment
-
Posted at 2018-01-26 by dashxdr Maybe you need to do your Serial2.setup() inside the onInit() function? The reset() function seems to not fully initialize the ESP32. But if you use ESP32.reboot() it seems to be very clean, just like a hardware poweron. If I do just reset(true); Then I can use Serial3, as in Serial3.write('foo!\r\n'); BUT SO: -Dave Posted at 2018-01-26 by dashxdr Ok the root of the problem with the
messages is in targets/esp32/jshardwareUart.c line 38 or so in function UartReset() Then reset(); ought to work fine without causing the spewing... Posted at 2018-01-27 by Alexander After you enable ESP32 connect via WIFI, reset() works without error. If you want to work via serial, you need to first make a hard reset and then connect through port, then there are no errors. Fun feature, we spent 2 days :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-01-23 by Alexander
Good day! The problem is this, when I begin to ship in esp32 code starts to take off error the port. If loading and not hung or not started endless reboot, give the command save(). The module then runs erratically or not work at all. What could be wrong?
I connected SIM800l on usart2.
CODE:
And take off that scary things
What does it all mean?
Beta Was this translation helpful? Give feedback.
All reactions