-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
idf_monitor.py: allow monitor without resetting target (IDFGH-5963) #7651
Comments
Hi @bugadani. Your request about connecting However, please explain how this relates to esptool used for flashing. After flashing the chip, you need to restart it so the uploaded firmware could start executing. It is possible to keep the chip in bootloader mode and not reset it but that is unusable for you because the firmware won't be executed at all. The update of esptool from v3.0 to v3.1 is not changing the behaviour of |
@dobairoland I didn't mention flashing at all, since in my use case, there is no flashing involved. The target device is up and running, and has been running for some time when I would like to connect the monitor. I might be confusing the exact tools involved, though I hope that's not an issue here. I think I was confusing this together with an unrelated issue that did involve esptool.py. Anyway, I've updated the issue accordingly, hopefully now with the correct script. |
Thanks for the clarification! |
…ing the chip target upon connection Closes espressif/esp-idf#8889 Closes IDFGH-7189, IDFGH-7301, IDFGH-5963 Closes espressif/esp-idf#7651 Merges espressif/esp-idf#8788
Is your feature request related to a problem? Please describe.
We have some bugs that occur after a long uptime. It would help if monitor would not reset our system when connected.
Describe the solution you'd like
A new command line switch (e.g.
idf.py monitor --running
) that would monitor the serial output of a running target without requiring establishing a connection.Describe alternatives you've considered
idf_monitor.py
shipped with esp-idf 4.2 worked well. We started monitor without connecting the debug wires, then connected our device. Unfortunately, with esp-idf v4.3, the tool requires a connection, therefore it can't be used this way.The text was updated successfully, but these errors were encountered: