RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 3:50 pm

All times are UTC





Post new topic Reply to topic  [ 156 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10, 11  Next
Author Message
 Post subject: Re: K-line open-source reflash utilities
PostPosted: Sun Oct 30, 2022 11:32 am 
Offline
Newbie

Joined: Fri Aug 12, 2016 4:12 pm
Posts: 21
Okay so I had to extend the read timeouts with "npconf rxe 40" and could dump the ROM afterwards perfectly.

Now trying to flash is another story. Car is a 2004 JDM Legacy GT, ECU is A2ZJD02B (SH7055) which I was able to flash with Ecuflash sti04 method. Nisprog is telling me I got the wrong kernel (180vs350nm), but there's only one SH7055 kernel afaik?


Top
 Profile  
 
 Post subject: Re: K-line open-source reflash utilities
PostPosted: Sun Oct 30, 2022 1:41 pm 
Offline
Experienced

Joined: Tue Jun 06, 2017 6:11 pm
Posts: 215
I think it is the 350nm version what is needed, found few posts earlier. But it needs to be loaded to 0xffff6004 instead of 0xffff6000 so nisprog source needs to be changed. Or kernel needs recompiled to start at 0xffff6000...


Top
 Profile  
 
 Post subject: Re: K-line open-source reflash utilities
PostPosted: Sun Oct 30, 2022 2:23 pm 
Offline
Newbie

Joined: Fri Aug 12, 2016 4:12 pm
Posts: 21
All right, makes sense, but that's way over my head for now. I had downloaded and tried your FastECU that was released on GitHub recently and had no success either, that's why I had hopes for nisprog now. Don't wanna be dependent on Windows again just for these flashing utilities.


Top
 Profile  
 
 Post subject: Re: K-line open-source reflash utilities
PostPosted: Sun Oct 30, 2022 2:40 pm 
Offline
Experienced

Joined: Tue Jun 06, 2017 6:11 pm
Posts: 215
redVellocet wrote:
All right, makes sense, but that's way over my head for now. I had downloaded and tried your FastECU that was released on GitHub recently and had no success either, that's why I had hopes for nisprog now. Don't wanna be dependent on Windows again just for these flashing utilities.
Send you PM regarding my software.


Top
 Profile  
 
 Post subject: Re: K-line open-source reflash utilities
PostPosted: Mon Oct 31, 2022 7:34 am 
Offline
Experienced

Joined: Tue Jun 06, 2017 6:11 pm
Posts: 215
SergArb wrote:
Super, will be waiting :)

Haven't got the software as complete as I want it to be so far due to limited time, but decided to make it public so people can test it to see how it works.

Source and Win7/Linux precompiled files found here:
https://github.com/miikasyvanen/fastecu-oem

Linux shouldn't need to have Qt installed anymore so all precompiled should work just unzipping and running software. Basicly, sti04 flash method is tested by me on bench, fxt02 and sti05 methods are untested yet. Tuning should work also but fxt02 needs romraider definitions that I don't have yet. For just flashing, minimum def like 'romid' section with appropriate info should work. Also logging is not fully working yet, can read basic SSM-values but no saving to file etc. Try to get that working ASAP.


Top
 Profile  
 
 Post subject: Re: K-line open-source reflash utilities
PostPosted: Mon Oct 31, 2022 10:10 am 
Offline
Experienced
User avatar

Joined: Sun Aug 18, 2019 12:10 pm
Posts: 278
Location: Russia, Ulan-Ude (Near Lake Baikal)
Cool!
Found some mistake in "mainwindow.h":
QStringList flash_methods = {
"wrx02",
"wrx04",
"ftx02", //should be fxt02, not ftx?
"sti04",
"sti05",
"subarucan",
"subarucan_iso",
};

_________________
Subaru Outback BR9 EDM 2010 EJ253 CVT... Subaru Impreza GG2 JDM 2001 EJ152 AT...
Some Hitachi ROM's modifications...


Top
 Profile  
 
 Post subject: Re: K-line open-source reflash utilities
PostPosted: Mon Oct 31, 2022 10:56 am 
Offline
Experienced

Joined: Tue Jun 06, 2017 6:11 pm
Posts: 215
SergArb wrote:
Cool!
Found some mistake in "mainwindow.h":
QStringList flash_methods = {
"wrx02",
"wrx04",
"ftx02", //should be fxt02, not ftx?
"sti04",
"sti05",
"subarucan",
"subarucan_iso",
};


Damn! :) Yes it should be fxt. I will fix it later tonight.


Top
 Profile  
 
 Post subject: Re: K-line open-source reflash utilities
PostPosted: Mon Oct 31, 2022 4:46 pm 
Offline
Experienced

Joined: Tue Jun 06, 2017 6:11 pm
Posts: 215
SergArb wrote:
Cool!
Found some mistake in "mainwindow.h":
QStringList flash_methods = {
"wrx02",
"wrx04",
"ftx02", //should be fxt02, not ftx?
"sti04",
"sti05",
"subarucan",
"subarucan_iso",
};

Fixed.

Btw, I just realized that there is no native 64-bit version of Open Port 2.0 driver... so 64-bit Windows version of software is useless because it fails to load 32-bit driver.

EDIT: Added logging to file function also so little bit more usable now :) just needs to change ECU ID in logger.cfg file by hand for now...


Top
 Profile  
 
 Post subject: Re: K-line open-source reflash utilities
PostPosted: Tue Nov 01, 2022 1:35 pm 
Offline
Experienced
User avatar

Joined: Sun Aug 18, 2019 12:10 pm
Posts: 278
Location: Russia, Ulan-Ude (Near Lake Baikal)
Glad to see your progress with software))
Forgot to ask, fxt02 and sti04 use same "ssmk_SH7055.bin" kernel?

_________________
Subaru Outback BR9 EDM 2010 EJ253 CVT... Subaru Impreza GG2 JDM 2001 EJ152 AT...
Some Hitachi ROM's modifications...


Top
 Profile  
 
 Post subject: Re: K-line open-source reflash utilities
PostPosted: Tue Nov 01, 2022 1:42 pm 
Offline
Experienced

Joined: Tue Jun 06, 2017 6:11 pm
Posts: 215
SergArb wrote:
Glad to see your progress with software))
Forgot to ask, fxt02 and sti04 use same "ssmk_SH7055.bin" kernel?

Yes, they use the same kernel.


Top
 Profile  
 
 Post subject: Re: K-line open-source reflash utilities
PostPosted: Sun Nov 06, 2022 10:51 am 
Offline
Experienced
User avatar

Joined: Sun Aug 18, 2019 12:10 pm
Posts: 278
Location: Russia, Ulan-Ude (Near Lake Baikal)
Tried fxt02 with openport 2.0 today. Always bad response from bootloader((
Greens and flash connector was connected.
Maybe bad contact in obd female... Flashed on a bench via CAN.

_________________
Subaru Outback BR9 EDM 2010 EJ253 CVT... Subaru Impreza GG2 JDM 2001 EJ152 AT...
Some Hitachi ROM's modifications...


Top
 Profile  
 
 Post subject: Re: K-line open-source reflash utilities
PostPosted: Sun Nov 06, 2022 11:32 am 
Offline
Experienced

Joined: Tue Jun 06, 2017 6:11 pm
Posts: 215
Somehow setting the programming voltage gives error. Will look it tonight.


Top
 Profile  
 
 Post subject: Re: K-line open-source reflash utilities
PostPosted: Sun Nov 06, 2022 8:20 pm 
Offline
Experienced

Joined: Tue Jun 06, 2017 6:11 pm
Posts: 215
SergArb wrote:
Tried fxt02 with openport 2.0 today. Always bad response from bootloader((
Greens and flash connector was connected.
Maybe bad contact in obd female... Flashed on a bench via CAN.

Fixed programming voltage issue, should access to bootloader now. Didn't able to test in car that kernel upload etc. works... maybe tomorrow if I have time to go to my car.

EDIT: No luck yet, will be continue testing in car to get it working.


Top
 Profile  
 
 Post subject: Re: K-line open-source reflash utilities
PostPosted: Mon Nov 07, 2022 7:12 pm 
Offline
Experienced

Joined: Tue Jun 06, 2017 6:11 pm
Posts: 215
This is getting little odd now :) My modded obd cable works with fxt02 method but OP2 doesn't. Both cable works with logging and with sti04 method. Tested with logic analyzer/oscilloscope that programming voltage pulse and messages are ok but still no juice... well, more testing tomorrow if I have time.


Top
 Profile  
 
 Post subject: Re: K-line open-source reflash utilities
PostPosted: Tue Nov 08, 2022 9:47 pm 
Offline
Experienced

Joined: Tue Jun 06, 2017 6:11 pm
Posts: 215
Tested tonight with 16-bit Impreza ECU on bench. Same code that didn't work on Forester and which is the same code as in bootloader test software, did work on Impreza ECU with both adapters in Linux. I will test tomorrow on car with Linux and Windows if I find some difference and if the problem lies somehow on Windows side.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 156 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10, 11  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


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

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl