o-gs / dji-firmware-tools

Tools for handling firmwares of DJI products, with focus on quadcopters.
GNU General Public License v3.0
1.51k stars 417 forks source link

Mavic 2 Pro-Zoom Battery #196

Open scottWestveer opened 3 years ago

scottWestveer commented 3 years ago

I have a Mavic 2 Battery that was in storage too long and a cell went under voltage too far and the BMS Chip locked it out.

Opened it up hoping to use the tools to open and clear the PF flag but the BMS Chip is different. I did charge the cells individually and they all appear to be fine now, but the board still will not wake up.

I took some pictures for data to share in hopes of future support for this Battery: BMS Chip is a TI BQ9003, SCL and SDA lines are easily accessible through the connector, don't even have to open the casing it appears.. image

image

image

mefistotelis commented 3 years ago

DJI uses that chip for some time now, I'm actually working on its support right now. Its firmware claims the chip is BQ40z307, but that name seem to come from DJI and not from TI. The FW is heavily modified by DJI.

Can you take good quality photos of both sides of the board? I don't have it on the project wiki, yet.

scottWestveer commented 3 years ago

Looking at DJI's site, it appears the BQ9003 is a "NDA" version of the chip that is likely just a modified version of the standard BQ you mention.. Here are some originals that hopefully show what you are looking for. If you need something specific.. where a trace goes or something, let me know. DJI Mavic 2 Battery.zip

From TI's site, this is the schematic of the bq40z50EVM Li-Ion Battery Pack Manager Evaluation Module which appears to be close for the circuitry: image

I'm going to get out my old R-Pi, I think its a B+, and get it loaded up to try the tools. Are you using Raspbian or some other OS?

mefistotelis commented 3 years ago

Thanks.

For the OS - any Linux will do, as long as the I2C kernel module is available. You also need Python 3.5 or newer.

The chip has some differences to BQ40z50, but I haven't found a closer match yet. For example, ChargingStatus bits do not contain temperature range bits (undertemp. / std temp / high temp etc.). These are probably somewhere in another register.

alximiktik commented 3 years ago

DJI uses that chip for some time now, I'm actually working on its support right now. Its firmware claims the chip is BQ40z307, but that name seem to come from DJI and not from TI. The FW is heavily modified by DJI.

Can you take good quality photos of both sides of the board? I don't have it on the project wiki, yet.

if you need photo PCBA of any drone tell me. I will sent to you. My friend are repairing drones, i can ask him take photo

mefistotelis commented 3 years ago

@alximiktik I am interested in photos of any board which is not on my wiki. Even for those which are on the wiki - if some chip markings are not readable, I'm still interested in more photos.

For specific boards, as I'm working on batteries right now - I don't have battery boards for Mavic Air 1 & 2, Spark, Mavic Mini 1 & 2, Inspire 2.

If you choose to help me with the photos, please make sure to shoot both sides, and do it in a way which makes chip markings visible.

tecdrone commented 3 years ago

Olá amigo falo do Brasil .tbm tenho uma Assistência técnico especializa em drone dji .tenho a ev2300 e Ubrt para baterias .se precisa de placas tbm posso fazer fotos para vc

tecdrone commented 3 years ago

@alximiktik Estou interessado nas fotos de qualquer fórum que não esteja na minha wiki. Mesmo para aqueles que estão no wiki - se algumas marcas de chip não são legíveis, ainda estou interessado em mais fotos.

Para placas específicas, como estou trabalhando com baterias agora - não tenho placas de bateria para Mavic Air 1 e 2, Spark, Mavic Mini 1 e 2, Inspire 2.

Se você decidir me ajudar com as fotos, certifique-se de tirar fotos dos dois lados e faça-o de uma forma que torne as marcas visíveis.

Eu tenho placas bateria mavic air 1, Spark mavic 2 pro Phantom 4

mixeysan commented 3 years ago

@alximiktik I am interested in photos of any board which is not on my wiki. Even for those which are on the wiki - if some chip markings are not readable, I'm still interested in more photos.

For specific boards, as I'm working on batteries right now - I don't have battery boards for Mavic Air 1 & 2, Spark, Mavic Mini 1 & 2, Inspire 2.

If you choose to help me with the photos, please make sure to shoot both sides, and do it in a way which makes chip markings visible.

mefistotelis, hello my friend :) Do you need a photo of mavic 2 pro motherboard with ISP eMMC pinouts? I was interested and I bought the motherboard of the drowned drone, drew the ISP eMMC pinout and read the data from it, and also restored photos and videos from the internal memory.

tecdrone commented 3 years ago

Tenho uma bateria Mavic 2 que ficou armazenada por muito tempo e uma célula ficou sob tensão demais e o chip BMS a bloqueou.

Abri na esperança de usar as ferramentas para abrir e limpar a bandeira PF, mas o Chip BMS é diferente. Eu carreguei as células individualmente e todas parecem estar bem agora, mas a placa ainda não acorda.

Tirei algumas fotos para compartilhar dados na esperança de um suporte futuro para esta bateria: O Chip BMS é um TI BQ9003, as linhas SCL e SDA são facilmente acessíveis através do conector, nem é preciso abrir a caixa que aparece .. imagem

imagem

imagem

Amigo você pode remoVer PF pelo programa UBRT uso sempre . Meu whatsapp +55 8198734-0010

mixeysan commented 3 years ago

U can use cp2112 adapter and simple soft DJI battery killer 4.jpg http://master-club.org/drone/software/ Http, not HTTPS server

radenrezky commented 3 years ago

U can use cp2112 adapter and simple soft DJI battery killer 4.jpg http://master-club.org/drone/DJi_Battery_Killer_with_dll_13.06.2021.7z

can you share the link.. i need this for my Mavic 2 Pro battery (unseal + clear PF + seal)

mixeysan commented 3 years ago

http://master-club.org/drone/DJi_Battery_Killer_with_dll_26.06.2021.7z

http, not https server8 (1).png

mjnhchj commented 3 years ago

I love this tool. 😍😍😍 hopefully in the future, it will be able to roll back to the old firmware to be able to cold-swapping the battery cell.

mjnhchj commented 3 years ago

Cell error. How to fix it? DJI battery killer not fix this error 😣😣😣

mefistotelis commented 3 years ago

Taking down PF flag does not 'fix' anything. It's just a way to tell the battery that YOU fixed it, and it should no longer be treated as damaged.

mjnhchj commented 3 years ago

Taking down PF flag does not 'fix' anything. It's just a way to tell the battery that YOU fixed it, and it should no longer be treated as damaged.

Can i use Comm_sbs_bqctrl.py from DJI Firmware tools to fix this error? I checked my battery, no PF Flag ... bq9003 | Mavic mini battery. I can't change XCHG = 1 to 0 and battery blink all Leds. Batt Status = 0xC0 :( Untitledvv

mixeysan commented 3 years ago

If the BMS board didn't after water and you connected other and good cells and also a drone writes with them that there is an error in the cells, then check the 200 Ohm resistors through which each cell is connected to the controller. Also check the controller soldering and it is advisable to resolder the controller via microscope.

mjnhchj commented 3 years ago

I checked the battery voltage in DJI Fly app. Both cell are balance :(( My hardware error?

mixeysan commented 3 years ago

Can U show logs from drones with show voltage for each cell? How does each cell behave under load?

mjnhchj commented 3 years ago

How do I extract that data? original battery cell i disassembled and assembled, error appeared!

maxdd commented 3 years ago

http://master-club.org/drone/DJi_Battery_Killer_with_dll_26.06.2021.7z

http, not https server8 (1).png

Doest this work with BQ30Z55?

mixeysan commented 3 years ago

http://master-club.org/drone/DJi_Battery_Killer_with_dll_26.06.2021.7z

http, not https server8 (1).png

Doest this work with BQ30Z55?

New version work with bq30z55, but not free yet. Later.

maxdd commented 3 years ago

Hi mixeysan, thank you for the feedback. Will it work with CP2112 device?

mixeysan commented 2 years ago

Hi mixeysan, thank you for the feedback. Will it work with CP2112 device?

it already works with cp2112image_2021_08_18T17_51_25_744Z-1.png

maxdd commented 2 years ago

That's amazing! If you need a tester let me know. Are you using external connector for SDA/SCL or are you soldering on the battery?

mixeysan commented 2 years ago

That's amazing! If you need a tester let me know. Are you using external connector for SDA/SCL or are you soldering on the battery?

External connection for example in Mavic 1pro battery is UART, or am I missing something?

maxdd commented 2 years ago

Oh didnt know that, so soldering is a must for connecting to i2c right? I can do the soldering and help you out if you want

noname443 commented 2 years ago

hello everyone, how good there are enthusiasts who can embrace almost anything. this topic helped me check out some AIR 1 batteries that I managed to buy some time ago. However, I have a problem with sealing. The program presented here does not have this option, but it is in the last screenshot. What is this version, because visually the interface looks identical, it is probably a newer development version. There is a chance to get access to this version? I have one more question. Has anyone tried to replace cels ( mavic AIR 1) with more capacity, but not 18650. I am asking because I noticed repeated damage that the last cell in blocked batteries has reversed polarity and cannot be regenerated, charged. Thanks in advance for any suggestions.

maxdd commented 2 years ago

Is there a reason why you cant use python scripts directy? mixeysan is still developing the app

mixeysan commented 2 years ago

Hi guys. I'm working on the program yet. I think in a week or two I'll post a new version of the program, and there will be a lot of interesting things :) But for now there will be only bq30z55 and bq9003.

radenrezky commented 2 years ago

Hi guys. I'm working on the program yet. I think in a week or two I'll post a new version of the program, and there will be a lot of interesting things :) But for now there will be only bq30z55 and bq9003.

Hi mixeysan, i bought the CP2112 and managed to connect to my Mavic2Pro intelligent battery using your software. may i continue the process? before i put unseal, replace cell, clear PF and back seal again, i want to ask to you to makesure this apps can work and no bug on my bq9003 (bq40z307). or i should wait you new release :) thanks a lot my friend!!

tungtranmobile commented 2 years ago

Hi guys. I'm working on the program yet. I think in a week or two I'll post a new version of the program, and there will be a lot of interesting things :) But for now there will be only bq30z55 and bq9003.

hello AD

tungtranmobile commented 2 years ago

Hi guys. I'm working on the program yet. I think in a week or two I'll post a new version of the program, and there will be a lot of interesting things :) But for now there will be only bq30z55 and bq9003.

Hi ad. you can get link to my email please? tugninhkieu@gmail.com. thanks

NHAMTAMPHUOCTHIEN commented 2 years ago

http://master-club.org/drone/DJi_Battery_Killer_with_dll_26.06.2021.7z

http, not https server8 (1).png

Hi friend! you can get link of software to my email please? huynhphuocnhan1907@gmail.com thanks you!

tungtranmobile commented 2 years ago

Cảm ơn b. Sao mình kết nối ok mà read info ko đc nhỉGửi từ Galaxy của tôi -------- Tin nhắn gốc --------Từ: NHAMTAMPHUOCTHIEN @.> Ngày: 04/10/2021 17:39 (GMT+07:00) Đến: o-gs/dji-firmware-tools @.> Cc: tungtranmobile @.>, Comment @.> Chủ đề: Re: [o-gs/dji-firmware-tools] Mavic 2 Pro-Zoom Battery (#196)

http://master-club.org/drone/DJi_Battery_Killer_with_dll_26.06.2021.7z http, not https server

Hi friend! you can get link of software to my email please? @.*** thanks you!

—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

mixeysan commented 2 years ago

U can find the last version here - https://github.com/o-gs/dji-firmware-tools/issues/214#issuecomment-927307835

tungtranmobile commented 2 years ago

cho mình sđt add zalo đc ko b

Vào Th 2, 4 thg 10, 2021 vào lúc 21:41 mixeysan @.***> đã viết:

U can find the last version here - #214 (comment) https://github.com/o-gs/dji-firmware-tools/issues/214#issuecomment-927307835

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/o-gs/dji-firmware-tools/issues/196#issuecomment-933554395, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV47TFCUJNPYIQONR2LPOS3UFG4JNANCNFSM4Y76JXDA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

didiric commented 2 years ago

Hi guys why can't i install this program, it tells me that something is missing dll or old

SinisterRj commented 2 years ago

@mixeysan First of all congratulations for your job. I'm trying to revive 2 Mavic air 1 batteries. I sucesfully connected your software to a working battery, but I can't do the same on the dead ones (by a long period of innactivity). One of them is open (plastic shell) and I used a Skyrc Imax B6 charger to partially charge it and balance the cells, the other one is intact. In both cases, I get the same errors: ERROR: Could not write Block to 0x44 ERROR: Could not perform SMBus read 0x00 Any ideas?

kenhoung3553 commented 2 years ago

maxdd @.***> 於 2021年9月14日 週二 20:52 寫道:

http://master-club.org/drone/DJi_Battery_Killer_with_dll_26.06.2021.7z

http, not https server[image: 8 (1).png] https://user-images.githubusercontent.com/81270595/126788467-99235ae3-a525-449b-a665-bfdd3758ab09.png

Doest this work with BQ30Z55?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/o-gs/dji-firmware-tools/issues/196#issuecomment-919120447, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMJBK6VFN7XJWFIU3L6ZS73UB5ASXANCNFSM4Y76JXDA .

Hobbyleon commented 2 years ago

Hello, I have 3 mavic air 1 batteries and the bq9003 chip is blocked, I was reviewing this forum and I am interested in the system to restore the battery, I would appreciate it, I would like to know how I access the chip (how do I connect it) I am a drone technician in Mexico. Cheers

0roblequad commented 2 years ago

tienes que descargar el progama de  mixeysan  y comprar el reseteador de chip en Amazon   En miércoles, 10 de noviembre de 2021 02:50:46 CET, Hobbyleon @.***> escribió:

Hello, I have 3 mavic air 1 batteries and the bq9003 chip is blocked, I was reviewing this forum and I am interested in the system to restore the battery, I would appreciate it, I would like to know how I access the chip (how do I connect it) I am a drone technician in Mexico. Cheers

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

mjnhchj commented 2 years ago

https://youtu.be/RkdUHQI2U_8

tadwood commented 2 years ago

@mixeysan First of all congratulations for your job. I'm trying to revive 2 Mavic air 1 batteries. I sucesfully connected your software to a working battery, but I can't do the same on the dead ones (by a long period of innactivity). One of them is open (plastic shell) and I used a Skyrc Imax B6 charger to partially charge it and balance the cells, the other one is intact. In both cases, I get the same errors: ERROR: Could not write Block to 0x44 ERROR: Could not perform SMBus read 0x00 Any ideas?

Did you ever get this to work for the dead batteries? I'm trying this on a Spark battery and getting the same exact errors.

mixeysan commented 2 years ago

Guys, I'm sorry, but this topic is mefistotelis and I have no right to write in its topic. You can write to me in private messages or in telegrams.

davidhaluska commented 2 years ago

Hi All, Is there possible to put battery into sleep mode - as when it comes from factory? There should be some command for that or? Thanks. David

mefistotelis commented 2 years ago

Is there possible to put battery into sleep mode - as when it comes from factory?

Yes there is. Read BMS chip documentation for details. Such battery wakes up when connected to charger - so it will stop responding to commands until you do so.

cruzroy commented 2 years ago

does anyone know how to setup bigger lipos with dji battery killer, change chemistry and or MAH ...thanks any help would be great

cruzroy commented 2 years ago

how do you load battery killer so it works,,,,i cant get to work right

WilliansBR commented 2 years ago

Nice Job! I will try it on Mavic PRO 1. I lost 4 batterys