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

1
Bus Pirate Support / Re: I2C manual device discovery
Hi thanks for the links, I checked pretty much all of them before asking. :)

It turns out that the device (ATSHA204A) has a bit more complex behaviour that I thought, in particular it aggressively goes into low-power/sleep mode, and had to be woken up before communication. When running the I2C device search, it has a side effect of waking the device up, while when I communicate manually, I need to send some zero bits (I think, but not totally clear) to wake it up. Now it works manually as well, though fortunately there's a library that communicate with this chip well, so after this debugging, I don't really need manual communication.

Cheers!
2
Bus Pirate Support / [Solved] I2C manual device discovery
Hi,

I have an I2C device connected, and using the (1) macro it shows up properly in the list:

Code: [Select]
Searching I2C address space. Found devices at:
0xC8(0x64 W) 0xC9(0x64 R)

I wonder if I want to probe this device manually, what would be the manual command? Would it be this?

Code: [Select]
[0xC8

or something else? At the moment I got NACK for every request (I expected ACK), and not sure what would be the right way going about this.

Code: [Select]
I2C>[0xC8
I2C START BIT
WRITE: 0xC8 NACK
Looking at the firmware code for this macro, it should be very simple...
4
Bus Pirate Development / [Solved] Measure ADC continuous hangs
Hi, I'm using a Bus Pirate v4 that I just bought a few weeks ago. Wanted to do continuous ADC measurement in the HiZ mode (command D), and it works for a few seconds and then it hangs. Have to hard-reset the board to get it back.

I can duplicate the hang merely by connecting the GND and ADC lines together and running it for a  bit.

The vesioninfo is the following:
Code: [Select]
Bus Pirate v4
Firmware v6.0-a3
DEVID:0x1019 REVID:0x0004 (24FJ256GB106 UNK)

Any suggestions why this is happening?

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