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".
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
已解决! 转到解答。
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.
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.
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.
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.
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.
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.