-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] OpenOCD init failed while using specific pin #366
Comments
What does your platformio.ini file look like, if I may ask? |
|
Of course, you shouldn't use pa13 or pa14 |
Are they reserved for something I am not aware of? |
Yes, for programming the chip 😂 |
Thanks! |
This bug happened while trying to solve this issue: #364
Bug description
BLCDDriver6PWM function needs 6 pins, With a specific pin I am able to build and upload the code to the board once, but after that it is not possible to upload any code via platformio. To return the board to normal, I have to upload any code via STM32 Cube program.
Hardware setup
Board: STM32 Nucleo F303RE
Pin that causes the issue: PA13
Pin functions: https://i.imgur.com/xuleuID.png
Code
Code that causes the bug:
BLDCDriver6PWM driver = BLDCDriver6PWM(PA9, PB0, PB14, PB15, PA12, PA13);
It does not depend on the argument position or the value of other arguments, according to my testing. The only thing necessary is to have PA13 as an argument.
Error message:
IDE
The text was updated successfully, but these errors were encountered: