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

1
Bus Pirate Support / Everything returned 0xFF, please advice
I want to Write 0x0F at address 0x0054 on EEPROM, but I don't know why it did not work.

I2C> (1)
Searching I2C address space. Found devices at:


I2C> (2)
Sniffer
Any key to exit
[[][][[0xA0+0x00+0x40+0xA5+][0xA0+0x00+0x41+0x5A+][0xA0+0x00+0x42+0x00+][0xA0+0x
00+0x43+0x01+][0xA0+0x00+0x44+0x01+][0xA0+0x00+0x45+0x00+][0xA0+0x00+0x46+0x00+]
[0xA0+0x00+0x47+0x00+][0xA0+0x00+0x50+0xA5+][0xA0+0x00+0x51+0x5A+][0xA0+0x00+0x5
2+0x01+][0xA0+0x00+0x53+0x11+][0xA0+0x00+0x54+0x07+][0xA0+0x00+0x55+0x00+][0xA0+
0x00+0x56+0x00+][0xA0+0x00+0x57+0x00+][0xA0+0x00+0x58+0x00+][0xA0+0x00+0x59+0x00
+][0xA0+0x00+0x5A+0x00+][0xA0+0x00+0x5B+0x00+][0xA0+0x00+0x5C+0x01+][0xA0+0x00+0
x5D+0x00+][0xA0+0x00+0x5E+0x00+][0xA0+0x00+0x5F+0x00+][0xA0+0x00+0x60+0x00+][0xA
0+0x00+0x61+0x00+][0xA0+0x00+0x62+0x00+][0xA0+0x00+0x63+0x00+]


I2C> =0X54
0x54 = 84 = 0b01010100



I2C> [0b01010100 r:1]
I2C START BIT
WRITE: 0x54 NACK
READ: 0xFF
NACK
I2C STOP BIT
I2C>
I2C>

I2C> [0b10100000 0 84 r]
I2C START BIT
WRITE: 0xA0 NACK
WRITE: 0x00 NACK
WRITE: 0x54 NACK
READ: 0xFF
NACK
I2C STOP BIT
I2C>
0X54 should be 0x07, but it returned 0xFF

I want to Write 0x0F at address 0x0054 on EEPROM.
Before doing that, I want to read the current record at address 0x0054,  I don't know why it did not work.

Please advice,

Thanks

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