Help with Focbox firmware / bootloader upgrade [VESC TOOL]

Now I need help to connect the ST Link to the Focbox to upload the correct firmware.

Once you upload the bootloader, you need to upload via the custom fw again

I just did it, samething. Iā€™m looking for the procedure to connect the ST Link to FocBox, canā€™t find it anywhere

I found this procedure from a post by @Trampa but the FocBox does not have these pin labels:

image

On the Focbox I only have these pins:

20180913_182336

Someone thought the customer doesnā€™t need access to the SWD and saved a bit on costā€¦ Itā€™s only on the PCB, you need to solder on some cable after opening the device. Make sure to replace the heat pad when re-assembling the unit. Buy the good stuff, 5Wmkā€¦

In case you didnā€™t already solved it, here you need to connect image

@Andy87 thanks a lot for your help

I was able to connect the FocBox to the ST Link, here is some usuful information in case someone uploads an incorrect firmware to his FocBox in the future.

  1. If you get the message ā€œCan not connect to targetā€ on ST Link software is because, in addition to the 4 wires to the ST Link (RST, CLK, SWDIO and GND), you need to power on the VESC.

97cd74bf-29f5-42ba-9250-af1bd38697a9

  1. You need to flash not only the Bootloader but the firmware, use the same method than when flashing the HEX bootloader file but select the the 4.12V firmware downloded from here
4 Likes

@Eboosted where can i get the HEX bootloader file?

I think this is the link

http://vedder.se/forums/download/file.php?id=6&sid=a6b085428455d0f9a617d880da259517

1 Like

Thanks, found it yesterday.

This link isnā€™t working for me. I get this error saying the file is unable to be delivered.