matthiasbock / cvra-bootloader

CAN-Bootloader of the Club Vaudois de Robotique Autonome
BSD 2-Clause "Simplified" License
0 stars 1 forks source link

Problems with bootloader node enumeration when non-bootloader traffic is present on the CAN bus #5

Closed matthiasbock closed 6 years ago

matthiasbock commented 6 years ago

The bootloader_invoke.exe from commit 112303a31eb4f7a802e00752f48a090149959639 (packaged on Windows 7 64-Bit and run on Windows 8 64-Bit) fails to invoke the bootloader whenever other frames are being transmitted onto the CAN bus by third party nodes. Similarly the bootloader_flash.exe fails to ping the target bootloader nodes and won't commence to erase and flash.

matthiasbock commented 6 years ago

The issue can be reproduced on Linux by injecting frames using a second CAN adapter:

while [ 1 ]; do cansend can1 123#11223344; sleep 0.2; done

and simultaneously attempting to flash a binary using bootloader_flash.py on a platform with previously (successfully) invoked bootloader.

matthiasbock commented 6 years ago

Successfully tested on a Windows 8 64-Bit machine.