2023-03-13 07:39 PM
Hi, today I found an pretty unusual bug while doing some projects with the USB CDC, my code, out of the blue, showed hundreds of errors, after some diggins, me and a friend, found out that in the usbd_def.h, the TypeDef of "USBD_StatusTypeDef" was changed with an "q", I think it must have been some mistake while updating the libraries.
Anyway, just change the letter "q" in the line 209 to "USBD_StatusTypeDef" of the usbd_def.h folder and the errors should disappear.
Solved! Go to Solution.
2023-03-15 04:32 AM
Hello @Cde M.1 ,
Thank you for this clarification.
I made some tests using STM32CubeIDE.1.12.0 version and the STM32Cube_FW_F1_V1.8.0 firmware version and I didn't find any issue.
The "USBD_StatusTypeDef" is well described in line 209.
So, I advise you to download and to use the last firmware version of STM32CubeF1.
Please let me know if the problem is solved.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-03-14 04:23 AM
Hello @Cde M.1 and welcome to the community :smiling_face_with_smiling_eyes:,
Could you please provide more details on the issue:
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-03-14 12:34 PM
Hi @KDJEM.1 , I am using the STM32F103C8Tx - LQFP48. (BluePill).
The STM32CubeIDE version is the 1.12.0 (But it was appearing in the 1.9, but I updated it and even reinstalled while trying to fix the error).
The firmware I am not 100% sure in wich version it was, but since I updated the CubeIDE and even reinstalled it (with the latest versions), I think it might be the latest.
If you need any more information, feel to free to ask, I will be glad to help.
Thank You.
Carlos E. de Mattia de Sousa
2023-03-15 04:32 AM
Hello @Cde M.1 ,
Thank you for this clarification.
I made some tests using STM32CubeIDE.1.12.0 version and the STM32Cube_FW_F1_V1.8.0 firmware version and I didn't find any issue.
The "USBD_StatusTypeDef" is well described in line 209.
So, I advise you to download and to use the last firmware version of STM32CubeF1.
Please let me know if the problem is solved.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-06-26 11:43 PM
Hi, I am also facing same issue with STM32F070 Controller.
I have already posted the issue in the below link. (I have shared my project also).
FIrmware Version V1.11.5
Kindly help me to resolve this.
2024-06-26 11:43 PM
Hi, I am also facing same issue with STM32F070 Controller.
I have already posted the issue in the below link. (I have shared my project also).
FIrmware Version V1.11.5
Kindly help me to resolve this.
2024-06-26 11:44 PM
Hi, I am also facing same issue with STM32F070 Controller.
I have already posted the issue in the below link. (I have shared my project also).
Firmware Version V1.11.5
Kindly help me to resolve this.