Announcement

Collapse
No announcement yet.

Flashing the MK60 with ZCP software

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • terra
    replied
    Originally posted by heinzboehmer View Post

    Hell yeah! That would be awesome.

    Also, I put Bry5on's non-ZCP M3 module dump through the robot disassembly workflow. It's even more similar to the ZCP image than the non-M image is (no surprise there).

    The non-ZCP image is genuinely missing the M track mode button handler, just like the non-M image is. So a FW reflash is required to use this extra input.

    Other differences include a temperature-aware pressure scaler for the pump on the ZCP and differences in the maps. I haven't dug into the maps to know exactly what changes, but they are different.

    Super dense, LLM-speak analysis in https://github.com/heinzboehmer/MK60...differences.md
    Is that dump 813.3 or 818.3?

    Leave a comment:


  • heinzboehmer
    replied
    Originally posted by sda2 View Post
    As soon as you have a way to dump the firmware more easily, i can call a friend with an MK MK60.
    Hell yeah! That would be awesome.

    Also, I put Bry5on's non-ZCP M3 module dump through the robot disassembly workflow. It's even more similar to the ZCP image than the non-M image is (no surprise there).

    The non-ZCP image is genuinely missing the M track mode button handler, just like the non-M image is. So a FW reflash is required to use this extra input.

    Other differences include a temperature-aware pressure scaler for the pump on the ZCP and differences in the maps. I haven't dug into the maps to know exactly what changes, but they are different.

    Super dense, LLM-speak analysis in https://github.com/heinzboehmer/MK60...differences.md

    Leave a comment:


  • sda2
    replied
    Originally posted by Bry5on View Post

    Looks like only the MS43 transmits it on 0x338 (DME3), Byte 2

    (STATE_SOF_CAN):
    • 0 = Sport On (requested by SMG)
    • 1 = Sport Off
    • 2 = Sport On
    • 3 = Error
    ​
    We could add it to the 0401 MSS54HP thanks to karter16 ..

    The more I think about this, the more I like it more than memory. The sport button would finally have a real useful purpose.
    DME3 is not present with MS43 except on the Alpina Roadsters MS430070 firmware. However... We have a Spare input with pullup resistor already in place, so we could easily add that in the code. Even though i don't know what to do with it since Im not a friend of map switching or pops and bangs.

    DSC being stand alone controllable would be my prefered way though.

    As soon as you have a way to dump the firmware more easily, i can call a friend with an MK MK60.

    Leave a comment:


  • George Hill
    replied
    Originally posted by Bry5on View Post
    The sport button would finally have a real useful purpose.
    Bingo!

    Awesome work, super exciting to see this transforming real time.

    Leave a comment:


  • heinzboehmer
    replied
    Originally posted by ___LUNK View Post
    Any chance REing the MK60 could eventually lead to patching the MK60E5 for clean integration into the E46 with working dsc and stuff?
    Paging yuba

    Originally posted by terra View Post
    Theoretically can already do that or close to it with the facelift z4 ( including Z4M) version of the mk60e5
    Hmm, I think I know somebody with one of those that can dump it for us 🙂

    Leave a comment:


  • terra
    replied
    Originally posted by ___LUNK View Post
    Any chance REing the MK60 could eventually lead to patching the MK60E5 for clean integration into the E46 with working dsc and stuff?
    Theoretically can already do that or close to it with the facelift z4 ( including Z4M) version of the mk60e5

    Leave a comment:


  • ___LUNK
    replied
    Any chance REing the MK60 could eventually lead to patching the MK60E5 for clean integration into the E46 with working dsc and stuff?

    Leave a comment:


  • Bry5on
    replied
    Originally posted by heinzboehmer View Post
    Cool idea. The button handler already has logic to skip states (i.e. go into DSC off regardless of whether M track mode is on or not), so adding the external CAN trigger is the only thing needed. Seems very doable.

    The sport mode and M track mode memories might fight with each other, but that's an implementation detail to figure out later.

    Is the sport mode status streamed over CAN?
    Looks like only the MS43 transmits it on 0x338 (DME3), Byte 2

    (STATE_SOF_CAN):
    • 0 = Sport On (requested by SMG)
    • 1 = Sport Off
    • 2 = Sport On
    • 3 = Error
    ​
    We could add it to the 0401 MSS54HP thanks to karter16 ..

    The more I think about this, the more I like it more than memory. The sport button would finally have a real useful purpose.
    Last edited by Bry5on; 11-17-2026, 01:56 PM.

    Leave a comment:


  • heinzboehmer
    replied
    Originally posted by terra View Post
    Man you're fast lol

    Would also love to answer the question as to whether the ZCP maps are any different from the non-ZCP
    The robots are fast! I take absolutely no credit for the speed of this lol.

    Regarding the map question, it's a good thing we can dump these now 🙂

    Originally posted by Bry5on View Post
    Hell yeah. Brake pressure and a path to m-track memory.

    I think it might be even better to tie m-track to sport mode. Read the mode from CAN and assign m-track appropriately as long as DSC isn’t disabled..
    ​

    Cool idea. The button handler already has logic to skip states (i.e. go into DSC off regardless of whether M track mode is on or not), so adding the external CAN trigger is the only thing needed. Seems very doable.

    The sport mode and M track mode memories might fight with each other, but that's an implementation detail to figure out later.

    Is the sport mode status streamed over CAN?

    Leave a comment:


  • Bry5on
    replied
    Hell yeah. Brake pressure and a path to m-track memory.

    I think it might be even better to tie m-track to sport mode. Read the mode from CAN and assign m-track appropriately as long as DSC isn’t disabled..

    Leave a comment:


  • terra
    replied
    Man you're fast lol

    Would also love to answer the question as to whether the ZCP maps are any different from the non-ZCP

    Leave a comment:


  • heinzboehmer
    replied
    ZCP image dumped. It's WAY more similar to the non-M image than I expected. Haven't found evidence of a special flashing routine or anything like that.

    I have some ideas about how to dump/flash these via CAN using a custom routine injected into RAM with a combo of the diag protocol commands, but I haven't tested any of this yet. More to come...

    One cool thing I've noticed is that the ZCP and non-M images share the logic for swapping maps out. On the non-M this logic is used for the DSC halfway-off mode. On the ZCP, it's used for M track mode. There's a little bit of extra logic in the ZCP image to handle the external M track mode button and I don't see any indication that this same logic wouldn't work on the non-M HW.

    Externally triggerable M track mode on any E46 MK60 with just a FW flash? Yes please!

    I've updated the repo with disassembly changes for compatibility with the E46 dumps and also added some more analysis docs, in case anyone is following along.


    Bry5on I think you're gonna like some of the info in both `analysis/zcp_m_track_mode.md` and `analysis/zcp_can_frames.md` (especially the "Persistence across boot cycles" and "Spare capacity in the transmitted frames" sections).

    Leave a comment:


  • heinzboehmer
    replied
    Originally posted by terra View Post
    Man that's amazing. I'm not one to say no to images haha

    Able to share anything that would facilitate me (and anyone else) dumping? I have easy access to the E85 MK60 E5 and a non-ZCP MK60 (I do have the ZCP module in my actual M3, but if it's reporting same software version as mine probably no need to dump that)?
    Check your inbox for the image!

    Let me at least look over the code for the tooling before sharing. So far it's been 100% robot generated, so I don't particularly trust it.

    But yes, I'll share everything I have in that same repo I've been using. Silver lining to the slow dump is that it's all over K line, so in theory, any K+DCAN cable should work for this. The timing window is still pretty hard to hit without the controlled ignition signal, but with enough cycling of the key, you should be able to do it 🙂

    Also, shoutout to yuba. Wouldn't have gotten this far without them being around to bounce ideas off of and ask questions to.

    Leave a comment:


  • terra
    replied
    I don't see any PMs from you in my inbox, but apologies if I missed anything.

    At least it looks like there's some progress after decades

    Leave a comment:


  • terra
    replied
    Originally posted by heinzboehmer View Post
    Click image for larger version

Name:	PfgNWZ.gif
Views:	145
Size:	852.8 KB
ID:	615547

    Man, it took forever, but I finally got a dump!
    Click image for larger version

Name:	Screenshot 2026-11-16 at 5.53.50 AM.png
Views:	142
Size:	425.7 KB
ID:	615546

    Got the non-M module to boot into the manufacturer diag protocol. From there I managed to dump the whole flash over K line. Took a while (~20 min), but at least we've got the FW now 🙂

    terra let me know if you want the image. I'll try dumping my ZCP module next.
    Man that's amazing. I'm not one to say no to images haha

    Able to share anything that would facilitate me (and anyone else) dumping? I have easy access to the E85 MK60 E5 and a non-ZCP MK60 (I do have the ZCP module in my actual M3, but if it's reporting same software version as mine probably no need to dump that)?

    Leave a comment:

Working...
X