Skip to content
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

Can't exit espflash if firmware is stuck #404

Closed
bugadani opened this issue May 11, 2023 · 2 comments
Closed

Can't exit espflash if firmware is stuck #404

bugadani opened this issue May 11, 2023 · 2 comments

Comments

@bugadani
Copy link
Contributor

The exact cause is unknown at this point, but here is the setup:

The serial output includes the bootloader messages and the "Hello, world!" printed from the main task, but does not include the state printing a few lines below. In this state (i.e. probably while stuck in Board::initialize, which is trying to configure a display over SPI, but disregarding the bug in my code), espflash doesn't react to Ctrl+C or Ctrl+R and does not exit.

Manually resetting the MCU exits espflash and then the terminal prints the control characters:
image

@bugadani
Copy link
Contributor Author

And just after posting this, the problem goes away by itself, of course...

@cacharle
Copy link

I have the same issue on Alacritty and the default terminal of RaspberryPiOS. Only way to stop espflash is to kill it in another terminal.

It doesn't even stop on SIGQUIT Ctrl+\.

Anyone knows a fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants