Skip to main content

Messages

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

Messages - Darren

16
Bus Pirate Support / Re: Continious logic analyzer mode?
Hi,

Sorry for sorta highjacking this thread a little, but it gave me an idea, what about a menu option for running 'user' defined functions, like for example user functions 1-5 will goto null routines, but anyone willing to get the IDE+Compiler out and do a little coding can add there own functions to the original framework and people can post there wierd and wonderful functions to the forum

Like myself at the moment, i'm working on a little I2C sniffer for capturing at 400khz via a buffer then sending to the console after capture, I will be posting this, once i've tidied it up abit

Just an idea anyways

Back to the original question, I think what your asking is possible with a little snipet of code, but I think your always gonna have some lag sending back to the console, unless you buffer, but then the buffer will fill at some point and need to be sent back, like the logic analyzer does, I guess depends on how fast you wanna do your sampling without missing information, like for example you could transmit a 0 or 1 back to the console everytime the pin changes or capture 8 bits and send a byte back, but if the pin changes too fast, the previous byte might not of sent yet, if I've got that correct, I've only just started to dabble with the coding side :)

Darren

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