hoverboard-firmware-hack icon indicating copy to clipboard operation
hoverboard-firmware-hack copied to clipboard

gd32 chip

Open tequilahut opened this issue 6 years ago • 14 comments
trafficstars

does anyone have any experience with this board? is this as flat as the others? it's obviously a gd32 chip. i think the pinout to flatten the chip is the one that says:PROHIBIT. the third pad from the left is also GND which actually speaks for it. IMG_5330

tequilahut avatar Apr 16 '19 16:04 tequilahut

that looks very much like one of the board pair that I torched :(. My advice is look on ebay for a new motherboard set with the single motherboard that handles both motors and separate sensor boards. I paid about £16 for my new board, and then it's software compatible with this and the original repo. The only issue (for me) was the plastic mounts are not the same, and hard to get hold of cheaply. There is a repo about which addressed these separate boards, but I never tried it. And if you want HB functionality as well as machine control, you'd probably be starting from scratch on the inter-board protocol. The new motherboard fitted my alloy frame and battery fine, and came with new LED modules as well.

btsimonh avatar Apr 16 '19 17:04 btsimonh

what do you mean with HB?

do you mean this repo:

tequilahut avatar Apr 16 '19 17:04 tequilahut

yes, that repo.
HB = 'Hoverboard'. i.e. the main feature of THIS repo over the original is that I implemented actual HoverBoard functionality; as well as our more rigorous machine control protocol... :).

btsimonh avatar Apr 16 '19 17:04 btsimonh

ah okay. well I don't need HB . I would like to build up a 4x4 longboard. do you think it is capable to do this job? the layout of the board within this repo is not exactly the same. do you have experience with it and know that is going to work? what is the pinout ? is it 3.3 swc und swd? have you testet it?

tequilahut avatar Apr 16 '19 17:04 tequilahut

I did not try to flash the boards I had - mainly tried various ways to extract the firmware, and failed (even wrote an ESP firmware to do nefarious things over SWD). The SWD interface worked with my chinese STLINK. The GD32 CPU is STM compatible (apart from Maybe serial rates - it has a faster clock, and I find my current GD based motherboard talked to the sensor boards at ~double the rate I found in the STM based board descriptions). The repo you highlight is also GD based, but also Keil based. I would recommend VSCODE and PlatformIO - just because that is what I use. The platform.io configs from this repo should be a good start....

btsimonh avatar Apr 16 '19 17:04 btsimonh

oh - download the GD32 manual, but also the STM32 manual. You will find they number things differently in the manual, but that the code is the same :). I got confused at first..... especially usart indexes.

btsimonh avatar Apr 16 '19 17:04 btsimonh

okay that sounds good. so hopefully they will do the job for my quad longboard. :) VSCODE is an own repo? I would really like to use these boards just to safe some money, u know? at the end I could also buy 4 separate escs - but that is not the way i would like to work with..

tequilahut avatar Apr 16 '19 17:04 tequilahut

ah ok now I got u. u mean Microsoft Visual Studio Code (VSCode) sorry for that

tequilahut avatar Apr 16 '19 17:04 tequilahut

yep, me the same on saving money :). if you already have 4 boards, adding the cost of 2 x motherboard kits makes the hobby not attractive.... good luck, and make sure you publish a nice repo with the results :). Second question about the separate boards in 2 days.... check the other issue raised and collaborate with the author?

btsimonh avatar Apr 16 '19 17:04 btsimonh

IMG_5330

I have a chances stlink as well do you think the pinout Is like in the picture highlighted`

tequilahut avatar Apr 16 '19 17:04 tequilahut

ok I will look it up. how can I find the other issue that you are pointing at?

tequilahut avatar Apr 16 '19 17:04 tequilahut

haha - not a clue. gnd is easy, 3.3 should be easy, guess the others with little danger? (or check out the pinout in the other repo to see how close it may be to yours?). No, i did not flash, but I did attach STLINK. other issue here: 13

btsimonh avatar Apr 16 '19 17:04 btsimonh

Hi guys. Any of you was able to flash it? I want to try with a different board that I have. But I dont know how to tell if the pins share th same conections. Could you advise me please? 2

renmalek7 avatar Apr 08 '20 11:04 renmalek7