Exit Flashrom/AVRDude binmode from terminal?

Hello! I would like to use my Bus Pirate 5 to automate some development tasks, using multiple binmodes at different times.

I can switch to binmode BPIO2 flatbuffer interface and back out again via the text terminal interface.

However, though I can switch to binmode Legacy Binary Mode for Flashrom and AVRdude (EXPERIMENTAL), the only way I can switch back out again is by pressing the Bus Pirate’s physical button (or by unplugging/replugging the USB cable).

Would it be possible to permit switching out of the Flashrom/AVRdude binmode from the terminal, without requiring the user to physically interact with the Bus Pirate?

1 Like

I think it should be possible to a new escape command. I’m not familiar with that code, but I will have a look and see if I can add an easy exit point.

2 Likes

Done! @bz2 Sorry it took me so long to get this done. I’m active on the forum again now. It’s included in this PR with a ton of improvements. Once @ian merges it, you’ll be able to use it.

2 Likes

Sweet, thanks a bunch!!

2 Likes

Merged, and in the process tested and verified that the auto review is working again.

3 Likes