dji-firmware-tools icon indicating copy to clipboard operation
dji-firmware-tools copied to clipboard

P4P GIMBAL 2

Open fengzhonggeinichengnuo opened this issue 5 years ago • 31 comments

Hello, I have been looking for you in the question section some time ago. Do you have time to do the P4P gimbal test recently? I can pay for it.

fengzhonggeinichengnuo avatar Apr 17 '19 13:04 fengzhonggeinichengnuo

No, no time. Sorry.

mefistotelis avatar Apr 17 '19 19:04 mefistotelis

Hi My Idol mefistotelis

hanoiflycam avatar Jul 25 '19 17:07 hanoiflycam

mefistotelis My Idol Can I help you

hanoiflycam avatar Jul 25 '19 17:07 hanoiflycam

mefistotelis My Idol Can I help you

Sure, any help on the gimbal is appreciated. I am not working on this yet, though I'm planning to get back to it.

What can you do? Do you have repair skills, or disassembly skills? Photos of boards within the drones? Ability to download firmwares from micro-controllers? Other?

mefistotelis avatar Jul 25 '19 17:07 mefistotelis

Yes, I have the disassembly skills, and I have decrypted and got the firmware of the chip. I have a lot of UAVs to test.

fengzhonggeinichengnuo avatar Jul 25 '19 20:07 fengzhonggeinichengnuo

Here's a simplified Ph3 schematic; ph4 is similar in concept: https://github.com/o-gs/dji-hardware-schematics/blob/master/phantom_3_pro_overview/phantom_3_pro_overview.pdf

Gimbal is controlled by STM32 uC, but each arm has its own dsPIC uC. We have firmware of the STM32 (without loader; would be nice to have it too, but it's not mandatory for the subject). But we don't have firmware of the dsPIC. You could check if the FW is protected or whether it can be dumped.

mefistotelis avatar Jul 25 '19 20:07 mefistotelis

I got the firmware of the microprocessor, and I could rewrite the firmware into the microprocessor.

fengzhonggeinichengnuo avatar Jul 26 '19 01:07 fengzhonggeinichengnuo

Ok then, can you get the firmware from dsPICs for us?

mefistotelis avatar Jul 26 '19 08:07 mefistotelis

Can we switch platforms, like WeChat?

fengzhonggeinichengnuo avatar Jul 30 '19 12:07 fengzhonggeinichengnuo

If you prefer a chat-style communication, you can find me on Slack. Invite is here: dji.retroroms.info

mefistotelis avatar Jul 30 '19 12:07 mefistotelis

I can't open this website. Maybe it's due to regional restrictions. What other ways can I keep talking?

fengzhonggeinichengnuo avatar Jul 30 '19 13:07 fengzhonggeinichengnuo

Here's the current link: https://join.slack.com/t/dji-rev/shared_invite/enQtMjk5OTEyMzcyMjI3LTdlZjY4NzQ5M2M2NmE5ZWM4OTgyNThmZDVmZjdjODE4ODYyNmYwZjYxMDcyYzcxNmZlYzI5ZjI2ZGQ2NGY1ZTc

I'm not using any other chats. For private communication, just email me.

mefistotelis avatar Jul 30 '19 13:07 mefistotelis

I have Y R ESC schematics and FW, but I don't want these resources to appear on public platforms, so I want to go to other platforms to communicate.

fengzhonggeinichengnuo avatar Jul 30 '19 13:07 fengzhonggeinichengnuo

As you said before, unlike Spark, P4P does not seem to calibrate actively, which can be very difficult.

fengzhonggeinichengnuo avatar Jul 30 '19 13:07 fengzhonggeinichengnuo

Then it would be best to send those via e-mail, either as attachment or links to any upload service.

mefistotelis avatar Jul 30 '19 13:07 mefistotelis

Eu tenho esquemas YR ESC e FW, mas não quero que esses recursos apareçam em plataformas públicas, então quero ir para outras plataformas para se comunicar.

Can you share it in private? I'm also at the same goal of getting this. I have good experience in testing... Soon, we'll be able to uncover that mystery.

mEfis-afk avatar Oct 06 '19 20:10 mEfis-afk

Peguei o firmware do microprocessador e pude reescrever o firmware no microprocessador.

Olha amigo vc poderia vende as informações para calibra o gimbal P4 p4pro?? WhatsApp +558199133-0291 Brasil

tecdrone avatar Mar 22 '21 05:03 tecdrone

Peguei固件不执行微处理器处理,而reescrever固件不执行微处理器处理。

Olha amigo vc poderia vende as calipara o gimbal P4 p4pro的信息?WhatsApp + 558199133-0291巴西

Yes, I have completed the PTZ calibration development of P4, P4P. Now this problem can be solved by software

fengzhonggeinichengnuo avatar Mar 22 '21 05:03 fengzhonggeinichengnuo

Peguei固件不执行微处理器处理,而reescrever固件不执行微处理器处理。

Olha amigo vc poderia vende as calipara o gimbal P4 p4pro的信息?WhatsApp + 558199133-0291巴西

Yes, I have completed the PTZ calibration development of P4, P4P. Now this problem can be solved by software

I have interest. Can you contact me? +55519999483379 or [email protected]

guewald avatar Mar 22 '21 10:03 guewald

Podemos mudar de plataforma, como WeChat?

Your WeChat, please?

mEfis-afk avatar Mar 22 '21 15:03 mEfis-afk

Peguei 固件 不 执行 微处理器 处理, 而 reescrever 固件 不 执行 微处理器 处理。

Olha amigo vc poderia vende como calipara o gimbal P4 p4pro 的 信息? WhatsApp + 558199133-0291 巴西

Sim, concluí o desenvolvimento da calibração PTZ de P4, P4P. Agora, esse problema pode ser resolvido por software

hello friend you can talk to me by email. [email protected] or whatsapp +558199133-0291

tecdrone avatar Mar 23 '21 05:03 tecdrone

Hello my friend I'm interested

[email protected]

josjrbr avatar Nov 22 '21 17:11 josjrbr

Hi friend I am interested. [email protected] WhatsApp-+919842193180

Peguei固件不执行微处理器处理,而reescrever固件不执行微处理器处理。

Olha amigo vc poderia vende as calipara o gimbal P4 p4pro的信息?WhatsApp + 558199133-0291巴西

Yes, I have completed the PTZ calibration development of P4, P4P. Now this problem can be solved by software

Hi friend I am interested. [email protected] WhatsApp-+919842193180

Clearvisionsenthil avatar Dec 16 '21 19:12 Clearvisionsenthil

IMG_20211204_210038 IMG_20211221_142804

Hi, how to read& write binary files in p4p IMU board &yaw motor drive board chips? I have usb to ttl convertor. Which software to use read&write binary files. Any other tools for programming? Please help. I will ready to pay. Thanks. WhatsApp- +919842193180.

Clearvisionsenthil avatar Dec 21 '21 09:12 Clearvisionsenthil

他们都是处于加密状态 无法读取 通过特殊手段对芯片开片才可以得到 

发自我的iPhone

------------------ Original ------------------ From: Clearvisionsenthil @.> Date: Tue,Dec 21,2021 5:01 PM To: o-gs/dji-firmware-tools @.> Cc: fengzhonggeinichengnuo @.>, Author @.> Subject: Re: [o-gs/dji-firmware-tools] P4P GIMBAL 2 (#121)

Hi, how to read& write binary files in p4p IMU board &yaw motor drive board chips? I have usb to ttl convertor. Which software to use read&write binary files. Any other tools for programming? Please help. I will ready to pay. Thanks. WhatsApp- +919842193180.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

fengzhonggeinichengnuo avatar Dec 21 '21 09:12 fengzhonggeinichengnuo

how to read& write binary files in p4p IMU board &yaw motor drive board chips? I have usb to ttl convertor. Which software to use read&write binary files.

IMU board - that's STM32 processor, so you should use STM32 programmer. You won't be able to read the chip though, because it's protected. Thew firmware probably consists of bootrom part and application part, and only application part is included in FW updates; so reflashing this chip would require dumping bootrom using hacked application part, and then appending proper application part to that bootrom.

motor driver board - the CPU is rebranded as "DJI", but it's just normal uC. We'd have to know the real model of that uC to tap to it.

finally - can you please also photograph the other side of the IMU board?

mefistotelis avatar Dec 21 '21 13:12 mefistotelis

I already have all these data, and I have made them tools and calibrated them.

The attached picture is the calibration software I developed.

发自我的iPhone

------------------ Original ------------------ From: mefistotelis @.> Date: Tue,Dec 21,2021 9:07 PM To: o-gs/dji-firmware-tools @.> Cc: fengzhonggeinichengnuo @.>, Author @.> Subject: Re: [o-gs/dji-firmware-tools] P4P GIMBAL 2 (#121)

how to read& write binary files in p4p IMU board &yaw motor drive board chips? I have usb to ttl convertor. Which software to use read&write binary files.

IMU board - that's STM32 processor, so you should use STM32 programmer. You won't be able to read the chip though, because it's protected. Thew firmware probably consists of bootrom part and application part, and only application part is included in FW updates; so reflashing this chip would require dumping bootrom using hacked application part, and then appending proper application part to that bootrom.

motor driver board - the CPU is rebranded as "DJI", but it's just normal uC. We'd have to know the real model of that uC to tap to it.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

fengzhonggeinichengnuo avatar Dec 21 '21 13:12 fengzhonggeinichengnuo

Hi, thanks for your support. 

Sent from Yahoo Mail on Android

On Tue, 21 Dec 2021 at 6:37 pm, @.***> wrote:

how to read& write binary files in p4p IMU board &yaw motor drive board chips? I have usb to ttl convertor. Which software to use read&write binary files.

IMU board - that's STM32 processor, so you should use STM32 programmer. You won't be able to read the chip though, because it's protected. Thew firmware probably consists of bootrom part and application part, and only application part is included in FW updates; so reflashing this chip would require dumping bootrom using hacked application part, and then appending proper application part to that bootrom.

motor driver board - the CPU is rebranded as "DJI", but it's just normal uC. We'd have to know the real model of that uC to tap to it.

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

Clearvisionsenthil avatar Dec 22 '21 03:12 Clearvisionsenthil

Phantom 4pro series gimbal calibration software any available? 

Sent from Yahoo Mail on Android

On Tue, 21 Dec 2021 at 6:37 pm, @.***> wrote:

how to read& write binary files in p4p IMU board &yaw motor drive board chips? I have usb to ttl convertor. Which software to use read&write binary files.

IMU board - that's STM32 processor, so you should use STM32 programmer. You won't be able to read the chip though, because it's protected. Thew firmware probably consists of bootrom part and application part, and only application part is included in FW updates; so reflashing this chip would require dumping bootrom using hacked application part, and then appending proper application part to that bootrom.

motor driver board - the CPU is rebranded as "DJI", but it's just normal uC. We'd have to know the real model of that uC to tap to it.

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

Clearvisionsenthil avatar Dec 22 '21 03:12 Clearvisionsenthil

Yes, the price is 15,000 RMB.

发自我的iPhone

------------------ Original ------------------ From: Clearvisionsenthil @.> Date: Wed,Dec 22,2021 11:13 AM To: o-gs/dji-firmware-tools @.> Cc: fengzhonggeinichengnuo @.>, Author @.> Subject: Re: [o-gs/dji-firmware-tools] P4P GIMBAL 2 (#121)

fengzhonggeinichengnuo avatar Dec 22 '21 03:12 fengzhonggeinichengnuo

Only software? Including any tools? Which models compatible? Only for gimbal calibration? Please send full details. 

Sent from Yahoo Mail on Android

On Wed, 22 Dec 2021 at 8:44 am, @.***> wrote:

Yes, the price is 15,000 RMB.

发自我的iPhone

------------------ Original ------------------ From: Clearvisionsenthil @.> Date: Wed,Dec 22,2021 11:13 AM To: o-gs/dji-firmware-tools @.> Cc: fengzhonggeinichengnuo @.>, Author @.> Subject: Re: [o-gs/dji-firmware-tools] P4P GIMBAL 2 (#121) — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

Clearvisionsenthil avatar Dec 22 '21 07:12 Clearvisionsenthil

No wechat. WhatsApp- +91 9842193180

Sent from Yahoo Mail on Android

On Fri, 24 Dec 2021 at 9:11 am, @.***> wrote:

请添加我的微信 KBDZ-DJI

发自我的iPhone

------------------ Original ------------------ From: Clearvisionsenthil @.> Date: Wed,Dec 22,2021 3:56 PM To: o-gs/dji-firmware-tools @.> Cc: fengzhonggeinichengnuo @.>, Author @.> Subject: Re: [o-gs/dji-firmware-tools] P4P GIMBAL 2 (#121) — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

Clearvisionsenthil avatar Dec 24 '21 12:12 Clearvisionsenthil

Add me to wechat

Sent from Yahoo Mail on Android

On Fri, 24 Dec 2021 at 9:11 am, @.***> wrote:

请添加我的微信 KBDZ-DJI

发自我的iPhone

------------------ Original ------------------ From: Clearvisionsenthil @.> Date: Wed,Dec 22,2021 3:56 PM To: o-gs/dji-firmware-tools @.> Cc: fengzhonggeinichengnuo @.>, Author @.> Subject: Re: [o-gs/dji-firmware-tools] P4P GIMBAL 2 (#121) — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

Clearvisionsenthil avatar Jan 07 '22 17:01 Clearvisionsenthil

Hi,     You can 4 pro gimbal calibration with Anydesk? How much you charge? Detail pls. 

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

Clearvisionsenthil avatar Feb 18 '22 12:02 Clearvisionsenthil

Yes, the price is 15,000 RMB. 发自我的iPhone ------------------ Original ------------------ From: Clearvisionsenthil @.> Date: Wed,Dec 22,2021 11:13 AM To: o-gs/dji-firmware-tools @.> Cc: fengzhonggeinichengnuo @.>, Author @.> Subject: Re: [o-gs/dji-firmware-tools] P4P GIMBAL 2 (#121)

Hello, fengzhonggeinichengnuo how can i contact you? I have the interest into buy the solution to calibrate the phantom 4 pro gimbals

bugalaws avatar Apr 20 '23 22:04 bugalaws

Como você disse antes, ao contrário do Spark, o P4P não parece calibrar ativamente, o que pode ser muito difícil.

Hello we could talk by wechat about the phantom 4 my name is Lucas Bacciotti on wechat

lbacciotti avatar May 24 '23 03:05 lbacciotti

@mefistotelis I am also interested in helping with gimbal recalibration, had to swap the yaw motor out of a p4p as the drone was crashed, also the esc board for yaw was missing, but it seems a salvaged board from a p4s does work, but as expected the motor calibration is all wrong.

One thing I'm uncertain on is does the IMU board store the magnetization data, or is it stored on the esc boards? I have 1 working p4s and the p4p with faulty yaw calibration that I can contribute with as needed

From what I understand if the IMU stores this data, then you could swap the magnet from one motor to another to retain calibration. But if it is the esc board then I might be screwed as I have no idea where the original one is, and only have access to a spare one from a salvage drone. I'd rather help find a software fix than resort to magnet swapping

nullibyte avatar Sep 13 '23 06:09 nullibyte

I also have a zenmuse x3 to help improve the service script. Thus far I got as far as loading the elf binary into iaito for decompiling, but have had no luck sourcing ambarella documentation to convert the assembly into something human readable

nullibyte avatar Sep 13 '23 06:09 nullibyte