majorahole
|
|
« Reply #15 on: January 16, 2015, 11:55:59 AM »
|
|
|
awesome write-up!! a bit over my head, as i cant figure out the ida well enough to change logging variables yet, but for those that get it, this is cool little tool to have!
|
|
|
Logged
|
|
|
|
AngelPowy
Full Member
Karma: +1/-0
Offline
Posts: 55
|
|
« Reply #16 on: January 17, 2015, 12:02:11 PM »
|
|
|
I appologize if my question is maybe noob, but As we change asm code (wich is not in the tuning area if I can say it like this), Ols don't cover change is this region of the flash. So do we have to worry about checksum? Or does the Region storing those code work without checksum ?
|
|
|
Logged
|
|
|
|
nyet
|
|
« Reply #17 on: January 17, 2015, 12:09:56 PM »
|
|
|
I appologize if my question is maybe noob, but As we change asm code (wich is not in the tuning area if I can say it like this), Ols don't cover change is this region of the flash. So do we have to worry about checksum? Or does the Region storing those code work without checksum ?
1) checksums cover both asm and the maps 2) ols covers both asm and the maps 3) live checksumming must be disabled for live changes to not cause faults.
|
|
|
Logged
|
ME7.1 tuning guideECUx PlotME7Sum checksumTrim heatmap toolPlease do not ask me for tunes. I'm here to help people make their own. Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
|
|
|
AngelPowy
Full Member
Karma: +1/-0
Offline
Posts: 55
|
|
« Reply #18 on: January 17, 2015, 09:08:52 PM »
|
|
|
Ok so my ols version is uncorrect. When I try to modify the flash file in ASM region Winols tell that this area is not covered by checksum. So I think that WInols can't do this checksum but maybe flash tool is able to.
|
|
|
Logged
|
|
|
|
Aurélien
Full Member
Karma: +4/-0
Offline
Posts: 60
|
|
« Reply #19 on: January 18, 2015, 04:36:34 AM »
|
|
|
If you use original winols with original winols checksumm plugin, it does correct checksumm for every single area.
|
|
|
Logged
|
|
|
|
AngelPowy
Full Member
Karma: +1/-0
Offline
Posts: 55
|
|
« Reply #20 on: January 19, 2015, 12:11:08 AM »
|
|
|
Ok, I don't have the original version of winols I only tune for pleasure. And I use a V12 MPPS c*** so do the tool checksum when write or should I not try?
|
|
|
Logged
|
|
|
|
prj
|
|
« Reply #21 on: January 20, 2015, 05:32:21 PM »
|
|
|
I would go about this differently. Not to talk down on your effort or anything.
A much simpler way is to map tables to memory. In the flash, locate where tables are read, and redirect the reads to RAM. Build in a check that populates the RAM addresses on startup or on first read.
After that use WriteMemoryByAddress service (if it does not exist, create it) to write RAM directly. That way you can offload whole tables in to RAM. If you want to attach fancy dials to that, no problem. It is just a lot more universal... and this is how real time mapping is done on aftermarket ROM's for Evo ecu's.
The easiest way of course is to solder in a BDM header permanently, then overadvance the timing in the whole map, and record average CF at each operating point. Then subtract it from the map... That's what I did recently on a dual ECU setup. Only works in areas where it is knock limited though, does not work in areas where MBT is below knock limit, there you actually need something to change stuff in real time.
|
|
|
Logged
|
|
|
|
Basano
Full Member
Karma: +90/-3
Offline
Posts: 192
|
|
« Reply #22 on: January 21, 2015, 04:49:37 AM »
|
|
|
Hi prj,
When I looked at data-logging ages ago, I couldn’t get #3D WriteMemoryByAddress to work in MED9.1. I always got a negative reply – #7F and in the end I gave up on that route.
I think Aurélien has got WriteMemoryByAddress working via KWP & TP2.0, but I don’t know if he discovered a way to enable the service on MED9.1 or had to write an implementation in ASM. If he did that – impressive!
RAM-based tables would be a very neat feature
|
|
|
Logged
|
|
|
|
prj
|
|
« Reply #23 on: January 21, 2015, 08:55:25 AM »
|
|
|
Well you are adding monitoring of CAN ID's, it is no different to adding some logic into the ECU diagnostics routines.
|
|
|
Logged
|
|
|
|
technic
Full Member
Karma: +18/-5
Offline
Posts: 227
|
|
« Reply #24 on: February 01, 2015, 03:14:02 AM »
|
|
|
The easiest way of course is to solder in a BDM header permanently, then overadvance the timing in the whole map, and record average CF at each operating point. Then subtract it from the map... This is how I do it aswell.
|
|
|
Logged
|
|
|
|
ozzy_rp
Jr. Member
Karma: +16/-1
Offline
Posts: 49
|
|
« Reply #25 on: February 01, 2015, 01:44:55 PM »
|
|
|
My small contribution in this thread. PCB for can-bus splitter.
|
|
|
Logged
|
|
|
|
marrakech
Jr. Member
Karma: +0/-0
Offline
Posts: 30
|
|
« Reply #26 on: June 15, 2015, 05:09:12 AM »
|
|
|
greate!
|
|
|
Logged
|
|
|
|
tobygolf66
Jr. Member
Karma: +0/-1
Offline
Posts: 40
|
|
« Reply #27 on: September 01, 2015, 11:35:00 AM »
|
|
|
Great Job Basano ;-) Thank you ! Rgds Toby
|
|
|
Logged
|
|
|
|
dream3R
|
|
« Reply #28 on: September 11, 2015, 01:04:09 PM »
|
|
|
Hi prj,
When I looked at data-logging ages ago, I couldn’t get #3D WriteMemoryByAddress to work in MED9.1. I always got a negative reply – #7F and in the end I gave up on that route.
I think Aurélien has got WriteMemoryByAddress working via KWP & TP2.0, but I don’t know if he discovered a way to enable the service on MED9.1 or had to write an implementation in ASM. If he did that – impressive!
RAM-based tables would be a very neat feature
It's got to be there! Possibly a security feature? UDS surely lol
|
|
« Last Edit: October 09, 2015, 01:19:14 PM by dream3R »
|
Logged
|
|
|
|
tobygolf66
Jr. Member
Karma: +0/-1
Offline
Posts: 40
|
|
« Reply #29 on: September 25, 2015, 01:44:33 AM »
|
|
|
great stuff, thank you ;-)
rgds
|
|
|
Logged
|
|
|
|
|