EG_GenLoc31e_988_CL_002_UK
Page 20 / 22
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
2.3.5
AT+SFBP – Display / modify Block Protection bits
This command will display or modify the block protection bits in the status register. Note that the WEL bit
must be set (enabled) before attempting to modify the BP bit(s). Also, the WEL bit must be set (enabled) and
the appropriate BP bit(s) must be cleared (unprotected) before attempting to modify the memory.
Syntax: AT+SFBP=<n>
<n>
0 Unprotected
1 Protected
Examples :
Command
Possible Responses
Notes
AT+ SFBP
AT+SFBP=x (0=Unprotected, 1=Protected)
OK
Display syntax
AT+SFBP=1
OK
Set all BP bits to 1
AT+SFBP=0
OK
Set all BP bits to 0
AT+SFBP?
+SFBP: 0
OK
Display current value of BP
bits. In this case 0
2.3.6
AT+SFWRTEXT – Write ascii text string to memory
This command will write an ascii text string to the serial flash memory. Note that the WEL bit must be set
(enabled) and the appropriate BP bit(s) must be cleared (unprotected) before attempting to modify the
memory.
Syntax: AT+SFWRTEXT=<n>,“ascii text”
<n>
Start address (0 to maximum memory size (decimal value)
“ascii text”
ascii text string
Example :
Command
Possible Responses
AT+SFWRTEXT=50,”An ascii text string”
20 bytes written to address 0x00000032
OK
Note: The ascii text string is written to the flash starting
at address 50 (0x00000032)