Loading...
 
Skip to main content

System Workbench for STM32


Strange behaviour of SWD in atollic stm32 nucleo

Thanks for answer.
My _write function in syscalls is
int _write(int32_t file, uint8_t *ptr, int32_t len)
{
int i=0;
for(i=0 ; i < len ; i++)
ITM_SendChar((*ptr++));
return len;
}
My "value" variable is global and there is only written 50. I don't need printf for now, I try only write single character via ITM_SendChar().
I don't have interrupt enabled.
This is my SYS configuration:
Image
When I disable time stamps and ITM0 there is still the same problem. LED blinking and get "AD" only once.

 
Collapse/expand modules below