Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - Fake0Name

1
Bus Pirate Support / Determine bus-pirate mode without toggling IO?
I'm working on an application that uses a bus-pirate as a test SPI interface.

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.