dream3R
|
|
« Reply #315 on: January 25, 2016, 05:44:23 PM »
|
|
|
it's normally in he CPU boot secton, checks a code byte then misses it, sometime 2, data and cals.
PM me an IDB link and I'll look siemens toolset code is hard tho lol
|
|
|
Logged
|
|
|
|
dream3R
|
|
« Reply #316 on: January 25, 2016, 05:54:47 PM »
|
|
|
from chap17.pdf The watchdog reset cannot occur while the C167 is in bootstrap loader mode!
I was referring to the can loader that I have, good spot, those seem to be a good source IMHO it says that because you should have disabled it, it wont do it itself lol.
|
|
|
Logged
|
|
|
|
DT
Full Member
Karma: +20/-1
Offline
Posts: 184
|
|
« Reply #317 on: January 26, 2016, 01:50:38 AM »
|
|
|
Still, that concerns the internal wdt and the ~20Hz to an external ic is another matter.
I might have had a bad connection because now I have stable bootmode situation as long as I leave the 20Hz injection in place. When I remove it I can connect with VCDS again. Something with my minimon code regarding K-line transciever is faulty.
|
|
|
Logged
|
|
|
|
dream3R
|
|
« Reply #318 on: January 27, 2016, 04:45:37 AM »
|
|
|
Still, that concerns the internal wdt and the ~20Hz to an external ic is another matter.
I might have had a bad connection because now I have stable bootmode situation as long as I leave the 20Hz injection in place. When I remove it I can connect with VCDS again. Something with my minimon code regarding K-line transciever is faulty.
Keep at it, well done so several watchdogs, I'll skim the datasheet and see if I can help at all.
|
|
|
Logged
|
|
|
|
dream3R
|
|
« Reply #319 on: January 27, 2016, 05:11:28 AM »
|
|
|
Oscillator Watchdog (OWD)?
|
|
|
Logged
|
|
|
|
DT
Full Member
Karma: +20/-1
Offline
Posts: 184
|
|
« Reply #320 on: January 28, 2016, 07:01:36 AM »
|
|
|
Found another timer now which seems to output correct freq. But I still have the problem that I cannot get my code to execute in boot mode. It feels similar to what happens when power is incorrectly applied to ME7 in boot mode, it is boot mode but you cannot connect. (eg. with minimon or ME7eeprom) But on the Haldex Ecu there is not power+ignition it's only power.
My boot code works on a plain ME7 ecu, there is nothing wrong with it codewise but I cannot get it to execute in the Haldex.
Anyone?
|
|
|
Logged
|
|
|
|
dream3R
|
|
« Reply #321 on: January 28, 2016, 02:22:54 PM »
|
|
|
Code starting point being correct would be one idea.
|
|
|
Logged
|
|
|
|
DT
Full Member
Karma: +20/-1
Offline
Posts: 184
|
|
« Reply #322 on: January 28, 2016, 02:32:27 PM »
|
|
|
Code starting point being correct would be one idea.
nope unfortunately not it's position independent code
|
|
|
Logged
|
|
|
|
dream3R
|
|
« Reply #323 on: January 28, 2016, 03:05:03 PM »
|
|
|
nope unfortunately not it's position independent code
But it dependent on the CPU rom I was thinking perhaps....
|
|
|
Logged
|
|
|
|
DT
Full Member
Karma: +20/-1
Offline
Posts: 184
|
|
« Reply #324 on: January 28, 2016, 03:52:55 PM »
|
|
|
Finally, I'm getting somewhere
|
|
|
Logged
|
|
|
|
dream3R
|
|
« Reply #325 on: January 28, 2016, 03:56:14 PM »
|
|
|
What's working then?
|
|
|
Logged
|
|
|
|
DT
Full Member
Karma: +20/-1
Offline
Posts: 184
|
|
« Reply #326 on: January 28, 2016, 08:36:27 PM »
|
|
|
Damn, I'm tired, I need to get some sleep. Communication with Haldex gen1 works now, without touching the circuit board. But I'm not sure about memory layout, will have to continue tomorrow.
|
|
|
Logged
|
|
|
|
nyet
|
|
« Reply #327 on: January 28, 2016, 08:41:58 PM »
|
|
|
Grats! That is BIG news.
|
|
|
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
|
|
|
dream3R
|
|
« Reply #328 on: January 28, 2016, 08:52:52 PM »
|
|
|
Damn, I'm tired, I need to get some sleep. Communication with Haldex gen1 works now, without touching the circuit board. But I'm not sure about memory layout, will have to continue tomorrow. So I was right 0xc0000 plus a page or two?
|
|
|
Logged
|
|
|
|
DT
Full Member
Karma: +20/-1
Offline
Posts: 184
|
|
« Reply #329 on: January 28, 2016, 09:18:13 PM »
|
|
|
So I was right 0xc0000 plus a page or two?
It can be read from more than one address. I used another but I see now that 0xC0000 also works. I had to make a correct read before sleep. btw there is also a statement earlier in thread that does not seem correct about addressing and memory.
|
|
« Last Edit: January 28, 2016, 09:20:31 PM by DT »
|
Logged
|
|
|
|
|