cvra / can-bootloader

The bootloader used to flash our CAN-connected boards
BSD 2-Clause "Simplified" License
146 stars 51 forks source link

Client bootloader flash timeout with big firmware. #53

Closed msplr closed 9 years ago

msplr commented 9 years ago

The client constantly times out in the firmware verify step when trying to flash a big firmware ~200K. A longer timeout should be set for this step. (probably as a function of the binary length)

antoinealb commented 9 years ago

An alternative would be to change https://github.com/cvra/can-bootloader/blob/master/client/bootloader_flash.py#L99 to a continue statement, since the online boards are checked earlier. What do you think ?

antoinealb commented 9 years ago

Ah no, that would not work. Working on a fix now.

antoinealb commented 9 years ago

So I pushed a fix in #55. Can you try it and see if it fixes the bug in your use case ?