AnsweredAssumed Answered

STM32L152 nucleo-64 cube and SWV

Question asked by Michael Melamud on May 23, 2018

Hi,

I am working with STM32L152 nucleo-64 cube evaluation board with Atollic as the IDE .

I am trying to use SWV in order to measure times , i have defined 

#define ITM_Port32(n) (*((volatile unsigned long *)(0xE0000000+4*n)))

 

and enabled everything else according to atollic tutorial.

from my code i am calling 

ITM_Port32(1) = 1;
MX_ADC_Init();
ITM_Port32(1) = 2;

 

but i dont see any output.

 

my FW version is : V2.J29.M18 STM32 Debug+Mass storage 

 

Any ideas will be mostly appreciated.

 

Thanks,

Michael

Outcomes