2023-04-21 07:12 AM
I have an STM32F401CDU6 blackpill board and I have a USB not recognize code 43 error when activate dfu mode. It's don't do it 3 months ago
Solved! Go to Solution.
2023-04-25 12:46 PM
USB is problematic way with this board (blackpill). If you can buy a ST-LINK programmer (I buy a ST-LINK V2) and programming with this way. No button combination, no problem.
I am close this post now. Thanks to everyone.
2023-04-24 01:05 AM
Hello @AbdurrahmanOnat;
Let me first welcome you to the Community 🙂
Maybe the problem is with your cable, so try a different cable, and make sure that the connections are OK.
Check if the USB_OTG_FS_DP and USB_OTG_FS_DM wires are swapped.
In the USBD_config.h, check you have the correct out-report buffer size (USBD_CUSTOMHID_OUTREPORT_BUF_SIZE)
Please keep me informed about your progress on this issue.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Imen
2023-04-24 11:49 AM
Thank you for your friendly welcome.
I tried with a different cable but the result is the same. USB_OTG_FS_DP and USB_OTG_FS_DM wires are not swapped. Because board is worked on 3 monts ago. I can't do any programming process because Windows can not recognize the USB.
Thanks for your attention.
Abdurrahman
2023-04-25 12:46 PM
USB is problematic way with this board (blackpill). If you can buy a ST-LINK programmer (I buy a ST-LINK V2) and programming with this way. No button combination, no problem.
I am close this post now. Thanks to everyone.