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

Flashing Adv firmware over Pro - is it possible ? #65

Open petr222 opened 6 years ago

petr222 commented 6 years ago

Hi, we have several Phantom 3 Advanced drones which were upgraded to Pro by changing gimbals or camera control boards and flashing Pro firmware. After a several hours flashing of firmware, all Pro camera control boards NAND died. Therefore we bought some Advanced control boards where is no NAND memory to fail. But there is our problem:

It was possible to change from Adv to Pro by SD card with P3X firmware, which was flashed. But Phantom 3 with Professional firmware ignore P3S (Advanced) BIN file and it ignore all known debug files.

Is there a way how to flash Advanced BIN file to board which was flashed with Pro BIN file? If it works from Adv to Pro, it should work from Pro to Ad.

In DJI Go there is no error, only message that camera firmware update is required.

TaruTaruKing commented 4 years ago

Nah, this was a common problem after firmware updates from what I've read. I believe it is firmware related, so I am just working backwards from 1.11.0200 to 1.03.0200 and then I will go forwards. Just thought I could try those files if that didn't work as a last ditch effort before I toss the board. I could bake it or use a hot air blower on it I guess, but I do think it's firmware related. I found this post that made me attempt the stepped firmware downgrade/upgrade, but it's pretty tedious lol

"Hi Guys,

I know this is an old thread, but thought it worthwhile sharing with you how I fixed this without sending the aircraft back to DJI, or replacing any hardware. I posted this last night on another forum, but I'm not sure about the rules of link sharing from other forums(?), so I'll just add the entire post here:

Right, I've had this issue myself, and have just managed to fix it without RMA or hardware replacement. It's pretty much taken me all weekend though, researching this and other forums.

So I tried different firmware versions on the aircraft, the two firmware versions available on the controller, nothing.

Then I found this link showing how to help 'force' upgrade or downgrade firmware: forcing fw downgrade with P3X_FW_DEBUG · Issue #4 · mefistotelis/phantom-firmware-tools · GitHub It's a very simple thing to enable, just create a file called P3X_FW_DEBUG in the root of the SD card you are using to do the firmware upgrade. I did that by creating a text file, naming it as above, and removing the .txt extension.

Reading in the above link, mefistotelis states that he believes that long jumps in firmware upgrades are not ideal.

So, and this was the painful bit, I decided to try and flash the firmware in order by version steps - it took bloody ages: I found this link on one of these forums where you can download all the versions of firmware for the P3P:

DJI Phantom Accessories & Tips - Phantom Help I downloaded them all, and started with the current version, going one by one down to a much older version (not the oldest version): v1.10.9 v1.09.6 v1.08.8 v1.07.6 v1.06.4 v1.05.3 v1.04.1 v1.03.2 v1.02.6

All of them failed with the long dirty tone sounding on the aircraft at the end of the upgrade process, but I persevered. Noting that each time, the aircraft would mostly boot as normal, but still showing 'No Image Transmission' when connected. Also, a few times, the aircraft would not properly start at all, and instead would start beeping loudly 'like an alarm' clock and no lights showing on the aircraft as some posters have commented. BUT, the upgrades would still run through, so I kept going, and after applying the next version down, the loud beeping would stop and the aircraft lights would come back on. Eventually, I got to the earliest version (v1.02.6) with none of the upgrades reporting successful, but then I started incrementing firmware versions from oldest to newest as follows:

from v1.02.6 v1.03.2 v1.04.1 v1.05.3 v1.06.4 v1.07.6 v1.08.8 and on this version, the firmware update was successful - for the first time!

Not quite believing it had worked, I decided to power on the craft and controller (which was running v1.5 firmware).

Lo and behold, the **** picture is back and working again! I can't believe it! I am going to cancel the RMA that I raised today, while I was halfway through this process and lost hope - convinced it was a hardware issue!

I hope the above process works for anyone else out there who has tried many different ways to fix their issue.

It just goes to show, it's not 'definitely a hardware issue' if you get both the: [00028828][15 00][00] device not detected. [00041697][08 00][00] device not detected. at the same time.

Best of luck!"

szupi commented 4 years ago

So this is wrong neighbourhood. You need to hook your board to the uart. Provided your dm365 and man chip are not permanently damaged. You know that In this I downgraded my p3x to p3s, right?Temat: Re: [o-gs/dji-firmware-tools] Flashing Adv firmware over Pro - is it possible ? (#65)Data: 2020-09-03 13:10Nadawca: "TaruTaruKing" Adresat: "o-gs/dji-firmware-tools" ; DW: "szupi" ; "Comment" ; [01026609]Version checking[3]... [01026741][03 05][05] v34.2.0.9 -> v34.2.0.9 need upgrade. [01026860][03 06][05] v2.4.14.5 -> v2.4.14.5 need upgrade. [01026938][04 00][05] v1.44.0.0 -> v1.44.0.0 need upgrade. [01027078][11 00][05] v1.7.15.1 -> v1.7.15.1 need upgrade. [01027244][12 00][05] v1.10.0.0 -> v1.10.0.0 need upgrade. [01027345][12 01][05] v1.10.0.0 -> v1.10.0.0 need upgrade. [01027472][12 02][05] v1.10.0.0 -> v1.10.0.0 need upgrade. [01027608][12 03][05] v1.10.0.0 -> v1.10.0.0 need upgrade.[01040184][15 00][00] device not detected. [01040307][17 00][05] v1.1.1.7 -> v1.1.1.7 need upgrade. [01040466][17 01][05] v1.0.2.7 -> v1.0.2.7 need upgrade. [01040564][19 00][00] v255.255.255.254 -> v1.0.8.96 [01040633][01 00][05] v1.30.5036 -> v1.30.5036 need upgrade [01040708][01 01][05] v1.30.5036 -> v1.30.5036 need upgrade[01053283][08 00][00] device not detected. [01053378][09 00][05] v3.0.0.10 -> v3.0.0.10 need upgrade. [01053524]Packet upgrade failed at version checking. Trying to fix these lol

—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

TaruTaruKing commented 4 years ago

So this is wrong neighbourhood. You need to hook your board to the uart. Provided your dm365 and man chip are not permanently damaged. You know that In this I downgraded my p3x to p3s, right?Temat: Re: [o-gs/dji-firmware-tools] Flashing Adv firmware over Pro - is it possible ? (#65)Data: 2020-09-03 13:10Nadawca: "TaruTaruKing" Adresat: "o-gs/dji-firmware-tools" ; DW: "szupi" ; "Comment" ; [01026609]Version checking[3]... [01026741][03 05][05] v34.2.0.9 -> v34.2.0.9 need upgrade. [01026860][03 06][05] v2.4.14.5 -> v2.4.14.5 need upgrade. [01026938][04 00][05] v1.44.0.0 -> v1.44.0.0 need upgrade. [01027078][11 00][05] v1.7.15.1 -> v1.7.15.1 need upgrade. [01027244][12 00][05] v1.10.0.0 -> v1.10.0.0 need upgrade. [01027345][12 01][05] v1.10.0.0 -> v1.10.0.0 need upgrade. [01027472][12 02][05] v1.10.0.0 -> v1.10.0.0 need upgrade. [01027608][12 03][05] v1.10.0.0 -> v1.10.0.0 need upgrade.[01040184][15 00][00] device not detected. [01040307][17 00][05] v1.1.1.7 -> v1.1.1.7 need upgrade. [01040466][17 01][05] v1.0.2.7 -> v1.0.2.7 need upgrade. [01040564][19 00][00] v255.255.255.254 -> v1.0.8.96 [01040633][01 00][05] v1.30.5036 -> v1.30.5036 need upgrade [01040708][01 01][05] v1.30.5036 -> v1.30.5036 need upgrade[01053283][08 00][00] device not detected. [01053378][09 00][05] v3.0.0.10 -> v3.0.0.10 need upgrade. [01053524]Packet upgrade failed at version checking. Trying to fix these lol —You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

You did that for fun I guess? What do you mean hook my board to the uart? I took intro to C in college, but that's about the extent of my programming knowledge lol And that was 7 years ago

TaruTaruKing commented 4 years ago

But yeah, I don't even know how I ended up in this thread lol

szupi commented 4 years ago

You did that for fun I guess?

No, solder pads for NAND chip were damaged, so it was theonly feasible option to have anything.

But yeah, I don't even know how I ended up in this thread lol

https://phantompilots.com/threads/fixing-flash-in-dm365-chip-within-ph3-pro-gimbal.127310/ Been there, read all? Good luck!

rufiooo commented 3 years ago

@Szupi I did reistors modification, would you give me some clues regarding fw burning, shall I do it using sd card? I suppose I have to extract individual modules and put it back together to one bin file afterwards, right? Best regards, Ł.

Hello Łukasz, could you share a photo with your resistors modification (I'm not that electronic skilled to find it by the diagram...)? I've got P3P board with teared out NAND chip and leads on board as well, so replacing it is not an option. Thanks in advance - Rufiooo