Hi team
I am playing around with a STM32 again, and today I want to learn sending some debug info with ITM_SendChar(), but I don't see anything from my SWV console windows.
The board I am using is Nucleo-32 STM32F303K8T6 (link)
Here are my settings:
Here are my test code:
Everything else is default, my LED can blink properly, but no output from SWV console, what have I done wrong?
I am using STM32CubeIDE v1.1
I am playing around with a STM32 again, and today I want to learn sending some debug info with ITM_SendChar(), but I don't see anything from my SWV console windows.
The board I am using is Nucleo-32 STM32F303K8T6 (link)
Here are my settings:
Here are my test code:
Code:
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
HAL_GPIO_WritePin(LED0_GPIO_Port, LED0_Pin, GPIO_PIN_RESET);
HAL_Delay(500);
HAL_GPIO_WritePin(LED0_GPIO_Port, LED0_Pin, GPIO_PIN_SET);
HAL_Delay(500);
ITM_SendChar(55);
}
/* USER CODE END 3 */
I am using STM32CubeIDE v1.1