This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Component Viewer Error: Failed to parse RTX5.scvd

Hello All,

I am trying to follow the CMSIS-RTOS2 RTX5 tutorial (edit: using Keil uVision v5.20), but I get an error when I start the debugger and cannot open the RTX RTOS Component Viewer :

Expression: '0'
E221: Semantic check - <event 'RTX5 RTOS'>: 'id' is missing
Expression: '0xFA00 + 0x18'
E221: Semantic check - <event 'RTX5 RTOS' <until="Inactive">: undefined 'until' event name
E221: Semantic check - <event 'RTX5 RTOS' <until="Ready">: undefined 'until' event name
E221: Semantic check - <event 'RTX5 RTOS' <until="Running">: undefined 'until' event name
E221: Semantic check - <event 'RTX5 RTOS' <until="Blocked">: undefined 'until' event name
E221: Semantic check - <event 'RTX5 RTOS' <until="Not-running">: undefined 'until' event name
E221: Semantic check - <event 'RTX5 RTOS' <until="Free">: undefined 'until' event name
E221: Semantic check - <event 'RTX5 RTOS' <until="Used">: undefined 'until' event name
E221: Semantic check - <event 'RTX5 RTOS' <until="Error">: undefined 'until' event name
E402: Failed to parse - File: 'C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.6.0\CMSIS\RTOS2\RTX\RTX5.scvd' - one or more errors while parsing xml content

The file was the default scvd file, I did not create or modify it before getting this error.

I tried to upload the scvd file and also pasted it here as "Insert -> Code", but cant tell if it worked or not.

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="utf-8"?>
<component_viewer schemaVersion="1.2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="Component_Viewer.xsd">
<component name="CMSIS:RTOS2:Keil RTX5" shortname="RTX5" version="5.5.1"/> <!-- name and version of the component -->
<typedefs>
<!-- Attributes structure for thread -->
<typedef name="osThreadAttr_t" info="" size="36">
<member name="name" type="uint32_t" offset="0" info="name of the thread (type is const char *)"/>
<member name="attr_bits" type="uint32_t" offset="4" info="attribute bits"/>
<member name="cb_mem" type="uint32_t" offset="8" info="memory for control block (type is void *)"/>
<member name="cb_size" type="uint32_t" offset="12" info="size of provided memory for control block"/>
<member name="stack_mem" type="uint32_t" offset="16" info="memory for stack (type is void *)"/>
<member name="stack_size" type="uint32_t" offset="20" info="size of stack"/>
<member name="priority" type="uint32_t" offset="24" info="initial thread priority (type is osPriority_t)"/>
<member name="tz_module" type="uint32_t" offset="28" info="TrustZone module identifier (type is TZ_ModuleId_t)"/>
<member name="reserved" type="uint32_t" offset="32" info="reserved (must be 0)"/>
</typedef>
<!-- Attributes structure for timer -->
<typedef name="osTimerAttr_t" info="" size="16">
<member name="name" type="uint32_t" offset="0" info="name of the timer (type is const char *)"/>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

0