Author Topic: Stuck in bootloader mode?  (Read 8607 times)

Offline lugnuts

  • Full Member
  • ***
  • Posts: 249
  • BHP: 2
Stuck in bootloader mode?
« on: December 20, 2008, 04:44:00 am »
I have a customer trying to do firmware stuff (big mistake) to upload a temp file and it has gone bad.

USB-Serial adapter (of course)
Webshop Motronic55 ECU

We are using the newest VEMSTune 10-20, and uploaded firmware 1.1.27, along with PTC 2460_425 and 2063_256 files.

The firmware started to upload and then stopped, and displayed error windows about the bootloader mode or whatever. Now the ecu wont connect in MT or VEMSTune.

I had him bridge serial port 2-3 with the ECU OFF, then turn the ECU ON, did this a few times.

We tried turning the ECU OFF (before uploading again) after bridging the pins, was this wrong?

I cant get anything to work now. Any ideas?

Thanks, Kevin


Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: Stuck in bootloader mode?
« Reply #1 on: December 20, 2008, 05:27:51 am »
First off tried this?
http://195.159.109.134/vemsuk/forum/index.php/topic,209.0.html

In summary...
Short RS232 pins 2&3, turn on VEMS
change uploader file as specified.

Load away!

Offline lugnuts

  • Full Member
  • ***
  • Posts: 249
  • BHP: 2
Re: Stuck in bootloader mode?
« Reply #2 on: December 20, 2008, 05:34:14 am »
We did the 2-3 bridge.... but the rest is a mystery to me

Post:
<<<take the serial plug out, and with the VEMS powered off, bridge pins2&3 on the VEMS serial plug (I use a steel paperclip).
Power up the VEMS, remove the wire then go to your installation directory and type:

tools\megaloader.exe firmware\upload.hex -wE 38400 -c com1

change com1 if necessary.

This will force an upload of the software and should put you back to where you were before you uploaded your configs>>>

The last part is what i dont get. What is the installation directory?

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: Stuck in bootloader mode?
« Reply #3 on: December 20, 2008, 05:37:06 am »
its where ever the upload-firmware12x12.bat or upload-firmware16x14.bat lives

Offline lugnuts

  • Full Member
  • ***
  • Posts: 249
  • BHP: 2
Re: Stuck in bootloader mode?
« Reply #4 on: December 20, 2008, 05:39:31 am »
I'll send you an IM....thanks

Offline PeepPaadam

  • Sr. Member
  • ****
  • Posts: 250
  • BHP: 8
Re: Stuck in bootloader mode?
« Reply #5 on: December 20, 2008, 03:00:50 pm »
I've used PSITuner for uploading firmware on VEMS ecus that have firmware upgrade gone bad. It recongizes already on the startup that the board has problem and offers you to upload firmware. In most cases no need for shorting pins 2 and 3.

I've used it for uploading from 1.0.73 -> 1.1.44 and vice versa and it works ok though officially it's not supported.

Offline lugnuts

  • Full Member
  • ***
  • Posts: 249
  • BHP: 2
Re: Stuck in bootloader mode?
« Reply #6 on: December 21, 2008, 09:39:50 am »
Short version - PSI Tuner fixed it.

Long version:

I had the customer send me the contents of the "upload-firmware12x12.bat" file, and this was all there was:

@echo off
:: Get settings for COM port and other settings
call tools\tool-config.bat
 
call tools\upload-firmware.bat 12x12



I had him add this to the file (I had no idea where, so I said the bottom) and save it.

"tools\megaloader.exe firmware\upload.hex -wE 38400 -c com1"


He said it didn't work, but later used the PSI Tuner to upload the firmware again.

Now the car runs and connects in Megatune, but still flashes the bootloader error message in VEMSTune... hmmm oh well the car runs so we'll see what happens.

Thanks for the help guys.



« Last Edit: December 21, 2008, 09:43:46 am by lugnuts »