Professional Documents
Culture Documents
9 Serial Application: Software Documentation Page 9-1 EDC7 Keyword Protocol 2000
9 Serial Application: Software Documentation Page 9-1 EDC7 Keyword Protocol 2000
9 Serial Application
Serial application is designed for development to adjust data, while the engine is running. The ECU is
capable of driving either the RAM data-set (as "working page") or the flash-EPROM data-set (as "reference
page"). After adjustment is finished, the modified application-RAM data-set may be transferred back to the
flash-EPROM.
To perform serial adjustment it is compulsary to enter an appropriate diagnostic mode preceded by security-
Access. Upon the startDiagnosticSession request message the ECU will initalize the working page. A higher
baudrate can be introduced by using the (optional) parameter "baudrateIdentifier". From now on ECU
software is driving the working page data.
In order to check, whether the current data-set of the ECU flash-EPROM data-set is available in the applica-
tion system (PC), there are one possibility:
1. Comparing the checksum of the ECU flash-EPROM data-set with the checksum of the PC data-set. This
can be done by means of the startRoutineByLocalIdentifier (31h) and requestRoutineResultsBy-
LocalIdentifier (33h) - compareChecksum request messages.
If one of the coherence checks have not been successful, the tester requires to perform an upload of either
parts of data or single data from the ECU to the PC before adjusting them (readMemoryByAddress (23h)
service).
After the ECU data-set has been available in the application system, the tester may now change data by
means of the writeMemoryByAddress (3Dh) service.
In order to compare "new" (calibrated) and "old" (original) data, the tester may select from either working
page to flash-EPROM data with the escapeCode (80h) - dataSetSelect service.
To reject the adjustments and reset the working page with the original data-set again, the tester has to send
another startDiagnosticSession service to the ECU.
To copy changed data back to flash-EPROM, the startRoutineByLocalIdentifier (31h) - copyToFlash
request has to be sent to the ECU. The ECU goes immediately into the afterrun procedure and then into the
internal mode of operation (programming mode), where the actual copy operation is performed. It is
compulsory to have stopped the vehicle (v = 0!) before, otherwise the copy operation will not take place.
The copy operation itself takes about one minute. During that time, the stage of progress can be polled with
the requestRoutineByLocalIdentifier (33h) - copyToFlash service. After copying is finished, the normal
mode of operation can be reentered by forcing an ECU reset (either manual or with the keyword protocol
2000 request message ecuReset (11h)).
The message flow of serial application and measuring is shown below (see also section "Measuring"):
© Robert Bosch GmbH (Germany) reserves all rights even in the event of industrial rights. We reserve all rights of disposal such as copying and passing to third parties.
engine running
securityAccess
Check coherence of
PC data-set and
Baudrate changed, ECU data-set
startDiagnostic-
Data-set copied to RAM,
Session
RAM-data-set selected
flash-EPROM application-RAM
no data-sets
coherent?
upload data-set
yes
readMemoryBy
Address
engine stopped
by afterrun
Operating System: normal mode of operation
Operating System: programming mode
manual
ECU reset
requestRoutine positive
copyToFlash results response?
yes,
copying ecuReset
finished
no, still
copying
© Robert Bosch GmbH (Germany) reserves all rights even in the event of industrial rights. We reserve all rights of disposal such as copying and passing to third parties.
© Robert Bosch GmbH (Germany) reserves all rights even in the event of industrial rights. We reserve all rights of disposal such as copying and passing to third parties.
© Robert Bosch GmbH (Germany) reserves all rights even in the event of industrial rights. We reserve all rights of disposal such as copying and passing to third parties.
© Robert Bosch GmbH (Germany) reserves all rights even in the event of industrial rights. We reserve all rights of disposal such as copying and passing to third parties.
The writeMemoryByAddress service is used by the tester to write recordValues (data values) to the ECU's
RAM. The data are identified by the ECU's memoryAddress and memorySize.
Vehicle manufacturer and system supplier have to agree on the conferment of memory access rights. With
this software version the following memory parts are suitable to be written by the writeMemoryByAddress
service. Note that each memory area defined by the parameters memoryAddress and memorySize has to
lie completely inside one of the below defined memory areas:
It is the testers responsibility that the ECU's conditions are met when performing the writeMemoryByAddress
service.
© Robert Bosch GmbH (Germany) reserves all rights even in the event of industrial rights. We reserve all rights of disposal such as copying and passing to third parties.
© Robert Bosch GmbH (Germany) reserves all rights even in the event of industrial rights. We reserve all rights of disposal such as copying and passing to third parties.
© Robert Bosch GmbH (Germany) reserves all rights even in the event of industrial rights. We reserve all rights of disposal such as copying and passing to third parties.
© Robert Bosch GmbH (Germany) reserves all rights even in the event of industrial rights. We reserve all rights of disposal such as copying and passing to third parties.
© Robert Bosch GmbH (Germany) reserves all rights even in the event of industrial rights. We reserve all rights of disposal such as copying and passing to third parties.