Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Map Parser (Embedded Development Module)

LabVIEW Microprocessor SDK 2.5 Help
August 2007

NI Part Number:
372197A-01

»View Product Info

The map parser runs through the map file (.map) the linker generates and creates a structure that maps symbol names to absolute addresses of the built image. The map parser is a linker-specific component that you must implement if your linker does not produce the map file compatible with the example map parser. The map parser then resolves all symbols in the debug database. The map parser is not executed for targets that build a downloadable module. The target must resolve all symbols at module load time.

Map file parsing resolves the previously unresolved symbols and converts the relative addresses the list parser generates to physical address for the embedded target. The resolved addresses are shown in the following LVM file for simple_math.vi:

[simple_math.vi]

Node(1, 2, 3)@64=0x1476C

Node(2, 3, 3)@68=0x14780

SID_2360=0xB5C50

SID_2212=0xB5C58

SID_3104=0xB5C60

SID_1988=0xB5C68

SID_1332=0xB5C70

When all of the symbols are resolved, the LVM file is ready for use with LabVIEW and the debug daemon.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit