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 - andersm

1
Bus Pirate Support / Problems with I2C binary mode write-read
I'm having problems getting the I2C binary mode write-read command to work. I can successfully communicate with my device using both terminal mode and the simple binary mode commands, but I can't read any data using the write-read command.

Using a logic analyzer I can see that the device address is written and acknowledged, but when reading the Bus Pirate never ACKs any of the incoming bytes. I've tested with a BP3 and a BP4 (both running firmware 6.1), using my own code based on libusbpirate and by entering the commands manually into Hercules. Any suggestions will be greatly appreciated (even a "works for me"), as I've run out of ideas.

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