pgmfi.org

Hacking up Honda's ECU
It is currently Sun May 16, 2021 8:35 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: ECU Serial Debugger
PostPosted: Sat Jan 02, 2021 11:47 am 
Offline

Joined: Sun Aug 30, 2020 9:18 am
Posts: 7
I was analyzing a P13 ROM and thought it would be handy to have a way to monitor all the registers and PSW flags and "step" through the ecu code like a traditional debugger does. I'm not a programmer, but I came up with something that I find useful.
The program currently works on a p12/p13/p14 or any ECU running a P72, P30, or Honda tuning suite base ROM code.
Additional ROM support can be added via debugger.code files.(See documentation)

You will need a moates Ostrich(only tested on 2.0), a serial datalogging cable, and engine SIM.(and a socketed ECU of course)

The following registers are monitored and logged
-ACC
-r0 to r7
-PSW (CF, ZF, HC, DD, SF, MIE, SCB, BCB)
-X1
-X2
-DP
-LRB
-[SSP]

The program is not perfect, (probably never will be). Use at your own risk, and only on an engine simulator.
-Awon
Attachment:
screenshot.jpg


You do not have the required permissions to view the files attached to this post.


Last edited by BiggieSmallBlock on Sun Feb 14, 2021 2:07 pm, edited 3 times in total.

Top
 Profile  
 
 Post subject: Re: ECU Serial Debugger
PostPosted: Sun Jan 24, 2021 8:01 pm 
Offline

Joined: Sun Aug 30, 2020 9:18 am
Posts: 7
**** Updated v2.041 supports p72/p30/ and HTS Rom bases


You do not have the required permissions to view the files attached to this post.


Last edited by BiggieSmallBlock on Fri Apr 23, 2021 2:23 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: ECU Serial Debugger
PostPosted: Wed Mar 24, 2021 6:49 pm 
Offline

Joined: Tue Mar 09, 2010 2:02 am
Posts: 8
Location: Zlín, Czech Republic
This is very interesting! Ostrich is absolutely required, or could I use some alternative such as RTP/DL extension?


Top
 Profile  
 
 Post subject: Re: ECU Serial Debugger
PostPosted: Wed Mar 24, 2021 7:30 pm 
Offline

Joined: Sun Aug 30, 2020 9:18 am
Posts: 7
Some form of RTP is needed since the ROM needs to be updated on every "breakpoint". I only have an Ostrich, so that's what it's coded for. I'm sure that it could be updated to support a HondaRulez RTP, Demon, or other emulator, but I don't have the hardware to do it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  


Powered by phpBB® Forum Software © phpBB Group