isabellesimova / HoverboardFirmware

50 stars 24 forks source link

Firmware does not work all i get is a bleep when i press the start button #11

Open jabulonboaz opened 5 years ago

jabulonboaz commented 5 years ago

Firmware does not work all i get is a bleep and led flash when i press the start button for a second and then nothing. Calibration worked ok though. But all else firmware made just gives me that behaviour.

Madhan-Kumar-21 commented 5 years ago

Even am getting the same issue, its just bleep and led flash for a while and goes off. Is your issue is sorted out? if so can you help me in sorting it out?

adverst commented 5 years ago

I get the same thing... First I realized the battery I have is only 24V. Thinking that was the issue I bought a 36v battery, but still no good. If I power the chip via the st link and define the 'buzzer_start_debug' I get the steady beep. If I unplug the stlink and have regular power on, when I power it on I get a whine synchronized with the power LED on the board. Then it just shuts off. If I have buzzer_start_debug defined, it will do the steady beep a few times then shut down.

I was able to do the calibration fine.

Haven't had any luck getting debug output to show yet, so not quite sure what the issue is. Working on getting a little more information out to see what is happening

adverst commented 5 years ago

@jabulonboaz and @Madhan-Kumar-21 what chip do you have on your mainboard? I just realized the one I've been trying on here is gd32f103 Not STM32F103. I ordered another online, it's an actual STM32F103. I'll try this one now.

Madhan-Kumar-21 commented 5 years ago

@adverst I got with the MCU GD32F103 model. Is it not possible to do with the model which I have, should I also get a new board?

adverst commented 5 years ago

@Madhan-Kumar-21 the firmware this is based off supposedly works on the GD32F103's too, so unless much has been changed this one should also work. I'm still working on getting debugging working properly so that I can see what the actual issue is.

Just curious - could you share a pic of your board? So many different variations around

sgfpu commented 5 years ago

I got a similar problem - may be related:

The power led will flash when the power button is pressed - then the led goes off and nothing.

If I connect the charger to the board, then the power led is on even without pressing the power button and the firmware seems to be running.

My board is actually STM32F103.

Any clues?

Madhan-Kumar-21 commented 5 years ago

IMG_20190507_190542 @adverst I have attached my pic of the mainboard.

w4ff3l commented 5 years ago

Kind of the same problem on my end. Calibration works fine. Without calibration mode, the board turns off after a second. Has someone found a solution to this?

developmore commented 5 years ago

@adverst i am having the same problem as everyone here. Running on GD32F103 board. Were you able to test with a different board or get debugging working ?

sebastienvg commented 4 years ago

I've got both boards and was only able to get this firmware to work with STM32F103. Like others the CALIBRATION mode worked for both boards.

adverst commented 4 years ago

Hi Sorry I hadn't received the notification pings for this thread. I ended up moving to a different firmware - https://github.com/bipropellant/bipropellant-hoverboard-firmware

At the top it was much more actively developed, that's slowed now. This one works for me but I switched to an STM board. I didn't go back to trying on the GD board.