Changes between Version 27 and Version 28 of Stuff/FirmwareUpdate
- Timestamp:
- 11/22/10 18:49:07 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Stuff/FirmwareUpdate
v27 v28 20 20 21 21 * now we have around one second time to send messages over ibus to set bootloader into "Firmware Update" mode: 22 * send "Activate_Update_Mode" message incl. a password must have a length of 12 bytes: FF 10 F0 FA FF pp pp pp ...pp chk (password is specific to every OpenBM unit)22 * send "Activate_Update_Mode" message incl. a password must have a length of 4 bytes: FF 08 F0 FA FF pp pp pp pp chk (password is specific to every OpenBM unit) 23 23 24 * if password was correct bootloader answer with: F0 05 FF FB hh ll chk, where hhll is a 16bit number representing the sum of all password bytes:24 * bootloader answer with: F0 05 FF FB hl chk, where hl is a 8bit number of xored password bytes sent previously: 25 25 * bootloader is activated and Yellow LED lights on 26 26 * bootloader is deactivated if it not receive any firmware code chunks for the next 10 seconds (If boot loader is deactivated, Yellow LED turns off) 27 27 * bootloader is also deactivated, when full firmware code was transmitted (see next section of how to transmit firmware) 28 * bootloader is always accepting firmware, even if password was incorrect. At the end of firmware uploading process bootloader submits a CRC-16 checksum of send decoded/written firmware. This must be checked against the checksum received with the firmware, if it was incorrect the firmware must be retransmitted. 29 28 30 29 31 '''Programming'''