Changes between Version 1 and Version 2 of Burt-Research/FWUpdate
- Timestamp:
- Nov 29, 2016, 8:50:11 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Burt-Research/FWUpdate
v1 v2 5 5 == Installing btflash == 6 6 7 To upgrade you first need to install btflash. This will only need to be done the first time you upgrade if you don't have btflash installed. To check if you have this installed open up a terminal and type {{{btflash --version}}} 7 Before upgrading the first time, you must install btflash. To check if you have btflash installed open up a terminal and type 8 {{{ 9 btflash --version 10 }}} 8 11 9 If you have btflash you will get a response similar to th e below text. Please note that the version number may be different.12 If you have btflash you will get a response similar to this: 10 13 11 {{{btflash, version 0.2.0}}} 14 {{{ 15 btflash, version 0.2.0 16 }}} 12 17 13 To install btflash follow the installation instructions in the first section from our btflash repository. Do not follow the "setting up for development" section: https://git.barrett.com/software/btflash. You need to be connected to the internet to install btflash. 18 Please note that the version number may be different. 19 20 To install btflash, follow the installation instructions in the first section from our btflash repository ([[https://git.barrett.com/software/btflash | link]]), but skip the "setting up for development" section. You need to be connected to the internet to install btflash. 14 21 15 22 == Setting up CAN == 16 23 17 Before using btflash you will need to guarantee that the CAN adapter is plugged in and then run the following commands. These commands will configure:24 Before using btflash, you will need to guarantee that the CAN adapter is plugged in and then run the following commands. To configure CAN, type: 18 25 19 26 {{{ … … 22 29 }}} 23 30 31 == Upgrading == 24 32 25 33 To perform an upgrade you will need a .bin file provided by Barrett. You can carry out the upgrade using the following series of commands: … … 30 38 }}} 31 39 32 For some context the Main Board, which is what runs the control firmware and ROS talks to, has an id of 10. In the above series of commands you are telling btflash to flash, write to the program memory of the device, the firmware from the defined file to the device with id 10. The reset commands provides a soft reset for the firmware on the Main Board. You should not need to power cycle, but if issues occur a power cycle is recommended.40 For some context the Main Board, which is what runs the control firmware and talks to ROS, has an id of 10. In the above series of commands you are telling btflash to flash, write to the program memory of the device, the firmware from the defined file to the device with id 10. The reset commands provides a soft reset for the firmware on the Main Board. You should not need to power cycle, but if issues occur a power cycle is recommended. 33 41 34 42 You should follow these instructions for both consoles to upgrade both Main Boards. You may use the same console USB port, but you will need to plug the USB to CAN adapter into the CAN Service port on the front of both consoles to perform the upgrade.