USB open failed after modify bulk out packet size

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

USB open failed after modify bulk out packet size

跳至解决方案
1,345 次查看
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 解答
1,215 次查看
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 回复数
1,282 次查看
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 项奖励
回复
1,278 次查看
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 项奖励
回复
1,262 次查看
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 项奖励
回复
1,216 次查看
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 项奖励
回复
1,200 次查看
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 项奖励
回复
1,192 次查看
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 项奖励
回复