Originally posted by terra
View Post
Announcement
Collapse
No announcement yet.
MSS60 Research
Collapse
X
-
2002 Topasblau M3 - Coupe - 6MT - Karbonius CSL Airbox - MSS54HP Conversion - Kassel MAP - SSV1 - HJS - PCS Tune - Beisan - MK60 Swap - ZCP Rack - Nogaros - AutoSolutions - 996 Brembos - Slon - CMP - VinceBar - Koni - Eibach - BlueBus - Journal
2012 Alpinweiss 128i - Coupe - 6AT - Slicktop - Manual Seats - Daily - Journal
-
So I got my wiggler in, but I'm not sure it's working right. Setup a new XP virtual machine and ran macraigor's OCD Commander to see if I could get some basic info out of the CPU - http://www.macraigor.com/ocd_cmd.htm
Getting pretty much junk data though. It works enough that it can tell when the device isn't connected to the parallel port, but otherwise I get junk data out of it whether or not I'm hooked up to the BDM header. Messing with the ECP/EPP settings within the VM bios didn't make a difference. Not sure if there's anything I could mess with at the host side to help.
I'm half tempted to pull one of my old motherboards/processors with a native parallel port out of storage.. but that sounds painful frankly.
Comment
-
That is frustrating - could be a hardware problem with the wiggler or a problem with the virtual machine - I guess finding/setting up an old computer is the only way to know.
Can I ask an unrelated question? I promise I will not bother you further with random coding questions. I've been unable to compile EdiabasLib. I downloaded it today and am using Visual Studio 2019. Using the make file EdiabasLib.sln, I am getting the following errors:
EDIT: Nevermind. I'll get the binaries.Last edited by dpaul; 04-21-2020, 01:16 PM.
Comment
-
Originally posted by dpaul View Post
That is frustrating - could be a hardware problem with the wiggler or a problem with the virtual machine - I guess finding/setting up an old computer is the only way to know.
Can I ask an unrelated question? I promise I will not bother you further with random coding questions. I've been unable to compile EdiabasLib. I downloaded it today and am using Visual Studio 2019. Using the make file EdiabasLib.sln, I am getting the following errors:
EDIT: Nevermind. I'll get the binaries.
Try loading the ediabslib dll itself as a resource.
Comment
-
Originally posted by terra View Post
I got an older version of OCDCommander via archive.org and got a little farther. The program will now actually be able to tell if the CPU is on / off, and it will read at least a few registers correctly before returning junk data. I wonder if it's something as simple as the clock speed being too damn high.
Try loading the ediabslib dll itself as a resource.
Comment
-
Sigh, I guess my basement is not very hospitable to old electronics. My old CPU/mobo combos won't post.
There's a few PEMicro Cyclone Maxes on eBay for not crazy money. And with the Cyclones, it sounds like the programming software is free (you can download it right from PEMicro's website). Maybe I should just buy one of those.
What concerns me t hough is the user manual doesn't actually mention anything about clearing the censor for the MPC5xx / 8xx.
Comment
-
Originally posted by terra View PostSigh, I guess my basement is not very hospitable to old electronics. My old CPU/mobo combos won't post.
There's a few PEMicro Cyclone Maxes on eBay for not crazy money. And with the Cyclones, it sounds like the programming software is free (you can download it right from PEMicro's website). Maybe I should just buy one of those.
What concerns me t hough is the user manual doesn't actually mention anything about clearing the censor for the MPC5xx / 8xx.
Seems like it should be able to change the UC3FMCR register. But at $200, it would be greatly disappointing if it didn't work.
Comment
-
Originally posted by dpaul View Post
Nothing in the manual but there is a routine in the "Algorithms for MPC5xx/8xx, internal flash" download for enabling the shadow memory where the UC3F control block is located. Even a warning about losing the contents of the internal flash.
Seems like it should be able to change the UC3FMCR register. But at $200, it would be greatly disappointing if it didn't work.
On the other hand, I don't exactly need it, but could justify it if it kills the censor.
Comment
-
I got the interface working. Had to set the parallel port mode in the VM bios to "Output Only" instead of bidirectional / EPP / ECP. Doesn't really make sense to me since it seems like communications are going both ways... but who knows.
This is my MSS65, but I'll try the MSS60 next. I guess I would just manually set the registers as noted in the reference manual
Edit: Meh, I clearly have some reading to do. Except you know, macraigor has literally 0 documentation. On this DME I can pretty much only do 1 command before I start getting junk or FFs back. I guess I'm running into the watchdog or something?
Edit: Sigh, I think I broke it. I managed to change the censor bytes from 11 to 00. But then when I tried setting to 01, all of the UC3F registers started reading as FF, and manipulating them seemingly doesn't work. DME doesn't boot anymore, and BDM100 still treats it the same as before.
- Likes 1
Comment
-
Boom.
Turns out clearing / setting the censor disables the UC3F array altogether, but you can reenable that by setting the IMMR.
Now I gotta see if I could make a script to automate all this.
Confirmed BDM100 will now read the DME (all FF'd of course). Now I'm just flashing back my OBDII backup (along with the shadow region from the MSS65 hoping it's the same here) and hopefully it will work.
- Likes 1
Comment
-
Originally posted by Martyn View PostGreat progress Mirza, so the register is now set to 41FF00FF the same as both processors like the factory MSS65?
I think I'm the first to successfully unlock one of these DMEs. Publicly anyway
You have a factory unlocked MSS60 right? When you get the chance do you think you'd be able to read the shadow memory from it? CMDFlash just tacks it onto the end of the internal flash, not sure about others. I made the assumption that the shadow memory from the MSS65 is good enough (and it probably is), but I just want to be sure there isn't anything different.
- Likes 1
Comment
-
Originally posted by terra View Post
Basically yep. BDM flash finished, and I confirmed the DME is responsive now.
I think I'm the first to successfully unlock one of these DMEs. Publicly anyway
You have a factory unlocked MSS60 right? When you get the chance do you think you'd be able to read the shadow memory from it? CMDFlash just tacks it onto the end of the internal flash, not sure about others. I made the assumption that the shadow memory from the MSS65 is good enough (and it probably is), but I just want to be sure there isn't anything different.
I feel I have searched exhaustively and PM'd everyone who seemed to have even a shred of relevant information. There are few comments out there from people who thought they knew how to do it or even claim to have done it. But no one sharing any useful information or proof of the accomplishment.
Again, awesome.
Comment
-
Originally posted by terra View Post
Basically yep. BDM flash finished, and I confirmed the DME is responsive now.
I think I'm the first to successfully unlock one of these DMEs. Publicly anyway
You have a factory unlocked MSS60 right? When you get the chance do you think you'd be able to read the shadow memory from it? CMDFlash just tacks it onto the end of the internal flash, not sure about others. I made the assumption that the shadow memory from the MSS65 is good enough (and it probably is), but I just want to be sure there isn't anything different.
Comment
Comment