Hello,
New with STM/Keil don't "kill" me. (I already went true a lot of documentation) But now I took the next step "Hello" on Uart1. Configured all settings with STMCUBE Then added this code in the main part. (See below). I expected that in Debug mode (I use J-Link Segger) when I opened the serial window and selected "Uart1", I would see "Hello" on the screen..... And if the debugger cant show the Uart1 data in the serial terminal, what is then the use of this functionality.....?
Setup: Keil-Lite (can this be the reason for my problem???)/ STM32F103VC/ J-Link Segger debugger
int main(void) {
HAL_Init();
SystemClock_Config();
MX_GPIO_Init();
MX_TIM1_Init();
MX_USART1_UART_Init();
/* USER CODE BEGIN 2 */
char *msg = "Hello";
HAL_UART_Transmit(&huart1, (uint8_t*)msg, 6, 0xFFFF);
View all questions in Keil forum