RoboDurden / Hoverboard-Firmware-Hack-Gen2.x

with different defines_2-x.h for different board layouts :-) Compiles with Keil version 6
GNU General Public License v3.0
73 stars 24 forks source link

RD32F096C6T8 mcu ??? HP-IBC-V9.7 #43

Closed marshmeloproject closed 6 months ago

marshmeloproject commented 6 months ago

Hi, i'm new to this and was redirected here from EFeru github for split board main controller. I've taken pictures of the both boards front and back but am unsure which is slave and which is master. I'm also confused which version firmware is most suitable for my case. If there is any need for me to markup more details on the pictures below or could help point me in the right direction, please let me know! Chip is GD32F096C6T8

Board A (links to power switch, bluetooth speaker module, charging port, 2 LED strip and 1 on/off led strip) IMG_20231216_200024 IMG_20231216_200310

Board B (links to battery (another pair of power cable links back to Board A charging port), 2 LED strip and 1 battery led strip) IMG_20231216_202001 IMG_20231216_202246

RoboDurden commented 6 months ago

I have no idea what that RD 32 F 096 C6 MCU is :-( Screenshot_20231216-140932

It might be pin compatible with a GD32F130C8 that you can buy for $1 on AliExpress https://a.aliexpress.com/_EGsx6aH

If you have a smd soldering heat gun..

If the MCU is not supported by the Keil IDE (or PlatdormIO) chances are near zero to program that MCU .

marshmeloproject commented 6 months ago

I have no idea what that RD 32 F 096 C6 MCU is :-( Screenshot_20231216-140932

It might be pin compatible with a GD32F130C8 that you can buy for $1 on AliExpress https://a.aliexpress.com/_EGsx6aH

If you have a smd soldering heat gun..

If the MCU is not supported by the Keil IDE (or PlatdormIO) chances are near zero to program that MCU .

Chip is actually 32F096C6T8, the last two characters hidden by red paint. But even my Google search yielded no such chip :(

RoboDurden commented 6 months ago

C6 means 32 kB instead of 64kB which would be too less for the simpleFOC firmware anyway. For this simple gen2.x the 32bit are enough.

T8 means 48pin package.

Replacing the mcu with a smd heat gun is not such a big deal Screenshot_20231216-154021 But I have never done it. Watch some YouTube videos :-) It might even work without new reflow low temperature soldering paste because there stays enough tin solder on the 48 pins.

Take a look at the gd32f130 pin out and the Inc/defines_2-0.h file to locate

Pa2 pa3 These pins should go to the masterSlave UART header .

Then see if the 6 MOSFET output pins match your layout.

Then check NREST and gnd and 3.3V and the flash pins to match your MCU.

Chances are good that a gd32F130 will fit.

Of course, for the community it would be better if find the manufacturer of that new MCU. But it simply may be a custom labeled GD or MM...

marshmeloproject commented 6 months ago

C6 means 32 kB instead of 64kB which would be too less for the simpleFOC firmware anyway. For this simple gen2.x the 32bit are enough.

T8 means 48pin package.

Replacing the mcu with a smd heat gun is not such a big deal Screenshot_20231216-154021 But I have never done it. Watch some YouTube videos :-) It might even work without new reflow low temperature soldering paste because there stays enough tin solder on the 48 pins.

Take a look at the gd32f130 pin out and the Inc/defines_2-0.h file to locate

Pa2 pa3 These pins should go to the masterSlave UART header .

Then see if the 6 MOSFET output pins match your layout.

Then check NREST and gnd and 3.3V and the flash pins to match your MCU.

Chances are good that a gd32F130 will fit.

Of course, for the community it would be better if find the manufacturer of that new MCU. But it simply may be a custom labeled GD or MM...

Thanks a lot for the additional info! Unfortunately replacing the chip is beyond my skills at the moment, I will definitely revisit this suggestion in the future when time permits!