Skip to main content
mnosr.790
Visitor II
October 19, 2019
Question

CubeMX USB Host MSC FATFS

  • October 19, 2019
  • 0 replies
  • 510 views

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)

{

}

}

This topic has been closed for replies.