MQX USB Host MFS events

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MQX USB Host MFS events

ソリューションへジャンプ
2,017件の閲覧回数
Toe
Contributor IV

I have a MQX 4.1 project built from the MFS USB example and I'm having a hard time finding out why attach/detach events do not seem to occur properly.

Right now the project will mount a usb storage device ONLY if the device is present when the usb stack is initialized.  If the stack is initialized and then a USB stick is inserted the mass device event is never triggered.  The event never triggers on the removal of the device either.

Is there something I can look at that may be missing?  I assume there's an initialization step I missed either in one of the mqx libraries or in the usb stack.  When debugging I can see the host task is running and not starving or running out of stack space.

MCU is 52252 clocked at 60MHz.

ラベル(2)
タグ(4)
0 件の賞賛
返信
1 解決策
1,752件の閲覧回数
Toe
Contributor IV

That's not extremely helpful...  The example there still relies on the BSP to be correct, fortunately I found what was causing my issue.  I was missing the initialization for the pull downs going to the MCU.  Interesting that it will work when the stack is initialized with that being incorrect

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,752件の閲覧回数
soledad
NXP Employee
NXP Employee

Hi,

Are you using a Freescale board?

Could you please try using the example located at the next path:

C:\Freescale\Freescale_MQX_4_1\usb\host\examples\msd\msd_commands

Please let me know if this helps :smileywink:
Have a great day,
Regards
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,753件の閲覧回数
Toe
Contributor IV

That's not extremely helpful...  The example there still relies on the BSP to be correct, fortunately I found what was causing my issue.  I was missing the initialization for the pull downs going to the MCU.  Interesting that it will work when the stack is initialized with that being incorrect

0 件の賞賛
返信