rtw.asap2SetAddress(ASAP2File, InfoFile)
updates the ASAP2File by replacing placeholder ECU addresses with actual
ECU addresses extracted from the InfoFile.
rtw.asap2SetAddress(ASAP2File, InfoFile, UseSymTab)
updates ASAP2File by replacing placeholder ECU addresses with actual ECU
addresses extracted from the symbol file only when the Executable and Linkable Format
(.elf) file has a non supported format.
Update the ASAP2 (A2L) file by adding address fields from the
Executable and Linkable Format (.elf) file.
% uses ELF file to update ECU addresses
rtw.asap2SetAddress('model.a2l','model.elf')
Set ECU Address By Using DWARF File
Update the ASAP2 (A2L) file by replacing ECU address fields from the
Debugging With Attributed Record Format (.dwarf) file.
% uses DWARF file to update ECU addresses
rtw.asap2SetAddress('model.a2l','model.dwarf')
Set ECU Address By Using PDB File
Update the ASAP2 (A2L) file by replacing ECU address fields from the
Program database (.pdb) file.
% uses PDB file to update ECU addresses
rtw.asap2SetAddress('model.a2l','model.pdb')
Set ECU Address from Symbol Table
Update the ASAP2 (A2L) file by replacing ECU address fields from the
symbol table instead of from the debug information table. You can use
UseSymTab only when the information file is in the .elf
format.
% uses ELF file to update ECU addresses
rtw.asap2SetAddress('model.a2l','model.elf','UseSymTab')
UseSymTab — Symbol table to extract ECU addresses UseSymTab
Use this argument when the information file has a non supported format. The function
then reads the ECU addresses from the symbol table instead of from the debug information
table.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.