I was able to write in the eeprom
Code: Select all
#URL to read the first 128 bytes
http://172.17.10.253/read?format=0&device=80&size=128&addr=0
0000: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................................
0020: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................................
0040: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................................
0060: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................................
# URL to write 41 at @0x20
http://172.17.10.253/write?device=80&addr=20&data=41
#URL to read the first 128 bytes
http://172.17.10.253/read?format=0&device=80&size=128&addr=0
0000: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................................
0020: 41 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF A...............................
0040: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................................
0060: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................................
# URL to write back FF
http://172.17.10.253/write?device=80&addr=20&data=41
To do that, I just connected WP to GND. BUT, I did that directly on the chip, not on the connector holes.
The signal WP on the connector is connected :
1- directly to the ARM, with a 4.7k pull-up to VCC
2- to the 24512 througth a 39 ohms resistor
As there is a 4.7k pull-up on this line, we can think that the output on the ARM is an open collector one; thus it would be safe to force it to GND, but I have no proof of that, and I don't wan't to burn it
And I don't explain why they placed a 39ohms resistor between, except to be able to force WP to GND directly on the chip without sinking to much current from the ARM if it's is not an open collector...
[EDIT] I also tried to force the WP-hole to GND through a 100 ohms resistor without any success : the ARM output is stronger which means that it's not an open connector...
Anyway, it is not so complicated to do so. When I'll feel more confident, I'll try to use the WP hole...
How to proceed :
- Power up you TV/BD, and wait for the boot to be complete
- Connect SDA hole to Arduino A4 with a 100 ohm resistor
- Connect SCK hole to Arduino A5 with a 100 ohm resistor
- Connect GND hole to Arduino GND
- Connect 24512 pin 7 to GND
- Issue the arduino embedded web server URLs to read or write the eeprom
I2C.png
Don't think about reading the eeprom while the BD/TV is powered off... You cannot provide 5v-power to eeprom with the 5v-hole because it is also connected to many other chips, and the SDA,SCK lines are grounded by the ARM it is off.
It is safe to access the eeprom when the unit is on, because :
- There is an eeprom cache in exeDSP. Whenever, the software needs a config param, it will read it from the cache (except at boot time); So, most of the time, the eeprom is not used.
- The 100 ohms resistors on SDA and SCK allow the ARM to use the eeprom even if Arduino is connected; But don't try to access the eeprom while modifiyng the config on your tv/bd
Currently, the Arduino sketch is able to read the whole eeprom at once, but it can only write one single byte for each command. I'll modify it to be able to write the whole eeprom at once later (at least when my unit will be bricked !)
You do not have the required permissions to view the files attached to this post.