5.07.01 FLASHER ARM Segger Microcontroller Systems, 5.07.01 FLASHER ARM Datasheet - Page 35

PROGRAMMER JTAG FOR ARM CORES

5.07.01 FLASHER ARM

Manufacturer Part Number
5.07.01 FLASHER ARM
Description
PROGRAMMER JTAG FOR ARM CORES
Manufacturer
Segger Microcontroller Systems
Type
In-System Programmerr

Specifications of 5.07.01 FLASHER ARM

Contents
Programmer
For Use With/related Products
ARM7, ARM9, Cortex
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
899-1002
Flasher ARM (UM08007)
#FDELETE flasher.dat
#ACK
#OK
Note:
respond with the following sequence:
#ACK
#ERR255:Failed to delete file
#FWRITE <Offset>,<NumBytes>:<Data>
The #FWRITE command is used to write to a file on Flasher. <Offset> specifies the
offset in the file, at which data writing is started. <NumBytes> specifies the number of
bytes which are send with this command and which are written into the file on
Flasher. <NumBytes> is limited to 512 bytes at once. This means, if you want to write
e.g. 1024 bytes, you have to send the #FWRITE command twice, using an appropriate
offset when sending it the second time.
<Offset> and <NumBytes> are expected in hexadecimal format.
#FWRITE 0,200:<Data>
#FWRITE 200,200:<Data>
The data is expected in hexadecimal format (two hexadecimal characters per byte).
The following example illustrates the use of #FWRITE:
Data to be send: Hello !
ASCII values: 0x48, 0x65, 0x6C, 0x6C, 0x6F, 0x20, 0x21
#FWRITE 0,7:48656C6C6F2021
Note:
#FOPEN command, first. Otherwise Flasher will respond with the following sequence:
#ACK
#ERR255:No file opened
#FREAD <Offset>,<NumBytes>
The #FREAD command is used to read data from a file on Flasher. <Offset> specifies
the offset in the file, at which data reading is started. <NumBytes> specifies the num-
ber of bytes which should be read.
A typical sequence when using the #FREAD command does look like as follows:
#FREAD 0,4
#ACK
#OK:04:466c6173
If the #FREAD command succeeds, Flasher will finally respond with a #OK:<Num-
Bytes>:<Data> reply message. For more information about the Flasher reply mes-
sages, please refer to Reply from Flasher ARM on page 36.
Note:
the #FOPEN command. Otherwise Flasher will respond with the following sequence:
#ACK
#ERR255:No file opened
#FSIZE
The #FSIZE command is used to get the size of the currently opened file on Flasher.
A typical sequence when using the #FSIZE command does look like as follows:
#FSIZE
#ACK
#OK:10
If deletion of the file fails for example if the file does not exist, Flasher will
In order to use the #FWRITE command a file has to be opened via the
In order to use the #FREAD command. A file has to be opened before, via
// file on flasher which is currently open, has a size of 16 bytes
© 2004-2009 SEGGER Microcontroller GmbH & Co. KG
35

Related parts for 5.07.01 FLASHER ARM