VEMS Community Forum

Technical => Ignition => Topic started by: mads b (dk) on May 23, 2014, 11:27:38 AM

Title: Ignition locked at 10degress - solved
Post by: mads b (dk) on May 23, 2014, 11:27:38 AM
Hi

my ignition is locked to 10 degrees, from what I read it is a kind of copy protection.

how do I remove this problem?

I have a very old 3.1 VEMS board No 57

Running firmware 1.2.11

bought by 'used' by this man :-)
http://195.159.109.134/vemsuk/forum/index.php/topic,2093.0.html


My vems wiki http://www.vems.hu/wiki/index.php?page=MembersPage%2FMadsB (not quite up to date)
Regards Mads
Title: Re: Ignition locked at 10degress
Post by: MWfire on May 23, 2014, 01:51:17 PM
You need to upgrade a firmware(bootloader).
Where are you from?
Title: Re: Ignition locked at 10degress
Post by: mads b (dk) on May 23, 2014, 03:39:50 PM
HI

im from Denmark

Can i downgrade to, i think it was 1.1.96_bootloader..... it is on my wiki but vems wiki is down at the moment
Title: Re: Ignition locked at 10degress
Post by: mads b (dk) on May 26, 2014, 01:14:01 AM
According to this page, it is not possible to use higher firmware than 1.1.94 on a VEMS 3.1, unless you upgrade the bootloader to the new type

is this the cause of my problem ??

http://vems.hu/vt/help/v3/general/bootloader_upgrade.html
Title: Re: Ignition locked at 10degress
Post by: mattias on May 27, 2014, 01:15:48 PM
You can send the ECU to me and I'll fix the bootloader for you. Should not take long to ship to/from Denmark to north of Sweden.
Send me a message on the forum for details.
Title: Re: Ignition locked at 10degress
Post by: mads b (dk) on May 27, 2014, 11:48:37 PM
Is it possible to fix this without having to send the ecu ? Postage is around 270 dkr X 2 :-(
Title: Re: Ignition locked at 10degress
Post by: mattias on May 27, 2014, 11:55:32 PM
Not unless you get yourself an ISP interface cable and install the proper drivers and software (avrdude).

Here is a wiki page I made about it : http://www.vems.hu/wiki/index.php?page=MembersPage%2FMattiasSandgren%2FNickesBMW%2FAvrBootCode
Title: Re: Ignition locked at 10degress
Post by: mads b (dk) on May 30, 2014, 01:58:26 AM
I have made a ISP cable, the "bsd" type using your instructions :-)

Is it correct that i only need to use this command and after that i can use vemstune?

avrdude -c bsd -p m128 -U lfuse:w:0x2f:m -U hfuse:w:0xc4:m -U efuse:w:0xff:m -U lock:w:0x3c:m

Thanks  Mads
Title: Re: Ignition locked at 10degress
Post by: mads b (dk) on May 30, 2014, 02:58:32 AM
Little more info.... vemstune names my box "unknown"
Title: Re: Ignition locked at 10degress
Post by: VEMS on May 30, 2014, 10:00:31 AM
Hello Mads_B (dk),

If VemsTune reports the ecu as unknown, there must be problems with the serial number in the ecu. This will also force locked ignition timing to 10 degrees like you experienced.
Could you check what serial number is detected by VemsTune and report back ? Its available on "File -> Firmware info".

Best regards, Dave

Title: Re: Ignition locked at 10degress
Post by: mads b (dk) on May 30, 2014, 10:56:01 AM
maybe because I have done something wrong at first powerup?.....look at wiki -> 27/06/2013
http://www.vems.hu/wiki/index.php?page=MembersPage%2FMadsB

Serialnumber Raw: ff ff ff ff ff ff ff ff ff ff ff ff
https://www.dropbox.com/s/osysp45y5bqc5vc/2014-05-30%2011.27.13.jpg

pictures of the board when i got it
https://www.dropbox.com/sh/tll9syj68tsozf7/AAD3YAEbPMBGYXk4r7cGlkiUa

from email communication I know that the original owner's name is Ryan McMakin, if this helps to solve this problem
Title: Re: Ignition locked at 10degress
Post by: VEMS on May 30, 2014, 11:12:35 AM
Hello Mads,

Thanks for your swift reply, i can confirm the missing serial number as being the cause of the locked timing.

1) First step in order to resolve this would be to request an nhex bootloader from Hungary with valid serial number by sending an email through: http://shop.vems.hu/catalog/contact_us.php
2) If you have access to an ISP cable (or are willing to buy or make one using the guide on: http://www.vems.hu/wiki/index.php?page=MembersPage/MattiasSandgren/NickesBMW/AvrBootCode for reference) you can than flash your board with this file.
3) After the proper serial numbered bootloader has been uploaded you can upload any firmware of your choosing (upto 1.2.11), for newer firmwares, bootloader upgrade to uhex would be required. See: http://vems.hu/vt/help/v3/general/bootloader_upgrade.html for the required steps.

Best regards, Dave


Title: Re: Ignition locked at 10degress
Post by: mads b (dk) on May 30, 2014, 04:47:46 PM
I have made a ISP cable :-) now i "just" need the nHex bootloader with a seriel number that matches board number 57.
Title: Re: Ignition locked at 10degress
Post by: mads b (dk) on May 30, 2014, 08:37:32 PM
Could not I just get the uhex bootloader.... with the right seriel number that matches my board ??
Title: Re: Ignition locked at 10degress
Post by: mattias on May 31, 2014, 01:13:34 PM
There are required steps outlined above, follow them.
Title: Re: Ignition locked at 10degress
Post by: mads b (dk) on June 02, 2014, 07:57:26 AM
So far so good

I have used this command with success :-)

avrdude -c bsd -p m128 -U lfuse:w:0x2f:m -U hfuse:w:0xc4:m -U efuse:w:0xff:m -U lock:w:0x3c:m

still waiting for vems.hu to report back regarding nHex bootloader
Title: Re: Ignition locked at 10degress - solved
Post by: mads b (dk) on June 05, 2014, 07:53:17 PM
Yesterday I received the correct bootloader from VEMS and Today I programmed VEMS with the "new" bootloader incl. the correct serial number.

Now it works as it should :-) I have further updatet the bootloader through vemstune to uHex :-)