Q:
I'm unable to view the Map file generated by VisualDSP++. How do you view it?
---------------------------
A:
Memory Map files are available only in .xml format.
In order to view the map file on a machine, it can be transformed to html format using the <install_dir>\"xmlmap2html.exe" utility. This utility makes it possible to view the map file on virtually any machine with any browser. To generate the html file, open the DOS Prompt. Then type the path of the xmlmap2html.exe followed by the path of the .xml file. E.g.
"[Installation Directory]:\Program Files (x86)\Analog Devices\VisualDSP x.x\xmlmap2html.exe" "C:\myproject\map.xml"
Or, you can simply drag and drop the .xml file onto the xmlmap2html.exe file. This will generate a portable .html file for the corresponding .xml file. Please note that, as this utility also relies on the VisualDSP++ path matching that of the XML file, you will need to convert it on the machine that produced the file.
If the Memory Map file was received from someone else, the XML's paths to linker_map_ss1.xsl and linker_map.dtd need to be changed. These use absolute paths and need to be changed to point to the location of these two files on the new computer.