TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

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

TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby matthewm » Fri Aug 01, 2008 7:59 am

Heres a quick guide how to create a bootable USB flash key for the german deltawave (or simlar) bdm interface

http://cgi.ebay.com/BDM-Interface-f-Nokia-DBOX1-Mediamaster-9x00-DVB2000_W0QQitemZ360082233446QQihZ023QQcategoryZ29741QQssPageNameZWDVWQQrdZ1QQcmdZViewItem

http://search.ebay.com/_W0QQsassZdeltawave_computer

You need
FlashT7 1.1 http://www.xendus.se/bdm/flasht7_1.1.zip
bd32 software http://www.xendus.se/bdm/bd32-122.zip
USB Key (any size)
Win98 boot files http://files.extremeoverclocking.com/file.php?f=196
HP USB key format utility http://files.extremeoverclocking.com/file.php?f=197

Install the HP utility. Format the USB key with it, selecting the folder containing the extracted Win98 boot files and ticking the "Create a DOS startup disk" box.

Copy the extracted BD32 files to the newly formatted usb key along with the extracted initialization commands found in "flashT71.1.zip" reboot with the key inserted and don't forget to edit your bd32 config ("BD32.cfg") file found in the root of the USB key, changing the Delay and choosing the correct parallel port (Delay of 2500 worked for me)

Mini T7 Power Guide

You need to power the T7 unit as per this image
trionic7_connector_182.jpg


I created a wire harness from an old psu and some alligator clips.
IMG_1820.jpg


Overview, NOTE the correct position and orientation of the red tape
IMG_1814.jpg


Mini Flashing guide

Restart with USB key inserted (don't forget to modify boot priority and enable the parallel port in BIOS)

Tune BD32 with this guide http://www.xendus.se/index.php?option=com_content&view=article&catid=34:bdm-category&id=48:howto-install-bd32&Itemid=44

Should look like this output if connected correctly. (except full screen... DOS Style)

Image
Image Copied from xendus.se (Can I use this image?)

At the flashing prompt type "BD32"
Power up the ECU and connect the BDM

IMPORTANT! You must prepare the ECU once before Reading and Writing...
This Enables registers, Disables the watchdog and allows writing to the ECU
Type do "prept7.do"

BD32 Should confirm that ECU is ready to program and that it is "STOPPED" with the following.
"ECU is now prepared for flash programming or erasing."

Image

To Dump Flash type "dumpt7 finename.bin"
This process should take about 20 minutes...
Restart into windows and copy the original bin file to your hard disk, in-case the USB key gets corrupted.

To Erase flash
MAKE SURE YOU HAVE SUCCESSFULLY BACKED UP FLASH FIRST!
The erasing step should not be necessary, but if you experience errors in the flashing stage, come back and try this.

Type "do eraset7.do"
Then type "md 0x0 128". This is done to verify that the flash is erased.
You should read 0xFFFF on every address from 0x0 to 0x80000.

Restart into windows and edit the "Origional.bin" however you like, ensuring you make a backup of the original, only ever edit a copy of the file. If you wish to change VIN and IMMOBILIZER numbers use the freeware T7tool http://xendus.se/t7tool/T7Tool.1.0.0.17.rar

You must convert your edited bin file to a Motorola "src" file to flash it back to the ECU
Use bin2srec in a windows command prompt to convert to the src format
Type "bin2srec modified.bin > output.src"

To Write flash
Restart again using the flash key you created previously (with the previously created "output.src" copied to its root directory) and type

"do prept7.do" To prepare the ECU for writing.
"flasht7 output.src" To flash the ECU

This will take approx three times as long as reading the flash did. You will see a series of dots increasing in number, until completed.

If you run into problem when you are flashing try this:

- Double the delay parameter.
- If you didn't erase the flash - do it, and then try flashing again.
- The bottom field in BD32 should report "MCU: STOPPED" while you are using flashT7. If you for some reason have given the reset command you need to run the prept7.do script again in order to setup the registers and stop the MCU.
- You can ignore a "2: Type of S-Record is invalid" error as the ECU will still function.[/quote]
You do not have the required permissions to view the files attached to this post.
Last edited by matthewm on Wed Aug 27, 2008 11:15 pm, edited 18 times in total.
matthewm
ECU Apprentice
 
Posts: 22
Joined: Thu Aug 16, 2007 1:11 am
Location: Australia

Re: TUTORIAL: USB BOOT DISK BDM

Postby Dilemma » Fri Aug 01, 2008 9:37 am

Thank you for this contribution!!
Disce aut Discede
http://trionic.mobixs.eu
User avatar
Dilemma
ECU Guru
 
Posts: 4192
Joined: Fri Jul 27, 2007 4:43 am
Location: Netherlands

Re: TUTORIAL: USB BOOT DISK BDM

Postby matthewm » Fri Aug 01, 2008 10:56 am

You need a Wiki...
matthewm
ECU Apprentice
 
Posts: 22
Joined: Thu Aug 16, 2007 1:11 am
Location: Australia

Re: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby sandy_rus » Mon Aug 04, 2008 3:32 am

matthewm wrote:Overview, NOTE the correct position and orientation of the red tape
IMG_1814.jpg


RED STRIPE OF THE BDM CABLE ON THIS PHOTO PLACED INCORRECTLY!
Stage Z, LOLpower firmware.
User avatar
sandy_rus
ECU Guru
 
Posts: 711
Joined: Fri Jul 27, 2007 1:29 am
Location: RUSSIA, St. Petersburg

Re: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby gredd » Mon Aug 04, 2008 5:09 am

sandy_rus wrote:
matthewm wrote:Overview, NOTE the correct position and orientation of the red tape
IMG_1814.jpg


RED STRIPE OF THE BDM CABLE ON THIS PHOTO PLACED INCORRECTLY!


As long as its incorrectly on both sides its ok :) I run it like this and it works fine. Its easy to remember that the cable should point away from the board on both boards.
gredd
ECU Guru
 
Posts: 389
Joined: Thu Aug 02, 2007 11:57 pm
Location: West Coast, Sweden

Re: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby matthewm » Mon Aug 04, 2008 10:16 pm

That's the orientation I used correctly, I believe it is correct for the deltawave BDM interface.
matthewm
ECU Apprentice
 
Posts: 22
Joined: Thu Aug 16, 2007 1:11 am
Location: Australia

Re: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby Roto » Thu Feb 05, 2009 12:09 am

Just a note. That very first picture is upside down and that confused the heck out of me today when flashing a T7 for the first time.
Roto
ECU Apprentice
 
Posts: 55
Joined: Wed Mar 12, 2008 11:55 am

Re: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby homersimpson » Thu Feb 05, 2009 5:38 pm

Yeah! I also put wires also opposite at first time. Almost shit my pants. So firstimers - be observant :)
User avatar
homersimpson
ECU Apprentice
 
Posts: 49
Joined: Sat Mar 22, 2008 12:39 pm
Location: Estonia

Re: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby Roto » Thu Feb 05, 2009 6:49 pm

The way you can tell is by looking at the connector. It's not symmetric up/down so make sure you check that before connecting your power to it.
Roto
ECU Apprentice
 
Posts: 55
Joined: Wed Mar 12, 2008 11:55 am

Re: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby Henke » Mon Apr 13, 2009 6:06 pm

So,

You only connect power/ground and no can hi/lo?

In the computer powercable, is + ther outer and - the nearest one?
Will of course measure it.

/Henrik
Henke
ECU Apprentice
 
Posts: 34
Joined: Thu Jan 03, 2008 6:59 pm

Re: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby voodorush » Tue Apr 14, 2009 1:57 am

What CAN HI/LO ??
Guys you realize you are writing in the BDM thread,right? :D

Cheers,
Stoyan
Of all the Things I've ever Lost, I miss my Mind the most...
User avatar
voodorush
ECU Guru
 
Posts: 201
Joined: Mon Sep 08, 2008 9:57 am
Location: Yambol , Bulgaria

Re: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby Frogfoot » Tue Apr 14, 2009 8:42 am

Figured that, only power supply through that one.

/Henrik
Frogfoot
 
Posts: 1
Joined: Sat Jan 17, 2009 8:07 pm

Re: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby saab-Daniel » Sun Apr 26, 2009 4:25 pm

Hi guys.
Thanks for the great guide!
I did experience some trouble when trying to flash on a spare T7 ECU.
I never could prept the ECU (gives me error 99), and when doing the MD 0x0 128 command in BD32, I recieved back a lot of Zero's and "F", not data.
I have flashed a lot of T5 ECU's, and did a test of my BD32-flasher afterwards on a T5, works without a glitz, so my hardware is ok.
Do you guys have any ideas as to what I'm doing wrong?
I have dumped the flash via T7suite on this specific ECU via canbus on the desk with succes(soldered in a connection that fits to my normal cable which has a resistor soldered in to "finish" the canbus system, like on T5), but now I can't get in contact with the ECU anymore, after trying to flash a new software to the ECU via T7suite. T7-tool has been tried as well, the program just breaks down once I try to hit connect...
Do any of you have an ideas as to what has gone wrong?
Thanks a lot for your input!
Daniel.
9000 aero 2.3T MY1996, 3" JT Exhaust de-catted, T5-Suited. 290hp @ 5900rpm, 470nm @ 3300rpm!
saab-Daniel
ECU Apprentice
 
Posts: 66
Joined: Thu Sep 13, 2007 2:44 pm
Location: Denmark

Re: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby Jancis » Fri May 15, 2009 12:26 pm

Hello.
Sorry, but then there this is the correct connection of BDM and ECU or this red stripe is incorrect? ;)
User avatar
Jancis
ECU Apprentice
 
Posts: 13
Joined: Fri May 08, 2009 12:25 pm

Re: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby Janus0070 » Thu May 21, 2009 9:13 am

Actually - testing is not dangerous, at least did not prove to be in my experience.
Last edited by Janus0070 on Fri Jun 05, 2009 8:00 am, edited 1 time in total.
9-3 2002 B205E/L 'Mackanized Trifuel' (Gentleman's Car)
900 1995 2.0n/a 'Beige Silver' (Lady's Car)
User avatar
Janus0070
ECU Guru
 
Posts: 319
Joined: Wed Apr 30, 2008 4:54 am
Location: Riga, Latvia

Re: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby saabtuners » Thu Jun 04, 2009 1:42 am

matthewm wrote: - You can ignore a "2: Type of S-Record is invalid" error as the ECU will still function.


Okay.. I managed to get it working for 75%.

When I try to flash a file after a certain number of rules with dots the program says: "4: unexpected blabla"

Does anybody know's what the problem is in this matter? The file I tried to flash is a *.s19 file.. perhaps this is the wrong format?

Thanks in advance for all your help!
** 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: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby J.K Nilsson » Thu Jun 04, 2009 2:16 am

saabtuners wrote:When I try to flash a file after a certain number of rules with dots the program says: "4: unexpected blabla"

Does anybody know's what the problem is in this matter? The file I tried to flash is a *.s19 file.. perhaps this is the wrong format?

Thanks in advance for all your help!

Unexpected file end?

It is normal.

J.K Nilsson
Join our new IRC-Channel: #ECUProject on EFNet
User avatar
J.K Nilsson
ECU Guru
 
Posts: 1219
Joined: Thu Aug 02, 2007 11:17 am

Re: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby saabtuners » Thu Jun 04, 2009 2:45 am

J.K Nilsson wrote:
saabtuners wrote:When I try to flash a file after a certain number of rules with dots the program says: "4: unexpected blabla"

Does anybody know's what the problem is in this matter? The file I tried to flash is a *.s19 file.. perhaps this is the wrong format?

Thanks in advance for all your help!

Unexpected file end?

It is normal.

J.K Nilsson


Nope it was different than 'unexpected file end' It was a failure number 4, but I will check tonight what it is exact. But it happened after 4 rules of dot's, that's about 5 minutes...
** 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: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby Lufto » Fri Jun 05, 2009 4:11 pm

I dont understand this "boot-questions".

(First of all, my English is not that god...so please bare that in mind)

There is no need for any "boot", as far i´m concerned.

I might be missing substantial information, (due to the fact that i´ve not read all preuvios threads).
However, ... me (and my friend) easely managed to get the BDM-software (32-bit), working (together with the ECU-interface) with a parallell
connection creating/preparing an "empty" ECU with only FFFF´s.

Of course, you still need to use the interface-adapter: "lpt->bdm"

The computer connected was an old Pentium 133 with Win 98.

/Lufto
Last edited by Lufto on Fri Jun 05, 2009 4:15 pm, edited 1 time in total.
9.3 Aero Coupé -01 Stage3, home-cooked SW
Lufto
ECU Apprentice
 
Posts: 58
Joined: Thu Feb 19, 2009 12:43 pm

Re: TUTORIAL: T7 USB BOOT DISK BDM AND ECU FLASH

Postby Dilemma » Fri Jun 05, 2009 4:13 pm

Lufto wrote:I dont understand this "boot-questions".

(First of all, my English is not that god...so please bare that in mind)

There is no need for any "boot", as far i´m concerned.

I might be missing substantial information, (due to the fact that i´ve not read all preuvios threads).
However, ... me (and my friend) easely managed to get the BDM-software (32-bit), working (together with the ECU-interface) with a parallell
connection creating/preparing an "empty" ECU with only FFFF´s.

Of course, you still need the the interface-adapter "lpt->bdm"

The computer connected was an old Pentium 133 with Win 98.

/Lufto


The problem is with WinXP/Vista because LPT port access is very restricted in those. So, advice is boot in DOS or Win98 to get it working :D
Disce aut Discede
http://trionic.mobixs.eu
User avatar
Dilemma
ECU Guru
 
Posts: 4192
Joined: Fri Jul 27, 2007 4:43 am
Location: Netherlands

Next

Return to Trionic 7 Tuning: Tools

Who is online

Users browsing this forum: No registered users and 0 guests

cron