cvra / can-bootloader

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

Config reading tool #47

Closed antoinealb closed 9 years ago

antoinealb commented 9 years ago

So as discussed yesterday I implemented a small tool to read the config of a bootloader. It changes the command set of the bootloader, therefore it requires reflashing the boards before testing.

As usual, I haven't been able to test this on real hardware, so I would say do not merge yet, although I am pretty confident the code works as expected.

msplr commented 9 years ago

Looks good. I probably won't get to test it until next week. How about adding an id scan tool, which reads the config of all devices? (only 127 possible IDs) This is useful because it allows to see the state of all attached devices with one command.

antoinealb commented 9 years ago

Ok. But for the id scan I need to implement timeout on CAN datagram read, which I haven't finished yet. I will open it in another PR.