• Advertisement
ECUPROJECT.com'
Advertising Inquiry!

SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

This forum is for T7 specific software tools, including tutorials and how-to's.

SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby tomili » Sun Aug 05, 2007 3:37 pm

I'm proud to present to you SaabOpenProg - The First Freeware Trionic 7 CAN Reader/Programmer.

Version 0.80
Additional features
- raw write mode (you can change the Hardware serial number, aka Immobilizer code)

Version 0.70
Additional features
- writes automatically log file of operation

Fixes
- writes VIN code from given binary, not the same as in Trionic already

Version 0.61
Additional features
- read Trionic binary to PC (takes about 12 min)
- support for Motorola byte-order files

Fixes
- increased erase timeout time

Version 0.50 - first public beta
Features
- accepts Trionic 7 binaries
- reads header information from the Trionic 7 unit (via CAN)
- re-programs the Trionic 7 unit via CAN bus
- supports both Saab I-Bus and P-Bus
- fast: programming takes about 6 minutes using P-Bus (I-Bus to be tested)
- Freeware, source code included (even commercial usage permitted)

Upcoming features
- read binary from Trionic 7 unit
- support for OBD-II adapters (ELM323 probably)
- optimize speed (don't send empty parts of the binary)

Requirements
- Windows (tested only on XP)
- Lawicel CANUSB adapter
- Spare Trionic 7 unit, since the software has not been tested properly yet

For more information see my site:
http://pikkupossu.1g.fi/tomi/projects/trionic/trionic.html#saabopenprog
Last edited by tomili on Sat Sep 01, 2007 10:18 am, edited 4 times in total.
tomili
ECU Apprentice
 
Posts: 38
Joined: Sun Jul 29, 2007 6:30 pm
Location: Finland

Re: SaabOpenProg - The First Freeware Trionic 7 CAN Programmer

Postby stevehayes01 » Sun Aug 05, 2007 11:46 pm

This is awesome! IS it set to only work with 1 CANBUS adapter??
User avatar
stevehayes01
Site Admin
 
Posts: 573
Joined: Fri Jul 20, 2007 12:20 am

Re: SaabOpenProg - The First Freeware Trionic 7 CAN Programmer

Postby tomili » Mon Aug 06, 2007 3:18 am

stevehayes01 wrote:This is awesome! IS it set to only work with 1 CANBUS adapter??

If I understood the question right, it only works with the Lawicel CANUSB adapter. But it can be made to work with others too, if there's a driver & API available. Is there an adapter you have in mind?
tomili
ECU Apprentice
 
Posts: 38
Joined: Sun Jul 29, 2007 6:30 pm
Location: Finland

Re: SaabOpenProg - The First Freeware Trionic 7 CAN Programmer

Postby stevehayes01 » Mon Aug 06, 2007 8:57 am

Yeah I guess that is what I was getting at was if it was tied to 1 device by programming. Ok so as long as it can be changed that is very cool!


So far I do not have a device in mind.


Do you have a tutorial on the use of the device by chance??
User avatar
stevehayes01
Site Admin
 
Posts: 573
Joined: Fri Jul 20, 2007 12:20 am

Re: SaabOpenProg - The First Freeware Trionic 7 CAN Programmer

Postby General Failure » Mon Aug 06, 2007 9:17 am

The CANUSB is very good and the most inexpensive USB-CAN adapter on the market. I think this device should be the preferred device for all our CAN efforts. Manuals and everything you need to know about the CANUSB can be found at http://www.canusb.com.

Tomis code will be ported to the T7Tool that will give it a graphical user interface. While doing this we could look into creating a generic CAN driver/interface that makes it easy to add more CAN devices. It's sad that there isn't a standardized API for CAN adapters...

I will also make sure that the code will work with ELM327 based OBDII adapters.
General Failure
ECU Guru
 
Posts: 280
Joined: Thu Aug 02, 2007 9:43 am
Location: Östuna

Re: SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby tomili » Wed Aug 15, 2007 12:09 pm

Released SaabOpenProg v0.61 - Now with read ability (Trionic -> PC).

Thanks go out to General Failure for providing information about the read process.
Last edited by tomili on Wed Aug 15, 2007 3:27 pm, edited 1 time in total.
tomili
ECU Apprentice
 
Posts: 38
Joined: Sun Jul 29, 2007 6:30 pm
Location: Finland

Re: SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby stevehayes01 » Wed Aug 15, 2007 3:19 pm

Once again Kudos man! You do phenominal work Tomi!
User avatar
stevehayes01
Site Admin
 
Posts: 573
Joined: Fri Jul 20, 2007 12:20 am

Re: SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby tomili » Fri Aug 24, 2007 3:51 pm

Released SaabOpenProg v0.70. Minor improvements.
tomili
ECU Apprentice
 
Posts: 38
Joined: Sun Jul 29, 2007 6:30 pm
Location: Finland

Re: SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby tomili » Sat Sep 01, 2007 10:20 am

Released SaabOpenProg v0.80. Now with 'Raw Write' mode that allows you to write the whole binary to Trionic. This enabled you to change the Hardware serial number (aka. Immobilizer code) in the binary and have it written to your Trionic box (this isn't possible with the normal Write mode).
tomili
ECU Apprentice
 
Posts: 38
Joined: Sun Jul 29, 2007 6:30 pm
Location: Finland

Re: SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby saabtuners » Mon Sep 03, 2007 6:55 am

tomili wrote:Released SaabOpenProg v0.80. Now with 'Raw Write' mode that allows you to write the whole binary to Trionic. This enabled you to change the Hardware serial number (aka. Immobilizer code) in the binary and have it written to your Trionic box (this isn't possible with the normal Write mode).


hey Tomi,

So I managed to change the immo code and flashed the software to the ecu. After installing in the car...VROEMMMM!!! good lord....we don't need the Tech2 anymore for marrying the ecu to the car :) :)

regards!!
** 9-5 2,3 Vector BioPower My'08 stage 1 **
** 900 Classic T16 **
User avatar
saabtuners
ECU Guru
 
Posts: 118
Joined: Mon Aug 27, 2007 7:36 am

Re: SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby DREWZ AIRFLOW SE » Tue Sep 04, 2007 1:13 am

So is this going to work with t5 too?
DREWZ AIRFLOW SE
 
Posts: 4
Joined: Fri Aug 31, 2007 11:04 pm

Re: SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby stevehayes01 » Tue Sep 04, 2007 1:52 am

DREWZ AIRFLOW SE wrote:So is this going to work with t5 too?



The T5 is being worked on seperatly. Right now you can use teh BDM method to pull data on and off the ECU. Drew has modified his case to allow for a BDM connection to be available while the ECU is in the car so that you do not have to bench it every time.
User avatar
stevehayes01
Site Admin
 
Posts: 573
Joined: Fri Jul 20, 2007 12:20 am

Re: SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby perkj » Sat Oct 20, 2007 4:46 pm

Tommi (or anyone else for that matter),

I downloaded Tommi's software and extracted the zip and arch libs and when I go to run the exe, I get the following "The application or DLL C:\temp\Saab\saabOpenProg\canusbdrv.dll is not a valid Windoes image. Please check this against you installation diskette"

Keep in mind I do not have my CANUSB yet, so I'm assuming that the software won't even run with out it. Is this correct? If not, how do get the software running?
perkj
Circuit Tester
 
Posts: 8
Joined: Sun Jul 29, 2007 12:14 pm
Location: Bay Area California USA

Re: SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby tomili » Sun Oct 21, 2007 6:24 am

perkj,

You'll need to install the CANUSB drivers from http://www.canusb.com/downloads.htm . Install both D2XX and VCP Drivers (CDM) and CANUSB DLL & ActiveX Driver. Of course you can't do anything useful with the software until you have the adapter.


Tomi
tomili
ECU Apprentice
 
Posts: 38
Joined: Sun Jul 29, 2007 6:30 pm
Location: Finland

Re: SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby perkj » Sun Oct 21, 2007 1:57 pm

Thanks Tommi!
perkj
Circuit Tester
 
Posts: 8
Joined: Sun Jul 29, 2007 12:14 pm
Location: Bay Area California USA

Re: SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby Sidiov » Tue Jan 15, 2008 4:05 pm

I use a CAN232 adapter, would it be possible to update the program to support that? I think it's similar interface without the USB to 232 adaptation drivers.
Sidiov
 
Posts: 2
Joined: Tue Oct 16, 2007 1:26 pm

Re: SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby General Failure » Wed Jan 16, 2008 8:58 am

Sidiov wrote:I use a CAN232 adapter, would it be possible to update the program to support that? I think it's similar interface without the USB to 232 adaptation drivers.

It would be very easy to update T7Tool with support for CAN232. Much easier that SOP I think. In T7Tool you only need to add 50-100 lines of code to get support for a new CAN interface.
General Failure
ECU Guru
 
Posts: 280
Joined: Thu Aug 02, 2007 9:43 am
Location: Östuna

Re: SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby stevehayes01 » Wed Jan 16, 2008 2:39 pm

Would it just be adding the device specific CAN device codes to the application?
User avatar
stevehayes01
Site Admin
 
Posts: 573
Joined: Fri Jul 20, 2007 12:20 am

Re: SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby General Failure » Thu Jan 17, 2008 3:18 am

stevehayes01 wrote:Would it just be adding the device specific CAN device codes to the application?


It's basically four functions that needs to be implemented:

Open device (connect to I/P-bus)
Close device
Receive CAN messages
Send CAN messages

And a lot of this is copy/paste from the CANUSB implementation. You can have a look at the source code here: http://reverse-that-trionic.googlecode. ... BDevice.cs
General Failure
ECU Guru
 
Posts: 280
Joined: Thu Aug 02, 2007 9:43 am
Location: Östuna

Re: SaabOpenProg - Freeware Trionic 7 CAN Reader/Programmer

Postby stevehayes01 » Thu Jan 17, 2008 5:49 pm

Makes perfect sense. Thanks.
User avatar
stevehayes01
Site Admin
 
Posts: 573
Joined: Fri Jul 20, 2007 12:20 am

Next

Return to Trionic 7 Tuning: Tools

Who is online

Users browsing this forum: No registered users and 1 guest

cron