2024-03-30 02:26 AM
Hello Community!
Recently i have started working on USB MSC using RTOS. Im using USB HOST Library version 3.5.2 and latest version of CubeMx.
When im generating the code by selecting FreeRTOS CMSIS V2 and pulging my USB drive to CN13 connector then the Appli_state is always staying at APPLICATION_START state and not not going to APPLICATION_READY state.
but on other hand if im selecting FreeRTOS CMSIS V1 instead of V2 with keeping same configuration then USB Appli_state is changing imidiatly to APPLICATION_READY state when USB is getting connected to CN13 connetor.
Here im using STM32F746 NUCLEO board. if anyone knows what is the issue please reply.
Thank you!
Solved! Go to Solution.
2025-01-24 12:04 AM
Hi @JJhin.1
I’m experiencing the same issue. am using the USB MSC Host library v3.5.2 and FreeRTOS (CMSIS v2). I’m using STM32CubeIDE 1.17.2 and STM32CubeMX 6.13.0. I’ve already increased the USB task stack size to 1024, but the application state never transitions to `READY_STATE`. Does anyone have any suggestions? Could you also share your `.ioc` file for reference?
BR
2025-01-24 12:56 AM
hi @walidhmz i have already provided ioc file in my replays. in that you only need to select FreeRTOS version and increase the stack size.
and also ill recomend you to download USB MSC Host library v3.5.2 from Github and copy into yours mcu package Repository.