Serial Flash commands. Erco&Gener Genloc 31e
EG_WS0008_CL_020_FR Page 63 / 70
3.3 Serial Flash commands
Ces commandes permettent d'accéder à la mémoire flash série optionnel. Voir la data sheet pour plus d’information sur le type de flash utilisé.
3.3.1 AT+SFHELP – Afficher liste des commandes mémoire flash série
Description:
Cette commande affichera les commandes disponibles pour accéder et gérer la mémoire flash série.
Syntaxe:
AT+SFHELP
Exemple:
Commande Réponses Possibles
AT+SFHELP
------------------------- SERIAL FLASH -------------------------
AT+SFHELP.................Display list of commands
AT+SFTYPE.................Display manufacturer, memory size and erase block size(s)
AT+SFSR...................Display Status Register
AT+SFWRTEXT=addr,"text"...Write an ascii text to the address addr
AT+SFRD=start,length(,a)..Read length bytes from start address, (a=1: ascii dump)
AT+SFWEL=x................Display or modify Write Enable Latch bit: 0=Disabled,
1=Enabled
AT+SFBP=x.................Display or modify Block Protection bits: 1=Protected,
0=Unprotected
AT+SFEB=x(,s).............Erase block, size (default 64Kbytes)
AT+SFECHIP................Erase entire memory
OK
Note: Commandes mémoire flash série
3.3.2 AT+SFTYPE – Type mémoire
Description:
Cette commande affichera le fabricant, type, taille mémoire et taille des blocs en octets de la mémoire flash série (si présente).
Syntaxe:
AT+SFTYPE
Exemples:
Commande Réponses Possibles
AT+SFTYPE
------------- SERIAL FLASH -------------
Manufacturer: SST (0xBF), Type: SST25VF016B
(0x2541)
Afficher des informations sur la mémoire flash série
Size: 2097152 Bytes
Erase Blocks: 64KB 32KB 4KB
OK
détectée
AT+SFTYPE
No Serial Flash detected
OK
Pas de flash série présente
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.

Public link updated
The public link to your chat has been updated.