2019-10-19 03:18 AM
I generate code for STM32F105RBT using cubemx(5.30) and USB Host MSC FATFS setting, now its work about connect and disconnect flash stick but alwayse Appli_state is in APPLICATION_IDLE,
.is something should i do to for APPLICATION_READY??
while (1)
{
/* USER CODE END WHILE */
MX_USB_HOST_Process();
/* USER CODE BEGIN 3 */
if(Appli_state==APPLICATION_READY)
{
}
else if(Appli_state==APPLICATION_IDLE)
{
}
else if(Appli_state==APPLICATION_START)
{
}
else if(Appli_state==APPLICATION_DISCONNECT)
{
}
}