-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenDTU auf ESP32 Pico Kit 4.0 does not start after power on without UART Terminal #826
Comments
The issue is maybe related to espressif/arduino-esp32#6983 I don't own such a board. Could you doublecheck what happens if you insert Serial.setTxTimeoutMs(0); directly after // Initialize serial output
Serial.begin(SERIAL_BAUDRATE); in the |
src/main.cpp: In function 'void setup()': generic FAILED 00:04:46.066 |
It appears to me that the boot process is blocked at all by something because the first lines in the terminal aftre a terminal start are not like those in the main.cpp in setup() ("Starting OpenDTU ... Initialize FS... done"), but: ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) Starting OpenDTU Maybe something in the startup code. |
I see a comparable behaviour on my Esp32 Lolin S2 mini. Plugging in the device into a USB power outlet doesn’t let it boot up. It doesn’t receive an IP and it’s not online. Only when I plug it into my computer and start a serial connection it would boot up, get an IP and the OpenDTU interface is available. Not sure what to do 😌 |
Well, I commented out the serial.begin part in main.cpp and built with vscode. Now it works from an external usb power source and there is no need to start a serial connection to boot the esp.
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns. |
What happened?
Hello,
ESP32 Pico Kit V4 was flashed after compiling (master version c 4 7 b 7 d d 3 ) with VS Code. Communication via radio module with NRF24L01+ and Hoymiles HM-600 works. However, OpenDTU only starts if a terminal program displays the data of the virtual COM interface (via USB).
To Reproduce Bug
After plugging the USB connection into the PC (without running terminal) or via an external 5V supply of the ESP32 module, the ESP32 does not start up. This means the OpenDTU IP address cannot be reached by browser.
There is no activity on the UART TxD signal nor on the signals to the radio module.
When then after some seconds a terminal program (e.g. Teraterm) is set up for the virtual COM port the monitor log of the software start is displayed. After that everything runs correctly and the live data can be displayed in the browser.
The module signals EN and IO0 are high immediately after power on and do not change their value. Hence, these signals cannot be the cause.
Expected Behavior
OpenDTU starts up without necessity of running monitor UART connection.
Install Method
Self-Compiled
What git-hash/version of OpenDTU?
c47b7dd
Relevant log/trace output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: