Image Processing Reference
In-Depth Information
LIN configuration
file(s)
LIN node private file
LCFG
LIN API software:
Automatically generated
ANSI C-code with
network configuration
I_gen.h
lin.h
I_gen.c
Application and network
software meet at
compiler!
Application source
file
Compiler
Protection of application
know-how
Linker
LIN library
LIN target image
FIGURE .
LIN target image building process.
application. When the node allows for reflashing the configuration can even be adapted without fur-
ther supplier involvement allowing for end-of-line programming or after sales adaptations in case of
service.
LTP's are created and built for a speciic microcontroller and compiler target platform. A number
of ports to popular targets are available and new ports can be made at the customer's request.
17.13 LIN Spector—Test Tool
LIN Spector is a highly flexible analysis and emulation tool used for testing and verification of
LIN networks (Figure .). The tool is divided into two components: an external hardware and a
PC-based software package. Using a  bit microcontroller, the hardware portion performs exact
low-level real-time bus monitoring (down to  µs resolution) while interfacing to the PC. Other
connections are provided for external power, for bus and triggering connections. The output trig-
ger is provided for connection to an oscilloscope, allowing the user to externally monitor the bus
signalization.
Starting with LDF import, the tool allows for monitoring and display of all network signal data.
Advanced analysis is possible with logical name and scaled physical value views. Full emulation
of any number of nodes—regardless whether master or slave—is possible using LDF information.
Communication logging and replay is possible, including the ability to start a log via logic-based
triggers.
Anoptionalemulationmoduleenablestheusertosimulatecompleteapplicationsorruntestcycles
when changing emulated signal values and switching schedule tables—all in real time. he functions
arespeciiedbytheuserviaLINEmulationControlilescreatedinaC-likeprogramminglanguage,
which can also be used to validate the complete LIN communication in a target module. Test cases
are defined stressing bus communication by error injection on bit or protocol timing level.
SophisticatedgraphicaluserinterfacepanelscanbecreatedusingtheLINGOfeaturewithinthe
test device (Figure .).
These panels interface with the network data defined by the LDF for display and control.
 
Search WWH ::




Custom Search