Nissan ECU Tuning Forum Index Nissan ECU Tuning
Welcome to Nissan ECU Tuning
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

patch.exe v 1.1 for CA18DET (mec-d007 and mec-d009)

 
Post new topic   Reply to topic    Nissan ECU Tuning Forum Index -> 240sx Chip Tuning
View previous topic :: View next topic  
Author Message
tom



Joined: 26 Aug 2006
Posts: 10
Location: Poland

PostPosted: Sun Aug 27, 2006 7:47 pm    Post subject: patch.exe v 1.1 for CA18DET (mec-d007 and mec-d009) Reply with quote

What is patch.exe ?

...tools for calculate checksum and easy add patch.

Download from:
http://www.turbokillers.com/component/option,com_remository/Itemid,28/func,fileinfo/id,57/

(for download press "Pobierz")

Example:

1. Calculate and repair checksum (xor and add):

patch.exe source.bin destination.bin -e 7 -d 128

2. Convert 27C128 to 27C256 (use A14 line)

patch.exe source.bin destination.bin -e 7 -d 256

3. Change checksum routine ($8000-$9000)

patch.exe source.bin destination.bin -e 7 -d 128 -c $9000

4. Add patch

patch.exe source.bin destination.bin -e 7 -d 128 -p mypatch.hex

mypatch.asm:
Code:

;===========================================================
;mypatch.asm for mec-d007
;===========================================================

;-----------------------------------------------------------
;Patch - remove RMRC config

   org   $A9E3
   
   nop
   nop

;-----------------------------------------------------------
;change IRQ1 vector

   org   $BFF8

   dc.w   $B000   ; B000 - new address
.end


compile mypatch.asm to mypatch.hex:
Code:

S0030000FC
S5030001FB
S105A9E301016C
S5030001FB
S105BFF8B00093
S9030000FC



Help:
Code:

USAGE: patch.exe in_file.bin out_file.bin [options]

in_file      : mec-d007 or mec-d009 eprom dump
out_file     : file to write

OPTIONS:
-p patch.hex : patch file to apply
-e 7         : mec-d007
-e 9         : mec-d009
-d 128       : destination EPROM 27C128
-d 256       : destination EPROM 27C256
-c $xxxx     : calculate checksum $8000 - $xxxx
-h           : display help



Regards,
ToM

tom (at) turbokillers.com
www.turbokillers.com


Last edited by tom on Mon Mar 10, 2008 10:06 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
RomChip200



Joined: 27 Nov 2003
Posts: 196
Location: France

PostPosted: Thu Sep 07, 2006 2:54 pm    Post subject: Reply with quote

What's the interest to have a valid checksum (XOR ADD couple) in a CA18DET bin ?
_________________
200SX CA18DET S13 '92.
300ZX TT '91.
Back to top
View user's profile Send private message Send e-mail
tom



Joined: 26 Aug 2006
Posts: 10
Location: Poland

PostPosted: Sun Mar 09, 2008 8:41 pm    Post subject: New version Patch.exe v 1.2 Reply with quote

Download from:
http://www.turbokillers.com/component/option,com_remository/Itemid,28/func,fileinfo/id,57/

(for download press "Pobierz")

New functions:

- add support mec-d003E and mec-d008 firmware ( options -e 3 and -e 8 )
- add feedback control on/off ( options -o2 1 and -o2 2)
- add file info ( option -i )

Help:

Code:

***********************************************************************
***       Nissan S13 CA18DET ECCS  mec-d003, d007, d008, d009       ***
***                  patch v1.2 (09.03.2008) by ToM                 ***
***                       www.turbokillers.com                      ***
***********************************************************************


USAGE: patch.exe in_file.bin out_file.bin [options]

in_file      : eprom dump
out_file     : file to write

OPTIONS:
-p patch.hex : patch file to apply
-o2 1        : O2 sensor disable
-o2 2        : O2 sensor enable
-e 3         : mec-d003
-e 7         : mec-d007
-e 8         : mec-d008
-e 9         : mec-d009
-d 128       : destination EPROM 27C128
-d 256       : destination EPROM 27C256
-c $xxxx     : calculate checksum $8000 - $xxxx
-i           : display file info (USAGE: patch.exe in_file.bin -i -e ?)
-h           : display help


Regards,
ToM
_________________
Nissan 200sx - Turbokillers Polish Owners Club
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Nissan ECU Tuning Forum Index -> 240sx Chip Tuning All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group


Free Forum Free Top Site List
Make this Forum Ad-Free