Dev Blog
Forum
Wiki
About
NefMoto
>
Technical
>
Reverse Engineering
>
C167 assembler
Pages: [
1
]
« previous
next »
Author
Topic: C167 assembler (Read 9531 times)
jcsbanks
Full Member
Karma: +19/-3
Offline
Posts: 146
C167 assembler
« on: February 18, 2016, 05:44:09 AM »
Trying to get Keil tools to assemble a simple file but keep getting errors.
Anyone have a barebones assembler for C166/167 that will produce snippets of code for patching?
http://www.keil.com/forum/60979/#/msg199120
Logged
dream3R
Hero Member
Karma: +18/-8
Offline
Posts: 1194
Re: C167 assembler
« Reply #1 on: February 18, 2016, 10:50:46 AM »
Quote from: jcsbanks on February 18, 2016, 05:44:09 AM
Trying to get Keil tools to assemble a simple file but keep getting errors.
Anyone have a barebones assembler for C166/167 that will produce snippets of code for patching?
http://www.keil.com/forum/60979/#/msg199120
Keil works fine but iirc 8k limit.
Logged
How to work out values from an A2L
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
jcsbanks
Full Member
Karma: +19/-3
Offline
Posts: 146
Re: C167 assembler
« Reply #2 on: February 18, 2016, 11:08:02 AM »
8K is more than enough, I would just like to be able to assemble a file with a single NOP in it though and produce an object file!
Logged
dream3R
Hero Member
Karma: +18/-8
Offline
Posts: 1194
Re: C167 assembler
« Reply #3 on: February 18, 2016, 12:32:40 PM »
lol
Logged
How to work out values from an A2L
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
jcsbanks
Full Member
Karma: +19/-3
Offline
Posts: 146
Re: C167 assembler
« Reply #4 on: February 18, 2016, 12:33:02 PM »
This now works LOL.
For reference, you need a section and a proc enclosing your code.
john2 section code
john proc near
nop
john endp
john2 ends
END
Logged
DT
Full Member
Karma: +20/-1
Offline
Posts: 184
Re: C167 assembler
« Reply #5 on: February 18, 2016, 02:08:39 PM »
How nice if everybody shared their solution like you just did.
Really good 3rd post on the forum.
Logged
Try ME7idatool
http://nefariousmotorsports.com/forum/index.php?topic=21130.0
jcsbanks
Full Member
Karma: +19/-3
Offline
Posts: 146
Re: C167 assembler
« Reply #6 on: February 18, 2016, 02:51:36 PM »
Thanks. My routine is to copy maps from flash to RAM. I am running the fuelling from RAM as of last night, but on key off after power latch the RAM contents are lost so I need to repopulate them.
Logged
jcsbanks
Full Member
Karma: +19/-3
Offline
Posts: 146
Re: C167 assembler
« Reply #7 on: February 19, 2016, 06:31:12 AM »
Routine works. Now expanding to allow multiple different maps to be copied to RAM by parsing a table.
Logged
fknbrkn
Hero Member
Karma: +185/-23
Offline
Posts: 1454
mk4 1.8T AUM
Re: C167 assembler
« Reply #8 on: February 19, 2016, 02:40:20 PM »
Quote from: jcsbanks on February 19, 2016, 06:31:12 AM
Routine works. Now expanding to allow multiple different maps to be copied to RAM by parsing a table.
imo with indirect word/byte location
but why are you need whole map in ram?
Logged
jcsbanks
Full Member
Karma: +19/-3
Offline
Posts: 146
Re: C167 assembler
« Reply #9 on: February 19, 2016, 03:54:52 PM »
The group copy is working after some DPP fun.
It is for realtime mapping mainly aimed at turbocharging.
Logged
DT
Full Member
Karma: +20/-1
Offline
Posts: 184
Re: C167 assembler
« Reply #10 on: February 19, 2016, 04:20:37 PM »
figured
, but do search for Roadrunner by moates. With that flash emulator you can use your time to tune instead.
Logged
Try ME7idatool
http://nefariousmotorsports.com/forum/index.php?topic=21130.0
jcsbanks
Full Member
Karma: +19/-3
Offline
Posts: 146
Re: C167 assembler
« Reply #11 on: February 19, 2016, 04:41:29 PM »
This is Siemens MS43 so there are a number of reasons to go this way rather than hardware emulator.
«
Last Edit: February 20, 2016, 02:52:09 AM by jcsbanks
»
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 24, 2024, 08:57:12 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...