Originally posted by liam821
View Post
Announcement
Collapse
No announcement yet.
Flashing the MK60 with ZCP software
Collapse
X
-
I have, yes. The results are the same between both, unfortunately.2002 Topasblau M3 - Coupe - 6MT - Karbonius CSL Airbox - SSV1 - HJS - Mullet Tune - MK60 Swap - E86 Front Triangulation - ZCP Rack - Nogaros - AutoSolutions - 996 Brembos - Slon - CMP - VinceBar - Koni - Eibach - BlueBus - Journal
2012 Alpinweiss 128i - Coupe - 6AT - Slicktop - Manual Seats - Daily - Journal
-
Well, I tested my tooling on my E82 and, unfortunately, it works great.
E5 auth/KWP scan probe:
Note that `1A 89` and `31 31` are both there, while they were absent on the E46. I think `31 07` and `31 08` are missing because I only probed at auth level 0x00. The car really didn't like me running these tests with live modules everywhere 🙃Code:Full capability scan: auth levels, then every service space at each level. Entered session 0x87. Scanning SecurityAccess: requestSeed (27 <odd>) at 01,03,..FF - a 67 reply with a non-zero seed means that level exists. 27 03: SEED 0x2719 -> grants level 0x02. 27 07: SEED 0x2715 -> grants level 0x04. 27 FB: SEED 0x2601 -> grants level 0x7E. 27 FD: SEED 0x261F -> grants level 0x7F. ... 1A (ReadECUIdentification) sweep 00..FF: 1A 80: 7F 1A 78 - EXISTS. 1A 81: 7F 1A 78 - EXISTS. 1A 82: 7F 1A 78 - EXISTS. 1A 83: 5A positive - WORKS. 1A 87: 7F 1A 78 - EXISTS. 1A 88: 7F 1A 78 - EXISTS. 1A 89: 7F 1A 78 - EXISTS. 1A 8A: 5A positive - WORKS. 1A 90: 7F 1A 78 - EXISTS. 1A 91: 7F 1A 78 - EXISTS. 1A 92: 7F 1A 78 - EXISTS. 1A 93: 7F 1A 78 - EXISTS. 1A 94: 5A positive - WORKS. 1A 95: 5A positive - WORKS. 1A 98: 7F 1A 78 - EXISTS. 1A 99: 5A positive - WORKS. 1A 9A: 7F 1A 78 - EXISTS. 1A 9B: 5A positive - WORKS. 1A 9C: 7F 1A 78 - EXISTS. 1A 9D: 5A positive - WORKS. 1A 9E: 7F 1A 78 - EXISTS. 1A 9F: 5A positive - WORKS. 1A A0: 7F 1A 78 - EXISTS. 1A A1: 7F 1A 78 - EXISTS. 1A A2: 5A positive - WORKS. ... 31 (RoutineControl, 00 control byte) sweep 00..FF: 31 00: [7F, 30, 22] (unexpected). 31 09: 71 positive - WORKS. 31 21: 7F 31 22 - EXISTS. 31 22: 7F 31 22 - EXISTS. 31 23: 7F 31 22 - EXISTS. 31 24: 7F 31 22 - EXISTS. 31 25: 7F 31 22 - EXISTS. 31 26: 7F 31 22 - EXISTS. 31 27: 7F 31 22 - EXISTS. 31 28: 7F 31 22 - EXISTS. 31 29: 7F 31 22 - EXISTS. 31 2A: 7F 31 22 - EXISTS. 31 31: 7F 31 22 - EXISTS. 31 32: 7F 31 22 - EXISTS.
I say this is unfortunate cause that means all my E46 testing has been valid and not a tooling issue. Will keep poking around.2002 Topasblau M3 - Coupe - 6MT - Karbonius CSL Airbox - SSV1 - HJS - Mullet Tune - MK60 Swap - E86 Front Triangulation - ZCP Rack - Nogaros - AutoSolutions - 996 Brembos - Slon - CMP - VinceBar - Koni - Eibach - BlueBus - Journal
2012 Alpinweiss 128i - Coupe - 6AT - Slicktop - Manual Seats - Daily - Journal
- Likes 3
Comment
-
Hmm, sounds like we might need to figure out an invasive way of extracting the contents of the flash to really poke around in these. Wonder how practical it'd be to interface a debugger to one of these things. CPU is probably similar to a variant of this? https://www.nxp.com/docs/en/data-sheet/MMC2107.pdf
Also I have a Z4M MK60e5 I could try poking at if you think that has relevance
- Likes 2
Comment
-
I don't know if it is helpful but I will likely have an E90 Non-M MK60 available in a few weeks if you need to do some testing that might be destructive.'09 HP2S, '12 R12GSA, '00 Black 323iT, '02 Alpine 325iT (Track Wagon), '02 Alpine 330iT
Instagram @HillPerformanceBimmers
Email to [email protected]
- Likes 1
Comment
-
Yep, JTAG is looking more and more like the path forward. Although I'm not sure if we'll run into issues with the onboard security module. Also no clue where to connect the debugger, there's no obvious header on the board.Originally posted by terra View PostHmm, sounds like we might need to figure out an invasive way of extracting the contents of the flash to really poke around in these. Wonder how practical it'd be to interface a debugger to one of these things. CPU is probably similar to a variant of this? https://www.nxp.com/docs/en/data-sheet/MMC2107.pdf
Also I have a Z4M MK60e5 I could try poking at if you think that has relevance
Can you try getting a dump from your Z4M module just cause? I don't expect the FW to be notably different to the E5 FW available from BMW, but might be worth poking around to see what BMW did and didn't compile in to that one. I'd expect that module to need CCP to be enabled over K line.
Thanks George! That should be an E5, which we have FW for already, but it might be useful for validating the tooling (e.g. for nailing down the timing of the manufacturing test protocol). I'll let you know.Originally posted by George Hill View PostI don't know if it is helpful but I will likely have an E90 Non-M MK60 available in a few weeks if you need to do some testing that might be destructive.2002 Topasblau M3 - Coupe - 6MT - Karbonius CSL Airbox - SSV1 - HJS - Mullet Tune - MK60 Swap - E86 Front Triangulation - ZCP Rack - Nogaros - AutoSolutions - 996 Brembos - Slon - CMP - VinceBar - Koni - Eibach - BlueBus - Journal
2012 Alpinweiss 128i - Coupe - 6AT - Slicktop - Manual Seats - Daily - Journal
- Likes 1
Comment
-
I doubt there is a JTAG debugger pins/pads on the board, that would be the dream though. You’ll most likely have to use exposed copper traces, vias, or the chip's package pins. And you’re right, the contents of the flash might very well be encrypted - probably is. You’ll still be able to access the boot loader though which should give you some clues.
Comment
-
Do have an easy way to dump these just yet? I guess similar commands to the DMEs etc assuming they're implemented? From what I remember way back in the day this thing behaved pretty similarly to the E46 MK60, but that was when we knew far less than you know now. I could probably start with experiments similar to what you did aboveOriginally posted by heinzboehmer View PostCan you try getting a dump from your Z4M module just cause? I don't expect the FW to be notably different to the E5 FW available from BMW, but might be worth poking around to see what BMW did and didn't compile in to that one. I'd expect that module to need CCP to be enabled over K line.
Comment
-
That's a good point about the bootloader. Having access to it would be awesome.Originally posted by liam821 View PostI doubt there is a JTAG debugger pins/pads on the board, that would be the dream though. You’ll most likely have to use exposed copper traces, vias, or the chip's package pins. And you’re right, the contents of the flash might very well be encrypted - probably is. You’ll still be able to access the boot loader though which should give you some clues.
Only way I know of dumping them is via CCP, so maybe just start by checking if it responds to the `1A 89` and `31 31` KWP commands.Originally posted by terra View PostDo have an easy way to dump these just yet? I guess similar commands to the DMEs etc assuming they're implemented? From what I remember way back in the day this thing behaved pretty similarly to the E46 MK60, but that was when we knew far less than you know now. I could probably start with experiments similar to what you did above
The steps to enable CCP should be the same as the E5 disassembly steps I posted some posts back. After that it's just standard CCP commands over CAN, as far as I can tell. The UPLOAD command is probably what you want.
Not at my computer right now, but these are all good resources:
- https://github.com/heinzboehmer/MK60...wp_dispatch.md
- https://github.com/vesrah/MK60E5-Z4-...ce-tool/ccp.py
Can also PM you the slop tool I've been using to test with, but you'll need a Gauge.S (or similar ESP32-S3 based board with CAN and K line chips).2002 Topasblau M3 - Coupe - 6MT - Karbonius CSL Airbox - SSV1 - HJS - Mullet Tune - MK60 Swap - E86 Front Triangulation - ZCP Rack - Nogaros - AutoSolutions - 996 Brembos - Slon - CMP - VinceBar - Koni - Eibach - BlueBus - Journal
2012 Alpinweiss 128i - Coupe - 6AT - Slicktop - Manual Seats - Daily - Journal
Comment
-
So this is what I get when I try sending 1A 89 and 31 31 (using tool32 mostly out of laziness)
Seems like failures on both counts?Code:JOB_STATUS = ERROR_ECU_SUBFUNCTION_NOT_SUPPORTED__INVALID_FORMA T _TEL_AUFTRAG = 6 Bytes 0000 : B8 29 F1 02 1A 89 ¸)ñ..? _TEL_ANTWORT = 8 Bytes 0000 : B8 F1 29 03 7F 1A 12 14 ¸ñ).... JOB_STATUS = ERROR_ECU_SUBFUNCTION_NOT_SUPPORTED__INVALID_FORMAT _TEL_AUFTRAG = 6 Bytes 0000 : B8 29 F1 02 31 31 ¸)ñ.11 _TEL_ANTWORT = 8 Bytes 0000 : B8 F1 29 03 7F 31 12 3F ¸ñ).1.?
Seeds 27 03, 27 07, 27 FB, 27 FD do appear to be available on this module. 27 04 and 27 FE might exist (gives response code 22 instead of 12).
Comment

Comment