µVision User's GuideAbout µVision User Interface Creating Applications Debugging Debug Commands ASM ASSIGN BreakAccess BreakDisable BreakEnable BreakKill BreakList BreakSet COVERAGE COVERAGE Overview Report COVERAGE GCOV Export COVERAGE ASM Report COVERAGE MTB Import COVTOFILE DEFINE DIR Display Enter EVALuate EventRecorder EXIT FUNC Go INCLUDE IRLOG ITMLOG KILL LOAD LOG LogicAnalyze MAP MODE Ostep PerformanceAnalyze Pstep RESET SAVE SBC (only Cortex-M) SCOPE SET SIGNAL SLOG Tstep Unassemble WatchSet WatchKill TraceAccessPoint TraceDataPoint TraceDisable TraceEnable TraceHalt TraceKill TraceList TraceRun (ETM) TraceSuspend (ETM) Debug Functions Simulation Flash Programming Dialogs Utilities Command Line Example Programs Appendix
The Event Recorder supports a set of debug commands that allow logging the Event Recorder items, storing Event Statistics data, as well saving and restoring the filter settings.
The path can contain a drive letter and path specification. Relative path from the project location can be used as well.
Specify an Event Recorder log and check the current status:
ER >C:\TMP\erlog /* Create a new Event Recorder log file */ ER /* Interrogate Event Recorder status */ Event Recorder log file: C:\TMP\erlog.csv Event Buffer: 0x20000000 - 0x20001FFF (512 records) Record Capturing: count=7600, first=4500, missed=76
When missed events are reported, the recording is incomplete. The following steps may help to resolve it:
Output in case there's no Event Recorder in the target application:
ER /* Interrogate Event Recorder status */ Event Recorder log file: <none> Event Buffer: <none>
Save/restore current filter settings to/from a binary file:
ER SAVE C:\TMP\MySetup.erfilt /* Save current filter settings */ ER LOAD C:\TMP\MySetup.erfilt /* Restore previous filter settings */
Save and reset the Event Statistics data:
ER STAT C:\TMP\erStat.csv /* Save current event statistics data */ ER RESET /* Reset the event statistics data */
of your data.