E90Post
 


 
BMW 3-Series (E90 E92) Forum > E90 / E92 / E93 3-series Technical Forums > BMW Coding > K DCAN NCSEXPERT not working



Reply
 
Thread Tools Search this Thread
      02-13-2020, 12:14 AM   #45
herqt
New Member
herqt's Avatar
1
Rep
25
Posts

Drives: E91 330d
Join Date: Aug 2018
Location: Lithuania

iTrader: (0)

Garage List
2006 BMW E91  [0.00]
Quote:
Originally Posted by dpaul View Post
Here's a link to a Russian site with a good description of ssd file format

https://www.drive2.ru/l/456668136897251064/

It seems as if none of the suggestions I've made actually matter. But the Russian thinks a blank line at the end of the file might be important and has suggestions about line length. He also thinks having the checksum is important.



SSD file

A typical SSD file for cars with FA looks like this:

M E60_CODIERSCHL ALL
A 001 WBANU91000AB12345A E60_ # 0307 & LCBA% 0475 * NU91 $ 2KM $ 205 $ 248 $ 300 $ 302 $ 346 $ 4AT $ 415 $ 428 $ 441 $ 494 $ 502 $ 508 $ 522 $ 534 $ 548 $ 644 $ 690 $ 899 $ 899 $ 899 $ 899 $ 899 -NMUW

The file did not fit in width, in fact it consists of only two lines

In this case, an imitation of a car similar to Severyanka , but with a fake VIN number, is given. The VIN is recorded with the checksum (highlighted in bold) and the familiar picking code (FA) is indicated.

Each line in this file begins with a letter defining its type and then the corresponding data with a space. Let's start with the first one:

- In the line with the letter “M” (“M-line”, most likely from it. Modus or English Mode - operating mode) at the beginning is indicated the body index (E63) and the line “_CODIERSCHL” (together with the body index), and then an indication that we are working with all ("ALL") car blocks. Instead of “ALL” there may be the name of a specific block, but more on that later;

- The line with the letter “A” (“A-line”) contains data about the vehicle having an FA. Here is a three-digit serial number, VIN of the car with a checksum, and then its FA without spaces. A string can be no more than 2 KB in length (2048 bytes, in this case 2048 characters), plus FA can be divided by the “\” character (backslash, separated by a ******* into short lines of no more than 200 characters. Like this:

A 001 WBANU91000AB12345A E60_ \
# 0307 & LCBA% 0475 * NU91 $ 2KM $ 205 $ 248 $ 300 \
$ 302 $ 346 $ 4AT $ 415 $ 428 $ 441 $ 494 $ 502 $ 508 \
$ 522 $ 534 $ 548 $ 644 $ 694 $ 701 $ 8SD $ 890 $ 899 $ 899 $ 899 $
899 -NMUW

You can break it into as many lines as you like, anywhere in the line (preferably by "blocks" in the form of a whole option code) and for any length no more than 200 characters;

- You can add comments as separate lines, marking them with a semicolon at the beginning of the line:

; any comment

There are lines of another type, but about them a little later. In addition, there must be an empty line at the end of the SSD file (just press Enter). Otherwise, NCS Expert may throw an error reading the last line. Not always, but it happens.
yeah ive done everything reading that guide :/ maybe encoding of the file is wrong when im trying to save it, utf-8 is by default

Last edited by herqt; 02-13-2020 at 12:23 AM..
Appreciate 0
      02-13-2020, 06:24 AM   #46
dpaul
Lieutenant Colonel
United_States
654
Rep
1,893
Posts

Drives: 2009 E90 335xi, 2011 E93 M3
Join Date: Dec 2012
Location: Boston

iTrader: (3)

Quote:
Originally Posted by herqt View Post
yeah ive done everything reading that guide :/ maybe encoding of the file is wrong when im trying to save it, utf-8 is by default
Well, same as ASCII for the first 128 bits so hard to see how that would be a problem. You seem on top of this but maybe your editor has inserted some undesirable control characters? Or improper end-of-line treatment (i.e. CR LF vs CR vs LF)?
Appreciate 0
      02-14-2020, 02:30 AM   #47
herqt
New Member
herqt's Avatar
1
Rep
25
Posts

Drives: E91 330d
Join Date: Aug 2018
Location: Lithuania

iTrader: (0)

Garage List
2006 BMW E91  [0.00]
Quote:
Originally Posted by dpaul View Post
Well, same as ASCII for the first 128 bits so hard to see how that would be a problem. You seem on top of this but maybe your editor has inserted some undesirable control characters? Or improper end-of-line treatment (i.e. CR LF vs CR vs LF)?
I've fixed that everything is working now problem was on my ssd file.

In forum where i saw the ssd structure it shows like this:

ssd:

M E91_CODIERSCHL ALL
A 001 mycarsvin2
E91_#1206&ANAT%0475*VU91$520$548$851$1CA$249$320$3 86$428$494$534$541$609$612$620$633$6AA$801$863$879 $8SP-A090

But the second line has to be in 1 line not separated by "enter button", or can be separated by " \ "should be like this:

ssd:

M E91_CODIERSCHL ALL
A 001 mycarsvin2 E91_#1206&ANAT%0475*VU91$520$548$851$1CA$249$320$3 86$428$494$534$541$609$612$620$633$6AA$801$863$879 $8SP-A090

file format(encoding) default windows no need to change anything, last vin number has to be calculated by ncsexpert mine is"2" .
So i fixed FA on CAS and FRM by making ssd and can finally do some codings with my car ;D Thanks alot dpaul

Last edited by herqt; 02-14-2020 at 02:37 AM..
Appreciate 0
      02-14-2020, 08:43 AM   #48
dpaul
Lieutenant Colonel
United_States
654
Rep
1,893
Posts

Drives: 2009 E90 335xi, 2011 E93 M3
Join Date: Dec 2012
Location: Boston

iTrader: (3)

Glad to hear that you've resolved the problem!
Appreciate 0
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 02:14 AM.




e90post
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST