Notifications
Clear all

How to edit FCC on bq208xx, bq304xx, sn803xx chips

rgpadi
(@rgpadi)
Active Member Customer

Hello everyone . I have a battery DELL J1KND. Everything reads perfectly and battery charging and discharging, but there is a problem ,, Full Charge Capacity = 65514 mAh,, but the nominal 4400mAh .I'm trying to change ,,FCC,, in a tab ,,Reset,,but it doesn't help. How can i fix it?

IMG 2790
1
22
Quote
Topic starter Posted : 03/06/2021 5:06 pm
Nicusor
(@azzido)
Member Admin

One option would be to read the EEPROM, save it to a file and edit it with a hex view by searching for the FCC value.

Also, you can upload it here the dump file.

NLBA Laptop Battery Analyzer with Chip Reset & Repair Option

ReplyQuote
Posted : 03/06/2021 8:34 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator

Please paste the EEPROM file here, will fix FCC there so you could reflash it.

 

ReplyQuote
Posted : 03/06/2021 8:35 pm
rgpadi
(@rgpadi)
Active Member Customer

@djibattworkshop
>>Here is my link on EEPROM.<<
But I would like to know which program to edit it, so as not to bother you in the future.

ReplyQuote
Topic starter Posted : 03/06/2021 8:59 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator

Please find attached corrected dump. FCC was set to 4000mAh because there was no information whether cells are renewed or left used.

Anyway you will need to make relearning cycle to let the chip calculate the proper capacity.

 

ReplyQuote
Posted : 04/06/2021 2:43 pm
torture
(@torture)
Member Moderator
Posted by: @rgpadi

But I would like to know which program to edit it, so as not to bother you in the future.

You can use any HEX EDITOR software. But i don't recommend that you do it by yourself if you don't have experience. If you write wrong values you can brick the chip, and the battery can never be used again.

ReplyQuote
Posted : 04/06/2021 2:48 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator
Posted by: @rgpadi

But I would like to know which program to edit it

 Well, below is instruction how to do it.

 You could use your favorite hex editor, for example 010 Editor or WinHex or another you like.

 We will use 010 Editor in the example, you could download it here.

Open Windows Calculator and Change its mode to Programmer's view.

 

 FCC edit1
ReplyQuote
Posted : 04/06/2021 2:58 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator

 Set Decimal View and enter the FCC value in decimal format.

 In this example it's 65514.

 

 FCC edit2
ReplyQuote
Posted : 04/06/2021 3:00 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator

Change Format View to Hexadecimal, it will convert the value to machine-like representation.

 

 FCC edit3
ReplyQuote
Posted : 04/06/2021 3:02 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator

Open EEP file in the 010 Editor, press CNTRL-F and enter the value to search "FFEA".

Press Enter. It will find and stop on the first instance of value found. Press F3 to search Next instance. Confirm only one instance of FCC value is available in the file. If there are several instances available, DO NOT edit the file !

FCC edit4
 
ReplyQuote
Posted : 04/06/2021 3:06 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator

On the screenshot above it's shown that only one occurrence found at the offset 0x43 (67 in Dec). This is Ok so we proceed further.

Enter the required value of the FCC in Windows Calculator in Decimal format, then convert it to Hexadecimal.

In this example we will use FCC = 4000mAh = 0x0FA0.

Change 0xFFEA to 0x0FA0 in the 010 Editor pane, then Save the file.

You have now the dump ready to reflash the chip.

 

 FCC edit5
ReplyQuote
Posted : 04/06/2021 3:14 pm
rgpadi
(@rgpadi)
Active Member Customer

Many thanks . You helped a lot and taught me something new. Many thanks!

ReplyQuote
Topic starter Posted : 06/06/2021 3:30 pm
maro bou
(@marouane-boutchich)
Trusted Member Customer

@djibattworkshop THANK YOU FOR THE TUTO Smile  

ReplyQuote
Posted : 14/05/2022 11:40 pm
Share: