
Sure, oldscool C. No classes, lots of pointers

As in the good old days

kur4o wrote:Thanks for the quick fix.
I managed to connect and disconnect to mdi without issues. Worked great. No pcm to test more though.
Since you have connect and disconnect to the tool can it be used as a monitoring device. I guess it will be simple command send to monitor all bus traffic and output it to the app. Adding pin select for monitoring and protocol will be just awesome. I am sure that mdi have and support pin reassignment.
On the flashing side. Do you think 0-BFFF area can be reflashed or is it part of the internal cpu memory.
ironduke wrote:This is great!!! Can't wait to try out the new version..
One thing to mention, and this is not a great concern, but... using the MDI wireless it fails every time trying to read the flash.. well not every time.. I tried a bunch of times on another bench E38 and last night and the 7th time it made it thru a full read and was a byte for byte match of the file so no errors.. This is not a point of concern, lol.. Just for down the road it would be nice.. You mentioned a possible timing issue with Antus and his read issue which seems to have resolved itself? I failed to take note of what the exact error was, I believe it was not getting the correct response but I'll pay more attention next time.. If there is a small timing issue and it gets nailed down now then this will prevent future issues and might even help the elm327 issues??
Your programming is way over my head, but if I can help with testing or logging let me know..
Has anyone tried this in a vehicle yet?? so far all mine have been on the bench, I am assuming your sending the stop chatter command so it should be ready for vehicle testing?? I'm game to try probably tomorrow if you give me the go ahead, at least for reading, lol... If I can unbrick my E38 I'll throw it in a vehicle and give that one write attempt as well..
Any ideas on if we can perform a write entire? I saw that when writing boot was unchecked, I did try checking it and performing a write but when reading afterwards and doing a file compare it doesn't appear anything was written before 0x10000 That may have been the end of my bench E38 but I don't know if unchecking/checking any of the calibrations/sections actually does anything?? In my zeal last night I threw everything at my bricked bench.. Now it just flatlines the canbus at around 2.4 or 2/6 volts as soon as you turn the key on.. No chatter whatsoever.. Powered down for today and I'll check it again tomorrow morning when I get in the shop..
If I haven't thanked you yet today, thanks a ton for providing this!!! Looks like we're going to have to start figuring out how to find definitions out of the bin files.. I've been working on my figuring out of the CVN and SUM of each segment, giving it my own attempt at some code to compute these, baby steps for me...
Which OS were you looking for information on?? I'm assuming you have a pet project all this work is pointd towards??