Hello everyone,
I have a homemade VESC 6 (with some hardware difference) and I'm having trouble programing the MCU (STM32f405).
I would like to upload a bootloader so I can then update my VESC from VESC Tool. Can I upload the boatloader of VESC 6(from Benjamin's Github) or do I need to rebuild the bootlaoder with my hardware specs ?
Can someone also remind me how to uplaod a bootlaoder to the MCU ? I found multiple tutorials online but I don't know which to follow..
Thank you very much
Jessica
Hi Jessica
I think that's the Best practice way: https://www.vesc-project.com/node/269
Cheers
Sam
Pedelec usage in combination with a GoldenMotor MagicPie3 BLDC
Hi Sam
Thanks for the answer, but sorry I'm not asking how to upload a custom firmware, I'm asking how to upload the firmware to a new vesc with no firmware on it.
I can't connect my Vesc to Vesc tool if it doesn't have the firmware on it.
Jess
Hi Jess
ah yes I see. I guess that's the time for the ST JTAG Suite. With that and the ST Software you are able to access the uC and its ROM/RAM/FLASH at will. There are quite a number of that Kits available. The simplest one is the 10EUR ST Link V2. I never programmed the VESC at that level, but I do similar jobs on Routers and Li Chargers where an update can sometimes go seriously wrong.
Cheers
Sam
Pedelec usage in combination with a GoldenMotor MagicPie3 BLDC
Best way is to compile the main VESC Firmware and upload it using ST-Link Utility and an ST-Link V2. You can upload the boot loader from VESC Tool after you get it connected via usb.
Thank you very much Sam and TechAUmNu,
so It won't cause a problem if I upload the bootlaoder of the Vesc 6 ? I don't have the exact same hardware as Vesc 6 ( i use a drv8323 for instance).
I'm asking because I know there is multiple bootlaoder versions and I don't know if I can use one of them or if I need to recompile it with my specs ? and I'm not sure how to do it if I have to recompile it.
Thanks again
Jess
You can use the VESC6 one just fine, since its just over USB and those pins don't change.
thank you very much for your help, I'll try that.