Pages: 1 ... 19 20 [21] 22 23 ... 29
Author Topic: Haldex Controllers Thinking.....  (Read 276608 times)
k0mpresd
Hero Member
*****

Karma: +146/-54
Offline Offline

Posts: 1655


« Reply #300 on: January 24, 2016, 05:35:23 PM »

i have volvo gen2 here as well along with land rover gen4.
volvo doesnt seem to have watchdog wired. neither does the LR, both are missing the 8 pin IC.

also, dont see a k-line transceiver on any of them. the canbus transceiver is there though.
so bootmode may only be possible via TTL. or maybe i just missed it.

im assuming P3.9, pin 76 is k-line Tx. id have to remove the c167 from one of the boards to check underneath but i dont find any type of connection to it anywhere on the board.
Logged
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #301 on: January 24, 2016, 09:24:26 PM »

i have volvo gen2 here as well along with land rover gen4.
volvo doesnt seem to have watchdog wired. neither does the LR, both are missing the 8 pin IC.

also, dont see a k-line transceiver on any of them. the canbus transceiver is there though.
so bootmode may only be possible via TTL. or maybe i just missed it.

im assuming P3.9, pin 76 is k-line Tx. id have to remove the c167 from one of the boards to check underneath but i dont find any type of connection to it anywhere on the board.

Yes I remember the kline is missing on Volvo, it was some time ago though.  They accept a bootloader over can for flash though.  Sure it was a C167 CR too?
Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
k0mpresd
Hero Member
*****

Karma: +146/-54
Offline Offline

Posts: 1655


« Reply #302 on: January 24, 2016, 10:28:55 PM »

Yes I remember the kline is missing on Volvo, it was some time ago though.  They accept a bootloader over can for flash though.  Sure it was a C167 CR too?

gen2 volvo is c167cs-lm, same as the vw and gen4 LR is st10f272. no M like on the golf r gen4.

BL via CAN would be the way to go for sure.
Logged
DT
Full Member
***

Karma: +20/-1
Offline Offline

Posts: 184


« Reply #303 on: January 25, 2016, 02:02:15 AM »

I've not made much progress, need to work more on my minimon driver for gen1. I get what seems to be boot mode but end up in normal mode, probably after software fault causing soft-reset which does not care about p0L.4 held low.
« Last Edit: January 25, 2016, 02:14:55 AM by DT » Logged

dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #304 on: January 25, 2016, 10:54:48 AM »

disable the watchdog with the first instruction Wink
Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
DT
Full Member
***

Karma: +20/-1
Offline Offline

Posts: 184


« Reply #305 on: January 25, 2016, 11:46:32 AM »

disable the watchdog with the first instruction Wink
Well, the watchdog is not my problem.
« Last Edit: January 25, 2016, 11:50:17 AM by DT » Logged

nyet
Administrator
Hero Member
*****

Karma: +607/-168
Offline Offline

Posts: 12270


WWW
« Reply #306 on: January 25, 2016, 11:54:42 AM »

software fault causing soft-reset which does not care about p0L.4 held low.

That would likely be the watchdog
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please 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
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #307 on: January 25, 2016, 12:41:20 PM »

That would likely be the watchdog

It's the first instruction in the Volvo loader so I thought it might help you Smiley
Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
DT
Full Member
***

Karma: +20/-1
Offline Offline

Posts: 184


« Reply #308 on: January 25, 2016, 12:43:13 PM »

That would likely be the watchdog
Well I keep the watchdog under control with 20Hz signal feed to the unit since I've not found in code how and if it is the CPU that generate the watchdog signal.
Besides it does not happen after the 800ms that ccyberwing discovered but rather later in process.
Logged

DT
Full Member
***

Karma: +20/-1
Offline Offline

Posts: 184


« Reply #309 on: January 25, 2016, 12:44:12 PM »

It's the first instruction in the Volvo loader so I thought it might help you Smiley
Hmm, have to look into that. You mentioned that before I think, but I didn't look at it then.
Logged

DT
Full Member
***

Karma: +20/-1
Offline Offline

Posts: 184


« Reply #310 on: January 25, 2016, 12:53:14 PM »

It's the first instruction in the Volvo loader so I thought it might help you Smiley
edit:
stupid post by me
but still I don't think it got anything to do with this since it is an internal wdt

« Last Edit: January 25, 2016, 01:00:00 PM by DT » Logged

dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #311 on: January 25, 2016, 03:40:19 PM »

The first instruction is:

diswdt

then it look like it's reading can buffers not looked it much.
Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #312 on: January 25, 2016, 03:44:56 PM »

That would likely be the watchdog

My thoughts to hence the post also some stuff here http://www.infineon.com/dgdl/ap1601210_Bootstrap_Loader_IDB.pdf?fileId=db3a304318a6cd680118cb945a2140bc

http://embedded.ifmo.ru/embedded_old/UK/KIUS/C167/CHAP17.PDF

More important perhaps http://embedded.ifmo.ru/embedded_old/UK/KIUS/C167/CHAP12.PDF


Quote
To allow recovery from software or hardware failure, the 80C166 provides a Watchdog Timer. If the
software fails to service this timer before an overflow occurs, an internal reset sequence will be
initiated. This internal reset will also pull the RSTOUT pin low, which also resets the peripheral
hardware, which might be the cause for the malfunction. When the watchdog timer is enabled and
the software has been designed to service it regularly before it overflows, the watchdog timer will
supervise the program execution, as it only will overflow if the program does not progress properly.
The watchdog timer will also time out, if a software error was due to hardware related failures. This
prevents the controller from malfunctioning for longer than a user-specified time.
The watchdog timer provides two registers: a read-only timer register that contains the current
count, and a control register for initialization.



It's serviced by the OS?


Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
DT
Full Member
***

Karma: +20/-1
Offline Offline

Posts: 184


« Reply #313 on: January 25, 2016, 04:14:12 PM »

from chap17.pdf
The watchdog reset cannot occur while the C167 is in bootstrap loader mode!
Logged

k0mpresd
Hero Member
*****

Karma: +146/-54
Offline Offline

Posts: 1655


« Reply #314 on: January 25, 2016, 05:30:00 PM »

im no programmer or disassembler, so im really reaching here, but does anyone have any idea how to disable the chksum check in these files?

if you do, i may have something to trade for the info.
Logged
Pages: 1 ... 19 20 [21] 22 23 ... 29
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.025 seconds with 17 queries. (Pretty URLs adds 0.001s, 0q)