dji-firmware-tools
dji-firmware-tools copied to clipboard
DJI Mini2 Battery : how to clear [TCA] and [TDA] Alarm bits
Battery not charged - all leds flashing 3 times per second. I replace battery elements and when use this command:
$./comm_sbs_bqctrl.py -vvv --dev_address 0x0b -c BQ40z307 -b smbus:1 --short monitor StatusBits
Opening smbus:1 Importing comm_sbs_chips/BQ40z307.py Reading simple command at addr=0xb, cmd=0x3, type=uint16, opts={'subcmd': None} Raw BatteryMode response: 0x6001 BatteryMode: 0x6001 bitfields Battery modes and capabilities [ CapM=0][ ChgM=1][ AM=1][ Rsvd=0][ Rsvd=0][ Rsvd=0][ PB=0][ CC=0] [ CF=0][ Rsvd=0][ Rsvd=0][ Rsvd=0][ Rsvd=0][ Rsvd=0][ PBS=0][ ICC=1] Reading simple command at addr=0xb, cmd=0x16, type=uint16, opts={'subcmd': None} Raw BatteryStatus response: 0x48c0 BatteryStatus: 0x48c0 bitfields Battery's Alarm and Status bit flags [ OCA=0][ TCA=1][ ResD=0][ OTA=0][ TDA=1][ ResA=0][ RCA=0][ RTA=0] [ INIT=1][ DSG=1][ FC=0][ FD=0][ EC=0]
I think the problem is [ TCA=1] and [ TDA=1]. No problem to unseal BQ chip, but can't find how to clear this flags. Any help please