Skip to content
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

issue board does connect to st link v2 #536

Open
tah-AMG opened this issue Jan 18, 2025 · 9 comments
Open

issue board does connect to st link v2 #536

tah-AMG opened this issue Jan 18, 2025 · 9 comments
Labels
bug Something isn't working

Comments

@tah-AMG
Copy link

tah-AMG commented Jan 18, 2025

Variant

ADC

Control type

FOC

Control mode

Voltage

What is the bug and how to reproduce it ?

i unlocked the mcu and uplaoded the fiemware foc with pots and the borad turns on strat up l beeps then just constants beeps one after one until i turn it off and does not work
when i want to flash another firmware the board does not connect to stm32 cube or st link utility and con't acces it with open ocd
led is on no blinks

@tah-AMG tah-AMG added the bug Something isn't working label Jan 18, 2025
@iso14000
Copy link

are you sure that µC is powered? I mean... do you hold the "start" button?

@tah-AMG
Copy link
Author

tah-AMG commented Jan 20, 2025

i hold iiit before pulg iiin iit iin the stlink and berofe powering the board no difference how do i know if the board is bricked ?
also before compiling the code you only need to uncomment the variant that you want or there is something else you need to change

@iso14000
Copy link

you should check µC power , 3.3V

@tah-AMG
Copy link
Author

tah-AMG commented Jan 22, 2025

i did the 3,3v and the battery power i will try plug in the whole board in the hoverboard that is my last move

@iso14000
Copy link

mmm , is it a ST or a counterfeit on the board?

@tah-AMG
Copy link
Author

tah-AMG commented Jan 22, 2025

no GD32.. but says arm on boittom

@iso14000
Copy link

by the past a GD broke up without a known reason, do you use a genuine STlink dongle?

@tah-AMG
Copy link
Author

tah-AMG commented Jan 25, 2025

i did plug all the cables and it behaived a bit but still does not connect to st link i use just the fake one i did all the combinations in the st link utility and even i pluged the 3.3v with a battery and same thing now just start up sound and nothing i remeber in the code i disabled one motor i think i will give up can u give me a hex file u know works and i will try it on another board but still same mcu gd32
and btw thanks for your help man

@iso14000
Copy link

I'm working on the transpotter version. Making some adjustement such as "standstill" feature when leach is released.
So a little far away from your version
find attached a know working version .elf file.

I use a genuine STlink.

best regards

firmware.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants