2024-09-20 05:02 AM
Hello Everyone,
I am trying to connect virtual com port configuration for STM32H747DISC board but unable to connect as because when i am trying to send data using below code:-
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
HAL_RTC_GetTime(&hrtc,&SaveTime,RTC_FORMAT_BIN);
HAL_RTC_GetDate(&hrtc,&SaveDate,RTC_FORMAT_BIN);
CDC_Transmit_FS((uint32_t *)(&SaveTime),sizeof(SaveTime));
HAL_Delay(1000);
}
Please suggest what can be done to resolve this issue?
2024-09-20 05:40 AM
Hello @Rushali ,
First, try to increase the heap and/or stack memory for your project.
Please check this article Unable to connect to STM32H7 devices - STMicroelectronics Community
Take a look at the existing USB CDC project in the github repository and try to run it: