µVISION: Migrate projects with ARMv8-M based devices to MDK 5.22
Information in this knowledgebase article applies to:
After installation of MDK version 5.22, projects that use ARMv8-M based devices do not build anymore. Instead the following errors are generated:
Error: L6218E: Undefined symbols __TZ_....
The dialog Options for Target - Target does not longer show the option Software Model for Secure / Non-secure mode.
In the CMSIS 5.0.0 specification for CMSIS-Pack the following new processor attributes are introduced for ARMv8-M:
In µVision the processor attributes that are used by a project are only updated with the settings from the device description in the respective Software Pack based on the PDSC file information. This information is updated with:
Without the attribute Dtz=”TZ” in the Software Pack, the features for TrustZone for ARMv8-M are not available and the device behaves like a classic Cortex-M device.
Validate that these packs are installed:
To update the device attributes, open the project in µVision and use the dialog Option for Target - Device re-select the device for all targets and all projects of the workspace. As a consequence of re-selecting the device some target options are reset to defaults from the device database (e.g. Target Memory, Debugger and Flash Algorithm settings). Therefore you must also re-apply all project specific settings.
Last Reviewed: Thursday, November 17, 2016
of your data.