Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


USB FS Host , MSC class not starting under FreeRTOS..

hi bernard,

yes, the scheduler is started in main() , and begins a startTask() wihch does the job of init of FAT FS , USB host etc, during which the log output is generated.

breakpointing around a little more last night I could see that in usb_core.c , the USBH_Process() is being called and progresses OK, USb attachement, enumeration etc as indicated in the logs, as far as reporting “MSC class started”.

After this it keeps coming back to line 559 - if(status == USBH_OK) never resolves since it remains USBH_BUSY

case HOST_CLASS_REQUEST:
/* process class standard control requests state machine */
if(phost->pActiveClass != NULL)
{
status = phost->pActiveClass->Requests(phost);

if(status == USBH_OK)
{
phost->gState = HOST_CLASS;
}
}
else
{
phost->gState = HOST_ABORT_STATE;
USBH_ErrLog (“Invalid Class Driver.”);

  1. if (USBH_USE_OS == 1)

osMessagePut ( phost->os_event, USBH_STATE_CHANGED_EVENT, 0);

  1. endif

}

break;