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 - curly.drew

1
Bus Pirate Support / Python Bus Pirate Wrapper (CLI)
Does anyone think that a software wrapper for the Bus Pirate would be of any particular use? What I'm thinking of is python scripts to handle the serial communication and act as a middle man in communications with the Bus Pirate. So rather than using single character commands ("?") you'd type something like "BPUtils --help". As far as I can think there are a few benefits to doing this;


1. A command line wrapper could provide more verbose command interactions, help information etc.

   1.1 Commands would be more readable and memorable


2. Shell scripts could be simplified by the use of a wrapper

   2.1 Piping data to and from the Bus Pirate could be handled either in a static command → result format or as an opaque or transparent session. (Making the process easier for users new to scripting)


3. Common interface for access collisions regardless of platform (may be useful for further (cross platform) software)



4. Cross platform availability can be maintained
 while increasing ease of use.

As well as the above, utilities relevant from the computers stand point could be included, such as  an option to resolve connected Bus Pirates. I'm a Java developer who is new to python and has not used the Bus Pirate extensively, so any comments and criticism welcome.

Thanks,
Drew

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01092249288session_write_close ( )...(null):0
20.01112380880ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01122381656Database_MySQL->query( ).../DatabaseHandler.php:119
40.05582520384Database_MySQL->error( ).../Db-mysql.class.php:273