vedderb / nrf51_vesc

BLE-UART bridge for the VESC with packet handling and VESC Tool compatibility
57 stars 35 forks source link

Missing compiled hex files #3

Closed sjaghori closed 5 years ago

sjaghori commented 5 years ago

Hi Benjamin,

can you please add the other hex files too?

Val1337 commented 5 years ago

Joining to the request.

vedderb commented 5 years ago

You can also upload the bin files, which are included. I think all you need to do is change the file name in the upload script and it should work.

Another thing you might be interested in is that the latest version of VESC Tool and the VESC firmware can be used as an SWD programmer, for programming the NRF5 among other chips. If you connect swdio, swclk and gnd (and 3.3v if the NRF has no other supply) from the VESC to the same pins on the NRF51, you can go to the SWD programmer tab in VESC Tool and click connect. If the connection is successful VESC Tool will list compatible firmware for the NRF, and you can pick one to upload. The RX and TX names of the NRF, as well as the xtal freq, are part of the file name. The softdevice will be uploaded too, and there are also firmware included for the NRF52832 and the NRF52840.

sjaghori commented 5 years ago

thanks, I'll give it a try