Changes between Version 1 and Version 2 of Stuff/FirmwareUpdate
- Timestamp:
- 10/13/10 23:36:24 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Stuff/FirmwareUpdate
v1 v2 5 5 As the firmware we call the software running on the OpenBM device, so which is programmed into the uC to control the button fields. Here I would like to show a protocol which I developed in order to update the firmware of the OpenBM device through IBus. Hence no extra hardware is required. A special application can send the firmware using this protocol to the OpenBM device. If sending was ok, no error, then the firmware will be written to the device flash. 6 6 7 == Protocol == 8 7 == Bootloader == 8 Since I am using AVR ATmega32 as the uC the update of the firmware can only be done in the bootloader mode. Special code is written to the bootloader section of the uC and is executed on the start or reset. The bootloader checks for special commands and if nothing received it passes the execution to the main software. So in order to activate bootloader mode on the OpenBM device we do following: 9 * reset OpenBM: 10 * manually: hold MENU+SELECT+EJECT and the release MENU 11 * ibus command: F0 07 .. FA BA AD FE ED ..