AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Quick CPU 4.8.0 instal the new3/4/2024 This mode is deprecated and is no longer recommended for new projects. Note that the “Snapshot Mode” mentioned in trcKernelPortConfig.h ( TRC_RECORDER_MODE_SNAPSHOT) refers to a legacy solution that is limited to snapshot tracing only. Now the project should compile and write data to the ring buffer, from which snapshots can be taken when the target is halted. TRC_CFG_STREAM_PORT_RINGBUFFER_MODE can be set to TRC_CFG_STREAM_PORT_RINGBUFFER_MODE_OVERWRITE_WHEN_FULL for continuously recording or TRC_CFG_STREAM_PORT_RINGBUFFER_MODE_STOP_WHEN_FULL for stopping when the buffer is full. TRC_CFG_STREAM_PORT_BUFFER_SIZE decides the size of the trace buffer that is stored in RAM. As of v4.6 this is the default mode, and despite its name it supports both streaming and snapshots.įor streamport-specific settings see trcStreamPortConfig.h c files and the header files from the Config and Include folders.įor FreeRTOS make sure TRC_CFG_RECORDER_MODE is set to TRC_RECORDER_MODE_STREAMING in trcKernelPortConfig.h. The recorder can be configured to either stop or overwrite the start when the buffer becomes full.Ĭopy the files from the RingBuffer folder, located in the streamports folder, into your project. In snapshot tracing, trace data is stored in a local RAM buffer on the target device that can later be read from the host. This ensures that the clock used for timestamps have been correctly configured by FreeRTOS. Then xTraceEnable() needs to be called after the kernel has started. For hardware ports that use the same time source as FreeRTOS tick interrupt (for example the hardware port for Pic32/24 and Cortex-A9) xTraceInitialize() needs to be called in the main function before any RTOS objects are created.
0 Comments
Read More
Leave a Reply. |