I work on a project which uses Renesas MCU. The IAR is 9.10. I followed FreeRTOS — Trace Recorder 4.8.0 documentation to setup Tracealyzer with IAR.
Here are what I did:
- Copy the TraceRecorder files to my project folder
- Added the files and folders to my project
- Added the path in the project options
- In trcConfig.h:
o add #include “bsp_api.h” and comment out #error “Trace Recorder: Please include your processor’s header file here and remove this line.”
o updated #define TRC_CFG_HARDWARE_PORT TRC_HARDWARE_PORT_ARM_Cortex_M - In trcKernelPortConfig.h: #define TRC_CFG_FREERTOS_VERSION TRC_FREERTOS_VERSION_10_4_3
- In FreeRTOSConfig.h: #define configUSE_TRACE_FACILITY (1)
- In the initialization of my project before any task started, call: xTraceInitialize(); xTraceEnable(TRC_START);
- The project build fine. I loaded the firmware on my device.
I try to capture the snapshot from Tracealyzer. But I got “Unable to fetch snapshot”. Could you please point out where I did wrong?
Thanks!