ASAP2 Updater Error Message: Could not instantiate DIA-SDK which is needed to load PDB file
With CANoe .AMD/XCP 64-bit version 11.0 or newer, the ASAP2 Updater is shipped in a 64-bit version. When you try to use the MAP_FORMAT 54 (Microsoft VC8 Debug File pdb), you may receive the following error message in the ASAP2 Updater log file:
<ERROR> could not instantiate DIA-SDK which is needed to load PDB files. Please install Microsoft’s ‘msdia90.dll’. This library is part of ‘Microsoft Visual C++ 2008 Redistributable Package’
Contrary to the error message, you need to install the Microsoft Visual C++ 2010 Redistributable Package in the 64bit version (x64). You can download it from Microsoft:
The DIA-SDK is installed with the Redistributable package but only until version 2010. Since CANoe does not need this package, especially not in the 64-bit version, it is not part of the regular setup. Updating A2L files from Microsoft PDB debug files is a very rare use case, as this compiler cannot be used for regular ECU code. For Windows DLLs or programs that implement XCP functionality it is recommended to use the simple MAP file format.