1
Bus Pirate Support / Determine bus-pirate mode without toggling IO?
I have a few scripts that talk to the bus pirate using a modified version of pyBusPirate.
However, there seems to be no way to determine the current bus pirate mode (binary vs ASCII) without resetting the IO lines.
Right now, the scripts simply re-enter binary mode upon startup. However, this de-asserts CS, which is something I would really like to avoid if at all possible.
Is there an equivalent to the '?' ascii-mode command in binary mode? If so, I can simply issue that command, and check to see if there is any return, which should tell me whether I'm in binary or ASCII mode.
Ideally, there would be a command (say, 0b00001110), that returns the current command mode.