Pages: [1]
Author Topic: I/O on 2nd C167?  (Read 5483 times)
Axis
Full Member
***

Karma: +4/-4
Offline Offline

Posts: 91


« on: April 15, 2013, 05:23:37 PM »

How are input/outputs on 2nd C167 cpu addressed? I need to find such code to identify a map.
And might also want to use it to control external device.

Anyone who can paste some example code from IDA showing how it's done?
Logged
IamwhoIam
Hero Member
*****

Karma: +52/-115
Offline Offline

Posts: 1070


« Reply #1 on: April 18, 2013, 11:05:29 AM »

If memory serves, the 2nd C167 is a port expander, but I could be wrong.
Logged

I have no logs because I have a boost gauge (makes things easier)
Axis
Full Member
***

Karma: +4/-4
Offline Offline

Posts: 91


« Reply #2 on: April 18, 2013, 02:14:33 PM »

I would rather think that they are connected by the SSC (spi) in Master/Slave mode. Though I've not checked the circuitboard for this.
I need help finding how code/routine is used to address the I/O ports on slave device. I can' remember reading about if the slave C167 have the same internal boot rom or another prepared for SPI com.
Logged
phila_dot
Hero Member
*****

Karma: +173/-11
Offline Offline

Posts: 1709


« Reply #3 on: April 18, 2013, 02:36:25 PM »

Doesn't really answer your question, but have you seen this:

http://nefariousmotorsports.com/forum/index.php?topic=198.0title=
Logged
Axis
Full Member
***

Karma: +4/-4
Offline Offline

Posts: 91


« Reply #4 on: April 18, 2013, 04:20:46 PM »

Yes, seen it long before I had the need to identify such code. I Recall Tonys statement that he guessed that it was a watchdog.
It was to some help now when I read it again. I guess that I might get further by finding a few known outputs for which I have known maps.

Thank you
Logged
Pages: [1]
  Print  
 
Jump to:  

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