You are here

Can not update firmware on FLIPSKY 4.12, still af 3.4 (att. newbie)

12 posts / 0 new
Last post
SlinBin
Offline
Last seen: 2 years 6 months ago
Joined: 2019-03-26 16:49
Posts: 4
Can not update firmware on FLIPSKY 4.12, still af 3.4 (att. newbie)

On my first encounter with VESC

I have acquired a Flipsky FSESC (VESC) 4.12 with firmware 3.40: https://flipsky.net/products/torque-esc-vesc-%C2%AE-bldc-electronic-spee...

On first setup I connect it to Motor, hall sensors and battery, then PC (Win) (EDIT: I'm powering the VWSC from a e-bike battery, full loaded 53V, I will not power on by USB as stated in some threads)

Opening up VESCTool and connecting I being noticed the boot-loader is to old, but can be updated, I update this and reboot. (EDIT: I have a strong feeling this might be the root of all my problems, any comments is highly appreciated)

Next I am informed the firmware is to old (see image) and  update with the newest included (I select VESC_default.bin).

BUT on reboot it just cycles through this again (telling me im on FW 3.4) with the firmware being to old, I can not seem to update it....

all ideas are mostly welcome.

Ps: I have read elsewhere that after a firmware it should be possible to reconnect without switching power of the VESC first, not so with mine, to reconnect I have to turn of the battery end reconnect.

EDIT: Is this the wright place for my question or should i be posting in "VESCTool" ?

Vesc.jpg

district9prawn
Offline
Last seen: 1 year 3 months ago
Joined: 2018-04-26 12:18
Posts: 123

It sounds like the vesc you bought is missing the bootloader.

SlinBin
Offline
Last seen: 2 years 6 months ago
Joined: 2019-03-26 16:49
Posts: 4

Thank you for answering!

I have been looking for ways to confirm the presence of a boot loader but found none, does it show anywhere in VESCTool ? Or is this information accessible in command line?

As stated I did update the boot loader when initially connecting the VESC to VESCTool (it asked me to) and this procedure was outlined in FLIPSKY tutorial, BUT (now i see) the tutorial is for HW6, and in threads for 6 I see mention of danger when flashing  new boot loader over an existig one.

I have tried to update the bootloader again, the green bar takes about 1 sekund to complete, maybe it is supposed to be this fast, maybe it is a bad sign......

Br

district9prawn
Offline
Last seen: 1 year 3 months ago
Joined: 2018-04-26 12:18
Posts: 123

The bootloader uploading quickly is normal. It is only a few kb. Best way to check is simply to try uploading some firmware. If it reboots afterwards into the new firmware the bootloader is there. Ottherwise it will reset and be unresponsive and require a power cycle. And boot into the old firmware.

SlinBin
Offline
Last seen: 2 years 6 months ago
Joined: 2019-03-26 16:49
Posts: 4

Thank you for you ansver district9prawn

In that case there either no bootloader or it is faulty.

Is it nessesary to use the ST-Link v2 for uploading the boot-loader (dont have one), or are ther any alternative means (I have PicIT and arduino programmers) ?

I have found several tutorials regarding uploading a bootloader, but they al have dead links to the boot-loaders.
On Git Hub I found this: https://github.com/vedderb/vesc_tool/tree/master/res/bootloaders

  • 40_o_47_o_48_o_410_o_411_o_412_o_DAS_RS.bin, First commit, 2 years ago
  • generic.bin. Added generic bootloader, a year ago

can i take any of those two ?

BR

district9prawn
Offline
Last seen: 1 year 3 months ago
Joined: 2018-04-26 12:18
Posts: 123

Any SWD debugger should work. The bootloader starts at 0x080e0000. 

TechAUmNu
Offline
Last seen: 2 days 4 hours ago
VESC Free
Joined: 2017-09-22 01:27
Posts: 575

You are always best to try updating the firmware first, then the bootloader if it doesn't work. If you upload the bootloader and its already there then it will be bricked until you put it back on with the st link.

kaeden
Offline
Last seen: 4 years 3 months ago
Joined: 2019-03-22 07:18
Posts: 1

we are having the same issue. have you got this working yet?

z6622726
Offline
Last seen: 3 years 9 months ago
Joined: 2019-05-11 09:27
Posts: 1

I have the exactly same issue.

Have you solved this problem?

mackattack
Offline
Last seen: 3 years 9 months ago
Joined: 2019-07-29 18:28
Posts: 2

Im also having this issue. Did you mange to find a fix without an STlink?

getlow123
Offline
Last seen: 3 years 8 months ago
Joined: 2020-07-15 14:09
Posts: 1

Same problem here, any solution yet?

Daniel

thewho
Offline
Last seen: 1 year 10 months ago
Joined: 2018-07-19 10:02
Posts: 37

Have you guys done as TechAUmNu said in post #7?