RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 11:02 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: CAN open-source reflash utilities
PostPosted: Tue Aug 30, 2022 2:42 am 
Offline
Experienced

Joined: Fri Aug 21, 2020 6:05 am
Posts: 315
Fully open source hardware (USBtin) and software (USBtinSubProg & npkern) is available for flashing CAN-based Subarus. Currently experimental status. It relies upon using a USBtin CAN interface. I have not looked in every Subaru ROM out there, but it appears that this solution should work for many Subarus from ~2005 to the present day.

This solution also works for some later pre-CAN vehicles by connecting directly to the ECU on the bench (because some of these ECUs have the CAN bootloader and CAN connections even though the OBD port does not have CAN connections).

Full credit to fenugrec as original author of the kernels, which have been modified for use on CAN vehicles. Full credit to Thomas Fischl as creator of the USBtin. If you find this application useful please consider supporting those involved.

A brief 'how to' guide and further info can be found here: https://github.com/rimwall/USBtinSubPro ... bProg_test and here: https://github.com/rimwall/npkern/tree/ssm_can_test

Help requested:
1. I have successfully done bench flashing on a SH7058 ECU. I am seeking volunteers for in-car flashing - let me know if you are keen to help out.
2. My Java is novice-level - it would be wonderful if someone more skilled with Java could volunteer to help improve the application, particularly the error handling
3. So far a CAN kernel is available for SH7058 ECUs. This can be extended to other chips - let me know if you are interested


Top
 Profile  
 
 Post subject: Re: CAN open-source reflash utilities
PostPosted: Tue Aug 30, 2022 9:32 am 
Offline
Experienced
User avatar

Joined: Sun Aug 18, 2019 8:10 am
Posts: 278
Location: Russia, Ulan-Ude (Near Lake Baikal)
Another useful tool, good job, as always :)

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


Top
 Profile  
 
 Post subject: Re: CAN open-source reflash utilities
PostPosted: Tue Aug 30, 2022 9:56 am 
Offline
Experienced

Joined: Tue Jun 06, 2017 2:11 pm
Posts: 206
Now we just need modified SH7055_35 kernel to bench test it with JDM Forester ECU


Top
 Profile  
 
 Post subject: Re: CAN open-source reflash utilities
PostPosted: Tue Aug 30, 2022 6:48 pm 
Offline
Experienced

Joined: Fri Aug 21, 2020 6:05 am
Posts: 315
Here is a 7055 350nm CAN kernel. You will need to get a USBtin to trial it, or have some other software/hardware for TX/RX of CAN messages. A8AK210A does have the CAN bootloader, so it should work once any bugs are ironed out.

USBtinSubProg changes required:
- The kernel is designed to be loaded at 0xFFFF6004, so line 240 needs to be changed to reflect this.
- lines 247 to 283 need to be changed to reflect the flash blocks of 7055 350nm.
- the 1MB check on ROM size should be changed to 512kB

USBtinSubProg should really be updated so that the ECU chip can be selected and the above changes then happen automatically. But that's a future improvement...


Attachments:
ssmk_CAN_SH7055_02fxt_35.zip [2.93 KiB]
Downloaded 92 times
Top
 Profile  
 
 Post subject: Re: CAN open-source reflash utilities
PostPosted: Wed Apr 24, 2024 4:42 am 
Offline
Newbie

Joined: Mon Aug 14, 2023 5:36 am
Posts: 41
hey mate.. just happens to be that ive been given a spare ECU its a 16bit Ive got as couple of Canables... Couple of Adriuno Nanos and MCP2515 boards kicking about..
Can i help?


Top
 Profile  
 
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 4 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