Data Sheet

ams Datasheet Page 25
[v1-00] 2016-Dec-23 Document Feedback
CCS811 − Bootloader Register Overview
Registers not detailed below are documented in the
Application Register Overview section.
APP_ERASE (Application Erase) Register (0xF1)
To prevent accidental APP_ERASE a sequence of four bytes must
be written to this register in a single I²C sequence: 0xE7, 0xA7,
0xE6, 0x09.
The APP_ERASE can take a variable amount of time. The status
register can be polled to determine when this function is
complete. The 6
th
bit (0x40) is initialised to 0 and set to a 1 on
completion of the APP_ERASE function. After an erase this bit
is only cleared by doing a reset or starting the application.
APP_DATA (Application Data) Register (0xF2)
Nine byte, write only register for sending small chunks of
application data which will be written in order to the CCS811
flash code.
APP_VERIFY (Application Verify) Register
(0xF3)
Single byte write only register which starts the application
verify process run by the bootloader to check for a complete
application code image. Command only needs to be called once
after a firmware download as the result is saved in a flash
location that gets checked during device initialisation.
The APP_VERIFY can take a variable amount of time. The status
register can be polled to determine when this function is
complete. The 5
th
bit (0x20) is initialised to 0 and set to a 1 on
completion of the APP_VERIFY function. After an APP_VERIFY
this bit is only cleared by doing a reset or starting the
application.
For details on downloading new application firmware please
refer to application note ams AN000371.
APP_START (Application Start) Register (0xF4)
To change the mode of the CCS811 from Boot mode to running
the application, a single byte write of 0xF4 is required.
The CCS811 interprets this as an address write to select the
APP_START’ register and starts running the loaded application
software if it is a valid version (Refer to the STATUS Register
(0x00)).