Keil Logo

CMSIS: E203: Undefined Identifier - Function 'Message' When Building

Information in this knowledgebase article applies to:

  • Keil MDK Version 5.23
  • CMSIS Pack Version 5.0.0

SYMPTOM

After updating a device family pack, the build output window gives the following error message:

Sequence : CheckID
Context : Item #1:  <control if="jep106id != 0x20">
Item #0:  <block> ::Line 2
Expression : " Message(2, "Not a genuine ST Device! Abort connection.");"
----------------------------^
E203 : Undefined identifier - function 'Message'

CAUSE

This error message means that the earlier version of MDK-ARM doesn't understand what the "Messages" function is, in the new pack.

To improve the CMSIS standard, new features are always being added to the specifications. The "Messages" function was a recent edition to the CMSIS-Pack standard version 1.4.9. CMSIS PACK version 5.0.1 (released 23rd of February 2017) and later implements this standard. Keil MDK versions 5.24a (released 5th of July, 2017) and later versions can use the function "Messages".

The STM32F4 and STM32L4 device family packs (DFP) are some of the first to take advantage of the "Messages" function.

RESOLUTION

Possible solutions:

  • Update to Keil MDK version 5.24a and CMSIS Pack version 5.0.1 or later to take advantage of the sequences, queries, and other new debug access functions used in the latest ST packs.
  • Downgrade the ST Device Family pack to one released before February 2017.

MORE INFORMATION

Last Reviewed: Monday, January 11, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.