Announcement
Collapse
No announcement yet.
MSS60 Research
Collapse
X
-
I found a MPC/BDM USB2demon on ebay and ordered that - if I can get it working like the parallel port interface, I'll let you know what steps I took.
-
ok - now I understand - so just updating the sw is not what causes the bdm lock, but locking the SK on newer sw versions causes the lock - now that makes perfect sense.
back to trying to get my damn wiggler to give me something meaningful 😕
Leave a comment:
-
Originally posted by pshoey View Post
Yes, I read your previous posts but since the lock is triggered when writing/locking the SK which is code in the ECU, I'm really wondering what the code uses to distinguish a DME to lock vs a DME not to lock?
Especially as I have a 9586 unit that seems to be locked and you have one that is unlocked.
Leave a comment:
-
Originally posted by terra View Post
I explained earlier in this thread how the lock is triggered. You can test yourself by flashing an unlocked DME with the newest software - it will remain unlocked. What triggers the lock is locking the EWS SK, which under normal circumstances is done at the factory. Early MSS60 software variants probably didn't trigger the censorship routine when locking the EWS key.
Especially as I have a 9586 unit that seems to be locked and you have one that is unlocked.
Leave a comment:
-
Well, we should read all before posting. Thanks for explaining there.
Leave a comment:
-
Originally posted by pshoey View PostIt would seem to me that the "BDM lock" was introduced by a software update, given that the lock is software activated - I know you (@terra) disagree with that general opinion.Originally posted by Lambda1 View PostIf iam right its bootloader change, like in never versions done by Bosch (ME, MED, MEVD17 and newer onces like MG1, MD1... since ~06.2020. You cant do bench or bootmode there atm).
I explained earlier in this thread how the lock is triggered. You can test yourself by flashing an unlocked DME with the newest software - it will remain unlocked. What triggers the lock is locking the EWS SK, which under normal circumstances is done at the factory. Early MSS60 software variants probably didn't trigger the censorship routine when locking the EWS key.
Leave a comment:
-
If iam right its bootloader change, like in never versions done by Bosch (ME, MED, MEVD17 and newer onces like MG1, MD1... since ~06.2020. You cant do bench or bootmode there atm).
Leave a comment:
-
terra do you remember what OCD Speed setting you used with your Wiggler?
Also, seems my 5KW9586 ECU is BDM locked. I borrowed a Yanhua ACDP adapter that can read out either side - worked perfectly on my MSS65 but on the MSS60s I have, works on right side (obviously) but not on left side.
Interestingly, on 2 of the later ECU units, the error on the left side was CPU Encrypted but on the 9586 the error was "wrong model" (related to cpu identity).
I have one unit left to try, a 5KW9588 with 080E version of software. I'll open it up tomorrow if I get time.
It would seem to me that the "BDM lock" was introduced by a software update, given that the lock is software activated - I know you (@terra) disagree with that general opinion.
Last edited by pshoey; 01-24-2021, 04:38 PM.
Leave a comment:
-
Remember to reset the CPU and disable the watchdog
Code:reset word 0xff000004 = 0xffffff88
Leave a comment:
-
not getting anything useful from the usb wiggler - was getting garbage initially but after reinstalling the drivers now just getting all zeros.
i've tried all the ocd_commanders I can find (all seem to produce the same results) - running on Windows 10 32bit - I believe I have the BDM pogo pins aligned correctly but will try an futz a little with them tomorrow.
Last edited by pshoey; 01-23-2021, 05:10 PM.
Leave a comment:
-
Originally posted by terra View Post
I haven't been at my setup in some time and to be honest every time I've done it I've just looked at the reference manual and trial/errored my way into sending the right commands. I'll try to work it out again and make a proper repeatable script next time I have an actual weekend off.
I also did grab myself a USB wiggler, but unfortunately got one configured for the wrong processor. Opening it up it seems like it should be feasible to reconfigure it for a MPC BDM port, but the company has no documentation to that effect. If the one you got is an MPC 5xx/8xx unit, I'd really appreciate pictures of both sides of the board. Hopefully the code running on the xilinx fpga inside is the same for all of them.
The bdm lock is done internally. Triggering the SK lock also calls a routine that sets the censorship mode on the DME.
Finally got around to unpacking my USB Wiggler MPC5XX version. Here are some hi-res pictures of the boards.
terra let me know if you need/want anything else from this. I'm going to try and unlock one of my MSS60s and build a C program using the Macraigor API to automate the unlock process.
Looks like the daughter board is similar but different enough (I bought one of the ONCE USB Wigglers too).
Last edited by pshoey; 01-23-2021, 04:33 PM.
- Likes 1
Leave a comment:
-
Originally posted by pshoey View PostOf course - get it here:
I have a couple observations/questions (I have an IT background, but very little experience with digging into binary files, so I apologize in advance for any stupid questions)
I am mostly interested in applying some features like cold start delete and MAF delete to my S85, but my car already has a tune on it, and I am concerned by the large areas of ffffffff data in the binary files I downloaded from my ECU.
(if these are censored areas and I used ECUworx tool to modify the full binary, would I overwrite existing tune data with "empty" data if I flashed a modified binary back to my ECU?)
To see if there is pattern, I took and compared my tune file to the one pshoey provided and the large areas of ffffffff data matches.
So question 1 is to pshoey, do you know if the MSS65 ECU you dumped had a stock tune on it?
Question 2 is, do we have an idea as to why there are large areas of the ECU full/tune files that contains "blank" data (is this an example of "censored" data areas)?
For example, both pshoey's and my MSS65 tune files contain fairly large areas of ffffffff data from 0x96a8 - 0xfff9 and again from 0x1a9df - 0x1fffb
I really like what you guys are doing here, I like to see the MSS6X data freed and used by the community rather than just in the realm of professional tuners.
Thanks!
Leave a comment:
-
Of course - get it here:
Leave a comment:
-
Originally posted by pshoey View Post
Just to follow on with this chain of thought.......
I have 3 MSS60 DMEs (not including the one in my 2008 M3 which I have attached yet) and 1 MSS65 DME.
MSS65 is obviously unlocked.
7837831 / 5WK9361 - 19.08.05
MSS60 DMEs:
7841364 / 5WK9586 - 30.01.08 - unlocked
7845558 / 5WK95910 - 29.12.10 - locked
7846409 / 5WK95912 - 15.04.11 - unlocked
it is interesting that the most recent unit is unlocked - i suppose it could have been messed with but I'm pretty sure these are all stock flashed units.
I have the dumps if anyone is interested.
P.
Thanks!
Leave a comment:
-
Originally posted by dmlf View Post
The file you sent has 5000+ bytes differing with my "untuned" 240e.
I already can see some vanos angle and axis scaling changes..
P.
Sent from my iPad using Tapatalk
Leave a comment:
Leave a comment: