USB open failed after modify bulk out packet size

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

USB open failed after modify bulk out packet size

ソリューションへジャンプ
998件の閲覧回数
shizj
Contributor III

I'm using rt1052 dev_cdc_vcom_freertos demo and trying to modify HS_CDC_VCOM_BULK_OUT_PACKET_SIZE from 512 to 1024.

after modification the vcom can‘t be opened with error "Insufficient system resources. Unable to complete api".

捕获.PNG

I also find this post, it seems should to be work fine.

What else am I missing?

SDK version: SDK_2_14_0_EVKB-IMXRT1050

 

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 解決策
868件の閲覧回数
shizj
Contributor III

could you please try modifying with another value lower than 1024?

It works fine only with the value lower than 512.

Finally, if possible, could you please test the IMXRT1050EVK or IMXRT1060EVK in another computer?

 I test in another desktop, It seams the device can't be connected to USB 3.2 port. It works fine with USB 2.0 port.

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
935件の閲覧回数
RaRo
NXP TechSupport
NXP TechSupport

Hello @shizj,

We have tested on our side without problems with an IMXRT1050-EVKB. Could you please do a mass erase to your board before testing the example with #define HS_CDC_VCOM_BULK_OUT_PACKET_SIZE (1024U)?

Also, have you modified something else besides the HS_CDC_VCOM_BULK_OUT_PACKET? If so, could you please tell us what changes have you made to the example?

Kind regards, Raul.

0 件の賞賛
返信
931件の閲覧回数
shizj
Contributor III

Could you please do a mass erase to your board before testing the example with #define HS_CDC_VCOM_BULK_OUT_PACKET_SIZE (1024U)?

I use the "dev_cdc_vcom_freertos debug" target to test which flash is not needed.

have you modified something else besides the HS_CDC_VCOM_BULK_OUT_PACKET?

it's the only thing I modified after exporting the demo

 

I try to reinstall vcp driver also not work.

PS: I have an IMXRT1060-EVK on hand testing with rt1060's demo and still get the same result.

0 件の賞賛
返信
915件の閲覧回数
RaRo
NXP TechSupport
NXP TechSupport

Hello @shizj,

Could you please tell us your EVK's jumper and boot configuration?

Also, could you please try modifying with another value lower than 1024?

Finally, if possible, could you please test the IMXRT1050EVK or IMXRT1060EVK in another computer?

Kind regards, Raul.

0 件の賞賛
返信
869件の閲覧回数
shizj
Contributor III

could you please try modifying with another value lower than 1024?

It works fine only with the value lower than 512.

Finally, if possible, could you please test the IMXRT1050EVK or IMXRT1060EVK in another computer?

 I test in another desktop, It seams the device can't be connected to USB 3.2 port. It works fine with USB 2.0 port.

0 件の賞賛
返信
853件の閲覧回数
RaRo
NXP TechSupport
NXP TechSupport

Hello @shizj,

Like you did while connecting to another computer, you can try connecting it to primary USB 2.0 ports.

The front USB ports could struggle to provide enough power for your device and don’t have priority, which can cause the device functions improperly. For this situation, you might use a USB 2.0 port.

Best regards, Raul.

0 件の賞賛
返信
845件の閲覧回数
shizj
Contributor III

Hi, RaRo,

It's OK as I said before. So is it designed to not USB 3.0 compatible?

I will mark it as solved.

thanks!

0 件の賞賛
返信