karosium / smbusb

USB SMBus Interface
GNU Lesser General Public License v2.1
146 stars 43 forks source link

Can we use this solution to reset a laptop battery? #23

Closed cptX closed 4 years ago

cptX commented 4 years ago

Hi, can we use this solution to reset / reprogram a laptop battery? It' s not clear to me if this is only for reading the data of the battery or being able to write to the chip too.

karosium commented 4 years ago

There are tools for reading and writing raw binary images of the program and data flash on the controllers but changing those to achieve a desired effect is up to the user. You can find more information in the original blog posts linked at the bottom of http://www.karosium.com/p/smbusb.html and the comments left on them.

cptX commented 4 years ago

So is your solution here able to write to the chip (to the SMBUS in general)?

karosium commented 4 years ago

This project has tools that can read, erase and write flash memory on bq8030, m37512 and r2j240 battery controller chips via SMBus when the chips are in bootrom mode. It's not a generic tool if that's what you mean.