Pm3ez-device-fw-mismatch-after-flashing-on-linux

Hi evryone , I have installed my PM3 Via Brew and everything was working find .

Unfortunately I tried to Install it on my Ubuntu via VB and I have the message after flashing .

Target device /fw mismatch .

Please can you help me.

you must have flashed the version for the rdv4 instead of pm3generic

I am going to look into it


Thanks

I tried make PLATFORM=PM3GENERIC clean && make PLATEFORM=PM3GENERIC all

Then Flash but it ls not working … :frowning:

notepad Makefile.platform

You will see something like this

Change this ( just move the # )
PLATFORM=PM3RDV4
#PLATFORM=PM3GENERIC

to this
#PLATFORM=PM3RDV4
PLATFORM=PM3GENERIC

File - Save - Close

Thanks trying ASAP

unfortunately not working I have changed Change
this ( just move the # )
PLATFORM=PM3RDV4
#PLATFORM=PM3GENERIC

to this
#PLATFORM=PM3RDV4
PLATFORM=PM3GENERIC

and then make clean && make all

but when I do Make platform and I still Have RDV4 …


I went back To Terminal on my Mac

  1. Press and hold button and plug into computer
  2. continue to hold the button
  3. run pm3-flash-bootrom, two lights should stay now after successful flash
  4. run pm3-flash-all
    and it works But I really don’t Know why can’t I use it on ubuntu ???

It’s not “make platform” it’s just “make all” … you can see the compiler errors out saying “no rule to make target ‘platform’”

I did make. make clean && make all and even sudo make install

and then Flash still the same message so then I went to Make plateform to see what was inserted .

I will love to set it up on Ubuntu even if it is working on my Mac

You appear to have edited the sample file.

This might be a problem as well because now you have an “installed version” alongside your compiled output… future updates via git pull may compile but likely won’t get flashed. I found this out the hard way after hours of confusion I had to blast the whole thing and start over.

It is the one Pilgrimsmaster showed me

You’re supposed to copy the Makefile.platform.sample file to Makefile.platform and edit that. The reason for this seemingly extra step is so a git pull later on won’t overwrite your platform file.

If you’re not aware of this, it’s easy to assume you just edit the file that is there… but he did indicate the correct file.

… kinda. His notepad image does indicate the sample file haha

Edit… embarrassing… he got that image from my guide… I will need to update that image.

2 Likes

shame

1 Like

its fixed now :slight_smile:

2 Likes

Plagiarism here I come

Gotta fix my completely original not 100% copied from Amal , PM3 abriged setup guide

2 Likes

Hey his guide got me running on osx with that file edit.

3 Likes

Absolutely perfect thank you Amal and pilmgrimsmaster .
With text editor and following your guide everything went smooth.

Once more thanks a lot .

4 Likes