You are here

Firmware failure? Updating BLE trough SWD fails

4 posts / 0 new
Last post
dk-odense
Offline
Last seen: 12 months 20 hours ago
Joined: 2017-09-06 08:01
Posts: 8
Firmware failure? Updating BLE trough SWD fails

Hi Frank and Benjamin

I tried to follow your advice Frank, and watched benjamins video, like you described here: https://vesc-project.com/node/1425

Sadly the SWD "internal" 75/300 programming og the built in BLE module doesn't work. Connected the IO to IO and CLK to CLK and it doesn't​ find anything.



I know i am doing it right, because if i am using another vecs six to connect to the SWD port of the 75/300, it connects and show me the different firmware version. I also tried connecting to a external trampa BLE module the same way, but this was also without success. So the fact is, that i am able to connect to the SWD in the vesc it self, but not the BLE modules.



 

frank
Offline
Last seen: 6 days 8 hours ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 846

Probablay the VESC is a R2 and has the R1 Firmware installed. Please intall the R2 Firmware.To do so, you can open the custom file tab, choose the Firmware below and upload it. After that the BLE should work.

https://github.com/vedderb/vesc_tool/blob/master/res/firmwares/75_300_R2...

dk-odense
Offline
Last seen: 12 months 20 hours ago
Joined: 2017-09-06 08:01
Posts: 8

Hi Frank

This worked. Builtin BLE is now working, but instead now the UART communication is lagging :-D

I run with a so called "DavegaX" display for voltage and speed (davega.eu) using the UART port. 

With firmware R1 (where builtinn BLE did not work) the uart communication was running.



Now with R2 firmwire, the communication fails. Any difference in the UART communication between R1 & R2?





 

frank
Offline
Last seen: 6 days 8 hours ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 846

Nice Cart, I love the Youtube Video! Benjamin is the man to answer your question. Did you also update the builtin Dongle via SWD Prog?