i couldn't find any application example in the installation directory of keil on using Real time agent with RTX kernel for STM32(cortex m3) processor. i found the examples based on LPCxxx ARM7 processor in the installation directory, but that couldn't help me. could anybody please tell me how to use Real time agent with RTX kernel for cortex m3 devices.
You can't find it because it doesn't exists.
Real Time Agent is only for ARM7/9 cores and used to overcome some HW limitation for debugging.
It is not required for Cortex-M cores because the HW already supports debug features like reading memory during program execution, printf style debugging ...
Hi,
for Cortex-M please see CMSIS, core_cm3.h,
static __INLINE uint32_t ITM_SendChar (uint32_t ch); static __INLINE int32_t ITM_ReceiveChar (void); static __INLINE int32_t ITM_CheckChar (void);
You can use the ITM printf window as a Terminal window when in debug mode. Trace (i.e. on ULINK2: SWO, UART Mode) and ITM Ch. 0 must be enabled.
. BR, /th.