Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Development => Topic started by: leonerd on October 25, 2014, 02:19:12 pm

Title: Binary virtual machine mode
Post by: leonerd on October 25, 2014, 02:19:12 pm
Hi all,

I have something of a crazy idea here.

I'm aware of the BASIC scripting engine in Terminal mode, but it seems nothing so similar is available to binary IO users. I wonder if it would be possible to implement a simple "virtual machine" within the PIC to allow binary IO programs to submit a simple helper script to the Bus Pirate. This could allow both a more efficient IO scheme than GPIO bit-banging in a lot of custom cases, and could even allow things that cannot currently be done now.

Two things that come to mind that I have wanted are:


Two examples here then; one of something a VM could do better, and one of something a VM would make possible at all which currently isn't.

I know it's a bit of a crazy idea, but would anyone like to think about it?

( ! ) 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.00882049936session_write_close ( )...(null):0
20.00922181528ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00922182304Database_MySQL->query( ).../DatabaseHandler.php:119
40.05512321040Database_MySQL->error( ).../Db-mysql.class.php:273