We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, All
I'm working on following environment.
Tool chain: Keil MDK-ARM 5
Device/Board :STM32F429NI / STM32429I-EVAL1
Code generator:STM32CubeMX
RTOS:FreeRTOS wrapped by CMSIS RTOS
Debug Trace Unit:ULINK Pro
Debug Interface:+ETM, SW port(SWJ)
Trace:Sync Trace Port 1-bit Data, Trace Enabled, ETM Trace Enabled, ITM port 0 and 31 enabled
I can use following Keil's debug tool.
Debug (printf) Viewer
Performance Analyzer
Watch
Memory window
But, I can't use Keil's Event Viewer.
Please help me.
メッセージ編集者: nagaoka
The problem with this particular feature is the use of FreeRTOS. The debug viewer is based on printf for its output (Debug (printf) Viewer), the performance analyzer is based on the execution of functions (Keil µVision Debugger), watch evaluates your registers (µVision Watch Window) and the memory window is evaluating the memory (µVision Memory Window). I say this because they all have one thing in common: they are not dependent on your choice of RTOS. Then there is the Keil Event Viewer, which is written specifically for ARM's RTX RTOS (http://www.keil.com/download/files/sam3x_ek_lab.pdf section 15). It is not made for the FreeRTOS kernels and why you won't see them work together. FreeRTOS instead extended a plug-in to use the Logic Analyzer to display their kernel information (FreeRTOS extends support for Keil MDK). It will give you the same data just in a slightly different format. Also you should use Trace Port 4-bit Data since the Keil Performance Analyzer is derived from the ETM instruction trace. You will get more information passed with 4-bits than 1-bit.