pgmfi.org

Hacking up Honda's ECU
It is currently Mon Dec 09, 2024 4:58 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 5 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: 8
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  
Reply with quote  
 Post subject: Re: ECU Serial Debugger
PostPosted: Sun Jan 24, 2021 8:01 pm 
Offline

Joined: Sun Aug 30, 2020 9:18 am
Posts: 8
**** Updated v3.05


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


Last edited by BiggieSmallBlock on Mon Dec 05, 2022 8:11 pm, edited 4 times in total.

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

Joined: Tue Mar 09, 2010 2:02 am
Posts: 9
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  
Reply with quote  
 Post subject: Re: ECU Serial Debugger
PostPosted: Wed Mar 24, 2021 7:30 pm 
Offline

Joined: Sun Aug 30, 2020 9:18 am
Posts: 8
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  
Reply with quote  
 Post subject: Re: ECU Serial Debugger
PostPosted: Wed Apr 27, 2022 3:22 pm 
Offline

Joined: Sat Jul 14, 2007 1:36 pm
Posts: 137
Location: Middlesbrough, UK
I have a spare ostrich V2 I could be tempted to part with


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 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:  
cron
Powered by phpBB® Forum Software © phpBB Group