Changes between Version 16 and Version 17 of Stuff/FirmwareUpdate


Ignore:
Timestamp:
11/16/10 20:46:38 (13 years ago)
Author:
art
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Stuff/FirmwareUpdate

    v16 v17  
    1212 
    1313 * OpenBM send version information of currently flashed program as a message over the ibus: 
    14    * openbm send: F0 len FF FB 01 12 rr rr rr rr chk (major version 8bit = 1:01, minor version 8bit = 18:12 -> 1.18, rr - reserved bytes) 
     14   * openbm send: F0 len FF FB 01 12 d3 d2 d1 d0 rr rr rr rr chk (major version 8bit = 1:01, minor version 8bit = 18:12 -> 1.18, d0-d3: device id as 32bit number, rr - reserved bytes) 
    1515 
    1616 * now we have around one second time to send messages over ibus to set bootloader into "Firmware Update" mode: 
    1717   * send "Activate_Update_Mode" message incl. a password of up-to a variable length of up-to 128 bytes: FF 24 F0 FA FF pp pp pp ... pp chk (password is specific to every OpenBM unit) 
    1818  
    19  * if password was correct bootloader answer with: F0 05 FF FB hh ll ss chk, where hhll is a 16bit number representing the sum of all password bytes and ss is a size in bytes of maximal possible chunk size when programming (every chunk sent later must of this size except of the last chunk, which can have smaller size) 
     19 * 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: 
    2020   * bootloader is activated and Yellow LED lights on 
    2121   * 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)