Teleorigin RB900 Series User Manual page 41

Hide thumbs Also See for RB900 Series:
Table of Contents

Advertisement

#SD – SD card status
AT#SD?
Example
16.5. SDRBLOCK read data block from memory card - #SDRBLOCK
#SDRBLOCK – Read data block from memory card
AT#SDRBLOCK=
<sector>
Example
41
Read current sd card state in format:
#SD: <n>,<size>
where:
<n>
0 - sd card not detected
1 - sd card initialized
2 - sd card initialization failed
<size> - number of sectors in user area, hexadecimal format.
AT#SD?
AT#SD: 1,001E4600
OK
Read one sector (512 bytes) from memory card
Parameter:
<sector> - sector address to read, ascii hexadecimal format (max 8
characters)
The microcontroler shall prompt a five character sequence:
<<<
<CR><LF><less_than><less_than><less_than>
followed by the sector content in binary format.
Read 6836th sector from memory card:
AT#SDRBLOCK=1AB3
<<<0123456789abcdef0123456789abcdef0123456789abcdef012345678
9abcdef0123456789abcdef0123456789abcdef0123456789abcdef012345
6789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012
3456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef

Advertisement

Table of Contents
loading

Table of Contents