You are here

Firmware 3.37 too old, unable to Connect VESC_Tool

3 posts / 0 new
Last post
Nico Isn
Offline
Last seen: 6 years 4 weeks ago
Joined: 2018-04-13 14:59
Posts: 2
Firmware 3.37 too old, unable to Connect VESC_Tool

Hello,

I have a vesc 6 to use it on an electric bike. I wanted to add an option to configure only the max current and the max ERPM by UART in order to control via a raspberry Pi.

I just started by adding the lines in commands_process_packet function, in command.c :

    // check if the code comes here
    send_buffer[ind++] = packet_id ;
    commands_send_packet(send_buffer, ind);

I wanted to catch the packet_id and send it back to my Pi to check if it comes here and the value. Anyway, I don't think that's causing my problem.

I've made make and then I launched the rebuild_all script in build directory to be sure.

Finally, I used VESC_Tool to upload the firmware VESC_defaut.bin of the 60 folder on the vesc and it completed well. But after the vesc reset, VESC_tool shown an error :

     The firmware on the connected VESC is too old. Please update it using a programmer.

I don't understand why because it seems like it can read the right version 3.37 supported but it seems like it's not ok anyway. So, I'm stuck with a vesc unable to connect to VESC_Tool and I wait for the programmer I ordered hoping to be able to flash a firmware again.

Did I do something wrong ? Can you give me advices for the next step ?

benjamin
Offline
Last seen: 1 week 4 days ago
VESC FreeVESC OriginalVESC Platinum
Joined: 2016-12-26 15:20
Posts: 490

You should get a SWD programmer if you want to do development. The firmware update from VESC Tool only works if the firmware is intact, and while you do development you naturally make mistakes.

Nico Isn
Offline
Last seen: 6 years 4 weeks ago
Joined: 2018-04-13 14:59
Posts: 2

Ok I thought the Custom File tab in VESC_Tool was made for that ! I've found a programmer today and I've reflashed the original firmware. It works fine again, thank you very much Benjamin.