Reply To: Anyone want to dump their programmed L336 remote flash chip? (raspberry pi)
NewHome › Forums › OSSC, OSSC Pro and DExx-vd isl › OSSC – DIY & Repair Support › Anyone want to dump their programmed L336 remote flash chip? (raspberry pi) › Reply To: Anyone want to dump their programmed L336 remote flash chip? (raspberry pi)
April 20, 2017 at 5:25 AM
#12503
OK sorry for the delay in these instructions.
- Remove remote batteries
- Use some kind of spudger or plastic tool to go around the edge and open the remote (all plastic clips, careful not to break them)
- There are 2 chips, locate the flash, it should be a 24C16N (If it’s not a 16 we can probably still dump it just different command)
- Take your pi, turn on the i2c bus in
sudo rasbpi-config, reboot. - Get the i2c tools:
sudo apt-get install i2c-tools - Pinout is:
- 4 – GND
- 5 – SDA
- 6 – SCL
- 8 VCC
- Hook up 4 wires to pi with a clip or by solder
- pi pinout: https://pinout.xyz/
- pin 1 is 3.3V, pin 3 is SDA, pin 5 is SCL, pin 6 is GND on pi
- run
sudo i2cdetect -y 0, you should see addresses 50 through 57 light up in the output. - dump the flash:
for i in 50 51 52 53 54 55 56 57; do sudo ./eeprog /dev/i2c-0 0x$i -r 0:256 -f -o 0x$i-2.bin; done - zip up all the
0x5*.binfiles, upload em somewhere, and I’ll let you know if it works!
Edit: Here’s a datasheet: http://pdf1.alldatasheet.com/datasheet-pdf/view/175224/ATMEL/AT24C16N-10SA-2.7C.html
