|
发表于 2020-7-16 12:08:36
|
显示全部楼层
Using Event Recorder
The following steps enable the MDK debugger views for static information and dynamic events.
For User Code:
Add the Event Recorder to the project.
[Optional] Locate the Event Recorder data to uninitialized memory to avoid overwriting the entries on program reset.
[Optional] Set the correct initial time stamp.
[Optional] Create a heartbeat to avoid timer overflow problems.
Add Event Annotations in the C source to be able to stream dynamic event information.
Create an SCVD file to Format Event Information that matches with application code.
For MDK Middleware, Keil RTX5, and FreeRTOS:
The software packs for MDK Middleware, CMSIS, CMSIS-FreeRTOS already contain the relevant *.SCVD files and the related event annotations in the C source code.
Add Event Recorder to the project.
Select a Debug variant for the middleware component to enable event information (for RTX5 select Source variant).
http://www.keil.com/pack/doc/com ... er/html/er_use.html
|
|