Dev Blog
Forum
Wiki
About
NefMoto
>
Technical
>
Reverse Engineering
>
I/O on 2nd C167?
Pages: [
1
]
« previous
next »
Author
Topic: I/O on 2nd C167? (Read 5484 times)
Axis
Full Member
Karma: +4/-4
Offline
Posts: 91
I/O on 2nd C167?
« 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
Posts: 1070
Re: I/O on 2nd C167?
« 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
Posts: 91
Re: I/O on 2nd C167?
« 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
Posts: 1709
Re: I/O on 2nd C167?
« 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
Posts: 91
Re: I/O on 2nd C167?
« 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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Introductions
=> General Discussion
-----------------------------
Noob Zone
-----------------------------
=> Noob Questions
=> Noob Guides and FAQs
-----------------------------
Technical
-----------------------------
=> NefMoto Software
=> Tuning
===> Documents & Helpers & How To's
===> Community Projects
=> Diagnostics
=> Flashing and Chipping
=> Cluster and Immobilizer
===> ECU EEPROM images
===> Original Cluster dumps
===> Original Cluster dump requests
=> Data Logging
=> Reverse Engineering
=> Communication Protocols
-----------------------------
ECU Files
-----------------------------
=> ECU Definition Files
===> ECU Definition File Requests
=> Original ECU Files
===> Original ECU File Requests
=> Checksum Update Requests
-----------------------------
Vehicles
-----------------------------
=> Vehicle Tech
=> Project Cars
-----------------------------
Regional
-----------------------------
=> Canadian Regional Discussion
=> US Regional Discussion
-----------------------------
Classifieds
-----------------------------
=> For Sale
=> Wanted
=> Services
-----------------------------
Miscellaneous
-----------------------------
=> Off Topic
=> Forum Tech Support
=> Bizarro Messages Posted by Bots and Spammers
Navigation
Home
Help
Login
Register
Personal Tools
November 27, 2024, 11:36:04 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced Search
Loading...