I'm unable to view the Map file generated by VisualDSP++. How do you view it?
Memory Map files are available only in .xml format. The map.XML file should be viewed within an Internet Browser, such as Internet Explorer, for best results. Opening an XML map file in a browser provides an organized view of the map file. By using hyperlinks, it becomes easy to quickly find any relevant information.
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.
The file that you are trying to open is a DTD (Document Type Definition) file which should be opened in notepad or related text editor or a DTD editor.
If you are you trying to open your MAP file on a machine which is different to the machine the file was created on then you may also encounter this error.
You see the linker creates MAP files in XML format and these XML files may refer to other XML files which are installed with VisualDSP++. The references to these files contained in the MAP XML file contain the absolute (full) path. So, if the file is viewed on another machine (or drive) which has a different path to these files (or doesn't have VisualDSP++ installed at all) Internet Explorer, or which ever viewer is being used, will issue an error something like this:
"The XML page cannot be displayed"
In order to view the MAP file on a different 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 a DOS Prompt. Then type the path of the xmlmap2html.exe followed by the path of the .xml file. E.g.
"C:\Program Files\Analog Devices\VisualDSP 5.0\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 (and in the same directory as it).
Another workaround for this is to simply edit the map file in Wordpad, or similar editor, to use the correct paths for the machine you are using.
Let me know if this information helps or if you are still having problems.
I get the floowing error message:
Access is denied. Error processing resource
'file:///C:/Program Files/Analog Devices/VisualDSP 5.0/System/linker_map.dtd'.
but this is the location of the dtd file