Posted on November 05, 2012 at 07:45
Hi, I have been using the the MSD class driver for usb host on an STM32f4 board. The host seems to work fine for some time, but after say 200 read/write ops it gets stuck at:
void
USBH_Process(.......
Posted on July 12, 2012 at 13:52Hi, I have been trying to get SDIO to work on an STM32f4-Discovery board using the std-periph library and the mass storage class example from the USB device library. I was able to get SDIO+FatFs+USB to work but it wor...
Posted on November 05, 2012 at 13:14Issue resolved, i was using both USB FS(as MSC host), and USB HS device. I changed USB_FS_IRQ priority to highest among usb hs/fs priorities and this fixed the issue. Don't know why that was causing the problem.
Posted on September 11, 2012 at 09:57
This loop was there because the BOT state machine was not initialized.
I did
USBH_USR_Status USBH_USR_UserInput(
void
)
{
return
USBH_USR_RESP_OK;
}
This called the initialization code a...
Posted on September 10, 2012 at 10:00Hi, have you resolved this issue? I am using the same code and USBH_MSC_BOTXferParam.CmdStateMachine is always 0 (corresponding to CMD_UNINITIALIZED_STATE), which makes it go through the default case in USBH_MSC...
Posted on July 13, 2012 at 12:06Hello, thanks for the reply. I tried again with the pull-up resistors in place. I often get SD_ILLEGAL_CMD returned by SD_ReadMultiBlocks(), for commands which seems to be valid. If I return 0 from the function, I am ...
Posted on July 12, 2012 at 14:31Hi, i have been using https://github.com/texane/stlink/ to program and debug stm32vl-discovery and stm32f4-discovery. It works well.