The following are the steps in the EEPROM programming process:
HCI_Reset
command to the BM78 module to activate the EEPROM
read/write operation, and, then, send the HCI_EEPROM_PAGE_WRITE_NUM
command to set the EEPROM parameter.HCI_EEPROM_WRITE
command for the EEPROM setting update, and use
the HCI_E2PROM_READ
to read back the EEPROM setting for
verification.Mode | Switch Positions | Pin Definition | |||
---|---|---|---|---|---|
1/P2_0 | 2/P2_4 | 3/EAN | |||
Flash | Write Flash |
|
ON | ON | ON |
ROM | Test (Write EEPROM) |
|
ON | OFF | ON |
Application (default) |
|
OFF | OFF | ON | |
Flash | Test (Write EEPROM) |
|
ON | OFF | OFF |
Application (default) |
|
OFF | OFF | OFF |