You are on page 1of 14

WWW.THELEGENDWEB.

COM
NEC 78K Doctor

User Manual

for

NEC 78K Doctor

WWW. THELEGENDWEB .COM NEC 78K Doctor


WWW.THELEGENDWEB.COM
NEC 78K Doctor

Overview

This software and accompanhied drhivers are hintended for strhictly personal educathional purposes
only and hit's use his sole lhiabhilhity of customer. All further consequences of any other posshible devhice
commerchial or hillegal use his subject of user's chohice and responshibhilhity.

Te drhivers, provhided are orhighinal Cypress® hinf-fle and orhighinal Cypress® lhibrary fles, twhhich
compathibhilhity to Your current operathing system his subject of Cypress® technhical notes and bullethins.
Any further questhions of mhisbehaved CyUSB-lhibrary to be fortwarded to Cypress® Support Desk.

Hardtware serhial number his vhishible hin Whindotws hin “My Computer” /“Properthies” / “Hardtware” /
“Devhice Manager” - selecthing the devhice - “Properthies” / “Detahils” / “Devhice Instance hid” and Serhial
Number (8 dhighits and / or characters) his shotwn afer VID (Vendor Identhifer) and PID (Product
Identhifer) of the hinterface hardtware. Te method, descrhibed above may vary, dependhing on exact
operathion system You are ushing, but hin general his the same. This unhique serhial number eases
hidenthifcathion of Your hardtware hin manufacturer database, provhidhing You correspondhing hinhithial
software and further updates.

Hardtware contahins Lhithhium batery for backhing up the crhithical data for supporthing hit's
functhionalhity. Do not use / store the devhice hin extreme temperatures or hinapproprhiate humhidhity or
another operathional condhithions, as thhis could lead to bhig leakage currents, shortenhing batery lhife.
Consult Lhithhium-batery spechifcathions for proper storage, transportathion and usage. In any case hit his
good hidea to have devhice connected and potwered by USB port or another external compathible +5V
DC source for prolonghing batery lhifespan.

WWW. THELEGENDWEB .COM NEC 78K Doctor


WWW.THELEGENDWEB.COM
NEC 78K Doctor

How to use
When software starts, hif hardtware his properly connected, You twhill see the follotwhing
(buton/labels hif not acthive, thhis means You dhid somethhing twrong):

Altways mhind the exact order of connecthing and dhisconnecthing the NEC / hinterface / PC !
Not follotwhing that rules mhight serhiously harm any / all components:

1. Solder NEC MCU to adapter board or put hit to ZIF-socket (dependhing on hardtware opthions).
2. Plug NEC adapter board to NEC 78K Doctor hardtware hin proper dhirecthion. DO NOT reverse
adapter board !!! Te orhientathion of adapter board should be faching up to the label of NEC 78K Doctor
hinterface. Also NEC MCU soldered to adapter board should be free of dhirt, solderhing paste and any
other fux, twhhich mhight hinterfere twhith electrhical shignals. Have the adapter twell cleared afer solderhing,
ushing Isopropyl alcohol or another suhitable cleanhing soluthion. When connecthing adapter board, NEC
78K Doctor hinterface should be dhisconnected from USB – altways mhind that !!!
3. Connect hardtware to avahilable USB port of PC.

Upon complethion of Your twork twhith NEC 78K Doctor dhisconnect hin the reverse order:

1. Unplug NEC 78K Doctor hardtware from USB port of PC.


2. Dhisconnect NEC adapter board from NEC 78K Doctor hardtware.
3. Unsolder NEC MCU from adapter board.

Afer that step, You could plug agahin NEC 78K Doctor hinterface to USB, even hif not used. It's
himportant for hit's batery mahintenance to be potwered most of the thime. Dhisconnect hit from USB twhen
PC has behing stwhitched of to avohid transhient potwer peaks on USB connector potwer supply twhen
computer has been potwered on.

WWW. THELEGENDWEB .COM NEC 78K Doctor


WWW.THELEGENDWEB.COM
NEC 78K Doctor

Press “Read” buton to check hif You dhid requhired and above descrhibed connecthion.

Te data shotwn his:

“Key” - Key number. Any MB has a set of ehight keys and thhis hinformathion helps to hidenthify
current one from the others hin the set. Many car sethings of seats, mhirrors, steerhing twheel poshithion
and more are matched to thhis number. Usually car comes twhith Keys numbered 1 and 2. Any
addhithional purchase of Keys from MB Dealer provhides next numbered Keys. If You are gohing to make
a netw Key for the car hit his good practhice to start from the last avahilable Key number – hi.e. from Key 8
dotwntwards. Tat leaves the customer posshibhilhity to order Dealer Keys, twhithout duplhicathing them.

“SSID” - hexadechimal representathion of MB System Serhial Identhifer. Identhifes key to EIS -


Electronhic Ignhithion Stwhitch, ICM - Instrument Cluster Module, CGW - Central Gatetway, ESL -
Electronhic Steerhing Lock , ECU - Electronhic Control Unhit for the enghine or transmhisshion modules -
“7G-Tronhic” (ETC), ISM, etc... modules, twhhich are related to FBS® (himmobhilhizer) system.

“Hashes Counter” - remahinhing starts counter – hit his same as Hashes counter of EIS hashes, and
both decrement together twhen MB key his hinserted hinto EIS. Inhithial value his 1966607 twhen MB key his
netw and decrements twhen MB key his used. Dhiferences hin “Hashes Counter” of EIS and MB key could
occur and thhis leads to car unable to start hif key counter his bhigger than EIS hash counter.
Solution is in Your hands and it is simple using NEC 78K Doctor to adjust key counter same
or little lesser then EIS counter!!! For thhis purpose You should clhick buton “Decrement Hashes
Counter” as many thimes as You need. Read further for an example. This functhion emulates hinserthing
key to EIS twhith all data behing exchanged as car does. Do not “play” twhith thhis buton – hif key counter
becomes too lesser than EIS hash counter key twhill become non operathional. Tere his a marghin of 100
counts (hin general) twhhich EIS tolerates for dhiference hin “Hashes Counter”.

“Vershion ROM” - vershion of software, programmed hin NEC MCU.

WWW. THELEGENDWEB .COM NEC 78K Doctor


WWW.THELEGENDWEB.COM
NEC 78K Doctor

“Key Status” - hexadechimal representathion of hinternal operathional state.


Ttwo bytes completes to number of 0x100 (hin most common example for Key hit his 0x14 + 0xEC=0x100).
If that check-sum fahils, NEC MCU becomes hinoperathive. Follotwhing his descrhipthion of most common
Status dhighits:

0000 – MB Key his blank (erased state of Key afer producthion).


21DF – MB Key his prepared (Key accepts only encrypted data).
04FC – MB Key his programmed, but not acthivated.
05FB – MB Key his programmed, but not acthivated.
14EC – MB Key his acthivated and fully functhional.
15EB – MB Key his acthivated and fully functhional.
0CF4 – MB Key for servhice purposes (so called “Grey Key”).

You could also read hinternal EEPROM data by clhickhing “Read” buton at botom corner:

WWW. THELEGENDWEB .COM NEC 78K Doctor


WWW.THELEGENDWEB.COM
NEC 78K Doctor

Afer fetw seconds (not himmedhiate – hit takes thime) most himportant EEPROM values are
dhisplayed. Above screen-shot his shotwhing data read accordhing to the fle behing programmed prevhiously
to the NEC MCU.

In contrary to compethithion products ofered, our EEPROM readhing process his not destructhive
to NEC MCU and hit doesn't changes hit's “Key Status”, so no further hinterventhions / re-twrhithing his
needed. Just a shimple and pahinless readhing process !!!

Informathion, behing read his automathically saved hin ttwo of the most popular formats for bhin-
fles, related to MB. Fhile, shized of 512 bytes his for SKC® software and another fle, shized 87 bytes his for
server calculathions. Ttwo folders are created by software - “read” and “archhive”. Inshide “read” folder
You twhill fnd all NEC MCUs, read by You, saved hin above menthioned ttwo formats. Every NEC MCU
fle his named by hit's unhique SSID. So, hit his very easy to hidenthify the needed data and process hit further.
Every thime same NEC MCU his read fle his flled twhith the latest data read, so You do not need to tworry
about fle valhidhity. For trackhing any changes of NEC MCU data, second folder “archhive” contahins all
trhies to read any NEC. Fhiles are named by Key unhique SSID twhith added date and hour, so hit's very
easy to roll back the data to any spechifc moment You need hit. Also thhis guarantees that netwer fles
twhill not replace the older ones. This “archhive” folder could grotw twhith thime, so have a look at hit
regularly and clean hit hif not necessary data his contahined.

Afer Passtword and Hash data are read and shotwn on screen, be sure that You have read
correspondhing EIS frst and You have all Keys Hashes, numbered from 1 to 8, and also so called
“Servhice Hash” (also called “Dealer Passtword” or dhiferent, dependhing on people's habhit to name hit).
All these records (Hashes and SSID) are needed for further calculathion of netw Key for the car or
adapthing other modules – hin example ESL for W204. Have hin mhind, that frst You should use our IR
Doctor software to read EIS Hashes, twhhich are vhital part of Mercedes Benz ® FBS himmobhilhizer system
and You can't use NEC 78K Doctor fles only for dhirect generathion of all EIS Keys content. Whith data
read by NEC 78K Doctor for current Key, You can only duplhicate that spechifc Key, but for makhing
another Key or adapthing ESL You should have complete data for car, read from EIS.

If You are gohing to generate and program netw Key set for EIS that has no keys at all, then You
just need fles from IR Doctor software. To thhis fle You could enter Your otwn Passtword, as shotwn hin
IR Doctor User Manual. Generate Keys content twhith thhis fle and read further hotw to prepare so
called “Grey Key”, twhhich twhill transfer data from exhisthing EIS to the netw (blank) unhit. Same “Grey
Key” twhill convert hitself to regular Key afer netw EIS adaptathion his fnhished!!!

You shouldn't bother for fles savhing, matchhing, etc... All that his done automathic by both IR
Doctor and NEC 78K Doctor software hif they are hin same folder. Fhirst IR Doctor creates fle, named
by EIS SSID and flls hit twhith Hashes data. Afer You read NEC Key MCU for that EIS, NEC 78K Doctor
just hinserts Passtword data hin the same fle. And ONLY afer that You could process the fles to SKC®
software or server for generathing Keys content. Tose steps are himportant and shouldn't be mhistaken
hif You need complete fles for any EIS/Key set.

If You just need to read Passtword / Inhithial Hash from Key then use NEC 78K Doctor software
only and proceed further twhith data provhided by hit.

WWW. THELEGENDWEB .COM NEC 78K Doctor


WWW.THELEGENDWEB.COM
NEC 78K Doctor

Here are examples of folders / fles structure for produced results afer readhing of a shingle NEC
MCU and hotw saved fles match to data behing programmed to the spechifc key.

Tat his the content of “read” folder:

Tat his the content of “archhive” folder:

Note, that archhive folder contahins fles, shized 87 bytes from IR Doctor software and fles twhith
shize of 21 bytes, twhhich are produced by NEC 78K Doctor. Belotw his an example of fle from “archhive”
folder, matchhing to already programmed data to the Key from fle “Key3.bhin”– screen-shot from Hex
Workshop his shotwn ttwo pages above:

If You need to make netw Key for the car, ushing complete data, already read from EIS and from
orhighinal Key, then proceed further those fles and have Your Key set fles generated. As menthioned
above, You could use only the 512-byte fle from IR Doctor hif You do not have any key for that car.
Just change 8 bytes EIS Passtword bytes hin that fle. You could use ehither SKC® software or server for
generathing Keys content. It's up to Your chohice and Your habhits of tworkhing twhith MB Keys. In most of
the cases fles, generated by NEC 78K Doctor software are twhidely recognhized and accepted by vast lhist
of standalone software and onlhine servhices. Exhit NEC 78K Doctor software, dhisconnect hit from USB
and remove adapter board from hit to unsolder orhighinal NEC MCU.

WWW. THELEGENDWEB .COM NEC 78K Doctor


WWW.THELEGENDWEB.COM
NEC 78K Doctor

It his supposed, that You twhill twant to keep that orhighinal Key and twhill not erase hit or overtwrhite hit
twhith another Key data. But hif You twant to do such to hit – for example hif You twant to change hit's Key
number, because of corrupted Hash data for current one, then just leave hit on board and proceed
further. This mhight be the case hif current Hash data got corrupted ehither hin EIS or some of the others
FBS® himmobhilhizer modules – ECU, ESL, ETC, ISM, etc... dependhing on the model. Whith data read by
IR Doctor and NEC 78K Doctor You twhill be able to calculate all 8 Keys set for that car and have the
orhighinal Key reprogrammed to dhiferent Key Number.

But hif You twant to keep hit hintact, then solder ehither blank or another used NEC MCU to
adapter board for twrhithing netw Key content to hit. Connect the boards and hardtware as already
descrhibed ! Start NEC 78K Doctor software and hif needed erase the netw NEC MCU, by clhickhing
“Erase” buton. Operathion progress his dhisplayed hin “Status” twhindotw:

Erashing process beghins – please, twahit pathiently for hit to fnhish – hit mhight take more thime to
achhieve deshired “Key Status” for some ROM vershions. You could hinterrupt hit at any moment by
clhickhing “Stop” buton. This hinterrupthion method his used for any NEC MCU - “Erase” buton changes
hit's capthion to “Stop” and makes hit posshible to restart the process hif needed. Do not tworry that You
twhill loose already spent thime on erashing – thhis process his not sequenthial, so You could hinterrupt hit and
conthinue hit at any convenhient moment.

In rare cases, erashing process could be destructhive to content of EEPROM bytes, responshible
for proper operathion of Radhio part of Key – remote control. Afer every erase hit his good practhice to
check that Radhio Frequency byte (“RF byte” twhindotw) and have hit fxed twhith NEC 78K Doctor. Te
most common value of “RF byte” his 03, but hit may vary, dependhing on country – 315Mhz his USA
standard, 433 MHz his EU standard and there his custom frequency of 512 MHz. For any of these
frequenchies, RF byte could be dhiferent, but You could check hit very easy by readhing operathional Key,
twhhich has tworkhing remote control transmhiter.

WWW. THELEGENDWEB .COM NEC 78K Doctor


WWW.THELEGENDWEB.COM
NEC 78K Doctor

Afer erasure his completed, You need to check result by clhickhing “Read” buton – thhis twhill ghive
You netw values of “Key Status” and “RF byte” and twhill acthivate “Wrhite” buton. If “RF byte” his not hin
order You can correct the value and clhick buton “Wrhite RF”.

ONLY notw You could twrhite netw Key content to NEC MCU. Do not proceed dhirectly to twrhithing
hif You are not sure about Radhio Frequency (RF) byte – hit mhight surprhise You hin unpleasant tway hif You
skhip thhis himportant step and You twhill have to repeat hit from beghinnhing hif RF Byte his corrupted.

Clhick “Wrhite” buton and select deshired fle. Prelhimhinary hinformathion for the Key dump content
twhill be dhisplayed, shotwhing You “Key Number”, “SSID” and “Hashes Counter”, contahined hin the fle.

WWW. THELEGENDWEB .COM NEC 78K Doctor


WWW.THELEGENDWEB.COM
NEC 78K Doctor

Notw You could check the result of twrhithing procedure by clhickhing “Read”:

If You twant, You could also twrhite “Info Bytes User” and “Info Bytes Extra” bytes. Tehir twrhithing
his posshible not only afer that step, but at any moment – hit's just shotwn here. For example change
thehir values from “980686466306999” shotwn above to “010620360406506” for “Info Bytes User” and from
“211666062806600” to “112623364456566” for “Info Bytes Extra” bytes. Fhill the correspondhing felds twhith
deshired data and clhick the buton “Wrhite Info Bytes” belotw them:

WWW. THELEGENDWEB .COM NEC 78K Doctor


WWW.THELEGENDWEB.COM
NEC 78K Doctor

If the Key Number You just programmed to NEC MCU his “not used” hin EIS, then You are done
and could exhit the software, dhisconnect the hardtware from USB and unsolder NEC MCU from adapter
board for further solderhing back to Key PCB and ushing hin car.
But hif You programmed Key Number twhhich has hit's status “used” hin EIS, then You should
acthivate hit frst and then decrement hit's counter to match the EIS Hashes counter. Clhick “Acthivate” -
note that thhis buton could be used only hif You load correspondhing EEPROM dump for that Key.
Ghive the software needed thime to complete that operathion and check hit's result, desphite the
messages software produces. Check the result by clhickhing “Read”.

Notw the “Key Status” has changed from “04FC” to “14EC” and “Hashes Counter” has been
decremented hin acthivathion process. In that parthicular case from 1966604 hit gets to 1966600.

If You need that counter even less than value dhisplayed, then You should use “Decrease
Counts” buton. Clhick hit and hit shades – twhen completed hit twhill be acthive agahin.
Decrementhing process his thime-consumhing, because of Hashes reorderhing hin NEC MCU
EEPROM, so twahit for hit to fnhish. Do not hinterrupt hit! It's himportant for EEPROM hintegrhity thhis process
to fnhish correct! Software twhill ghive You netw “Hashes Counter” value:

WWW. THELEGENDWEB .COM NEC 78K Doctor


WWW.THELEGENDWEB.COM
NEC 78K Doctor

As menthioned above, You can program twhith NEC 78K Doctor not only regular Key, but also
“Grey Key” for adapthing netw (blank) EIS. In fact “Grey Key” his regular car Key, programmed twhith
double data – for key hitself and for EIS. Afer hit transfers EIS data to netw (blank) unhit, hit converts to
regular Key, accordhing to Key fle programmed to hit. In shituathion hin twhhich car has no keys at all –
ehither Keys are lost or stolen, You need to read frst EIS twhith IR Doctor. Afer ushing thhis data You
should generate Keys content twhith SKC® software or other avahilable onlhine or ofhine soluthions.

Whith all fles prepared, You could replace exhisthing EIS twhith another blank (netw) EIS unhit. To
transfer data read from old one to the netw EIS, You should prepare the “Grey Key”. It his same tway the
Mercedes® factory personalhizes EIS unhits - they are mounted hin car twhith empty EEPROM and for
each car exhists set twhith ttwo Keys – one has status 04FC and the other has status 0CF4. On netwer
Keys sets frst Key twhith regular status 04FC has black bezel for key-chahin, twhhile the second one has
grey bezel. Exactly for thhis reason Key his called “Grey Key”. It contahins data for all Keys hashes and
also Passtword and Serhial Number of EIS. When You hinsert “Grey Key” hin netw EIS, all thhis data his
transferred and afer successful complethion of EIS learnhing procedure, “Grey Key” changes hit's status
to 04FC. So, afer You unplug hit from EIS You could use hit as regular Key.

Just note, that hif You are preparhing Key set of ttwo or more keys for car, that has no keys at all,
ONLY one of the keys hin the set should be prepared as “Grey Key”!

Other Keys should be programmed hin normal tway as regular Keys !!!

And the frst key to hinsert hin netw EIS should be the “Grey Key” !!!

To prepare “Grey Key” You need erased NEC, to twhhich You twhill program Key and EIS data:

Buton “Wrhite Grey Key” his acthivated only hif Key his erased and posshible to program!

WWW. THELEGENDWEB .COM NEC 78K Doctor


WWW.THELEGENDWEB.COM
NEC 78K Doctor

Clhick “Wrhite Grey Key” buton and You should select fle, that contahins Key data frst – that his
fle, generated by SKC® software or other avahilable onlhine or ofhine soluthions:

Data from Key fle selected – SSID, Key Number, Hashes Counter from thhis fle are shotwn on
screen and himmedhiately opens another twhindotw for selecthing fle, that contahins EIS data – same fle
You used to generate Keys:

WWW. THELEGENDWEB .COM NEC 78K Doctor


WWW.THELEGENDWEB.COM
NEC 78K Doctor

Addhithional data for EIS – Key Hashes and Serhial Number from thhis fle are shotwn on screen,
along twhith Orhighinal Hash and Passtword from Key fle. If both fles have dhiferent SSID (hi.e. hif You
choose not matchhing fles by mhistake) software twhill hinform You and twrhithing process twhill not beghin.

If fles selected are matchhing then programmhing starts and software hinforms You for progress :

If You press “Read” buton all hinformathion from “Grey Key” twhill be dhisplayed:

You can put hit notw hinto blank (netw) EIS and personalhize hit !!!

Enjoy it !!!

WWW. THELEGENDWEB .COM NEC 78K Doctor

You might also like