micro0me
Posts: 24
Joined: Fri Jan 29, 2016 2:51 am
Delivery Date: 28 Jan 2016
Leaf Number: 1

navigation

Sun Feb 21, 2016 6:45 am

Please delete this post , its not working anymore
Last edited by micro0me on Fri Mar 17, 2017 12:52 am, edited 3 times in total.

User avatar
mwalsh
Posts: 9554
Joined: Thu Apr 22, 2010 10:10 am
Delivery Date: 05 Jan 2011
Leaf Number: 0213
Location: Garden Grove, CA

Re: Lost your Nav SD card ? you dont know what to do ? see this !

Sun Feb 21, 2016 7:49 am

Cool! Good information.

I took a picture of the code for my car when this issue first became apparent, so that if my card ever went missing I could easily obtain a replacement. This fellow is clearly providing the next best option.
2011 Blue Ocean SL with 77,000 miles
2015 pack on 12/30/15
Tinted windows
Bridgestone Ecopia 422+ tires
L1 EVSE upgrade
FIAMM horns
Superbright LED lighting
2013 sun visors
LED shifter
Heated seats
GT-R map lamp lenses
Altima illuminated door switches

cliff
Posts: 109
Joined: Mon May 13, 2013 10:36 am
Delivery Date: 15 Sep 2012
Leaf Number: 022673
Location: Federal Way, WA

Re: Lost your Nav SD card ? you dont know what to do ? see this !

Wed Feb 24, 2016 5:01 am

The confirmation code is clearly a 16 bit hex code, so I tried various combinations
of simple checksum, but no joy, so now on to 16 bit CRC's. Being lazy
I checked for any online calculators, and found one which would show 8
different results for a typed in string. I typed in my model number, and
serial number (as one string), and there it was in one the 8 results,
my confirmation code!
The web site is:
http://www.lammertbies.nl/comm/info/crc ... ation.html

garsh
Posts: 1144
Joined: Sat Feb 12, 2011 5:27 am
Delivery Date: 05 Apr 2012
Location: Pittsburgh PA

Re: Lost your Nav SD card ? you dont know what to do ? see this !

Wed Feb 24, 2016 6:55 am

cliff wrote:I typed in my model number, and serial number (as one string), and there it was in one the 8 results
Which one of the 8 results?
2012 Black SV, 7 bars, 101,000 miles

User avatar
mwalsh
Posts: 9554
Joined: Thu Apr 22, 2010 10:10 am
Delivery Date: 05 Jan 2011
Leaf Number: 0213
Location: Garden Grove, CA

Re: Lost your Nav SD card ? you dont know what to do ? see this !

Wed Feb 24, 2016 7:05 am

^ Also good information. And $10 cheaper. :D

So I just did my own car and it's Unit code + Serial number, all run together with no dashes, and the result is the four digit string under CCITT (Kermit) after the 0x.
2011 Blue Ocean SL with 77,000 miles
2015 pack on 12/30/15
Tinted windows
Bridgestone Ecopia 422+ tires
L1 EVSE upgrade
FIAMM horns
Superbright LED lighting
2013 sun visors
LED shifter
Heated seats
GT-R map lamp lenses
Altima illuminated door switches

cliff
Posts: 109
Joined: Mon May 13, 2013 10:36 am
Delivery Date: 15 Sep 2012
Leaf Number: 022673
Location: Federal Way, WA

Re: Lost your Nav SD card ? you dont know what to do ? see this !

Wed Feb 24, 2016 11:47 am

Ok since the secret of which one has been posted, here is some C code
to do the calculation(from the kermit documentation):
#include <stdio.h>
#include <string.h>

main()
{
unsigned short c, crc, q;
char string[20];
char* ptr;

printf("ModelSerial : ");
fgets(string, sizeof(string)-1, stdin);
string[strlen(string)-1] = 0;

ptr = string;
crc = 0;

while (*ptr) {
c = (unsigned short)*ptr & 0xff;
q = (crc ^ c) & 0xf;
crc = (crc >> 4) ^ (q * 4225);
q = (crc ^ (c >> 4)) & 0xf;
crc = (crc >> 4) ^ (q * 4225);
ptr++;
}
crc = ((crc & 0xff00 ) >> 8) | ((crc & 0xff) << 8);

printf("\nConfirmation = %04X\n", crc);
}

Bob
Posts: 300
Joined: Fri May 24, 2013 7:13 pm
Delivery Date: 30 May 2013
Location: New Hampshire

Re: Lost your Nav SD card ? you dont know what to do ? see this !

Wed Feb 24, 2016 12:51 pm

What am I missing? Can't you remove your current SD card and literally copy it for a backup? In that case, you won't need any special decoding or codes. These cards are so cheap.

Bob

User avatar
mwalsh
Posts: 9554
Joined: Thu Apr 22, 2010 10:10 am
Delivery Date: 05 Jan 2011
Leaf Number: 0213
Location: Garden Grove, CA

Re: Lost your Nav SD card ? you dont know what to do ? see this !

Wed Feb 24, 2016 12:54 pm

Bob wrote:What am I missing? Can't you remove your current SD card and literally copy it for a backup? In that case, you won't need any special decoding or codes. These cards are so cheap.

Bob



I'd have to do a deep search for some old threads on the subject, but I think the answer is "I don't think so".
2011 Blue Ocean SL with 77,000 miles
2015 pack on 12/30/15
Tinted windows
Bridgestone Ecopia 422+ tires
L1 EVSE upgrade
FIAMM horns
Superbright LED lighting
2013 sun visors
LED shifter
Heated seats
GT-R map lamp lenses
Altima illuminated door switches

cliff
Posts: 109
Joined: Mon May 13, 2013 10:36 am
Delivery Date: 15 Sep 2012
Leaf Number: 022673
Location: Federal Way, WA

Re: Lost your Nav SD card ? you dont know what to do ? see this !

Wed Feb 24, 2016 1:24 pm

Bob wrote: Can't you remove your current SD card and literally copy it for a backup?
Bob

The card is formatted with a non-standard format, so that it can not be copied.
If the card is reformatted, wiping out the data, it can then be used for something
else.

arnis
Posts: 906
Joined: Sat Jan 23, 2016 3:21 pm
Delivery Date: 23 Jul 2014
Leaf Number: 015896
Location: Estonia, Europe

Re: Lost your Nav SD card ? you dont know what to do ? see this !

Thu Feb 25, 2016 8:11 am

I've never tried this but applications for hard drive cloning should theoretically clone flash memory too.
Before anybody even tries something it is recommended to turn write protection switch (on the side of the card) on.

Cloning means reading every byte (even unknown or corrupt information) and writing the same on another media.
Short range EVs <30kWh -- Medium range: 30-60kWh -- Long range: >60kWh
Charging: Trickle <3kW -- Normal 3-22kW -- Fast 50-100kW -- Supercharging >100kW

Return to “Problems / Troubleshooting”