
2
System Setup
Figure 2.5: FlashRunner Control Panel, File Transfer
Click the
“...”
button to browse for the image file to be sent, then click
“Start”
to begin the transfer. The file will be saved to the FlashRunner
SD card, in the
\BINARIES
folder.
8. We are now ready to start the actual programming part. Send the
following commands:
TPSETSRC FILE DEMO.FRB
TPSTART
TPCMD SETPWD CONST $FF $FF $FF $FF $FF $FF $FF $FF
TPCMD MASSERASE F
TPCMD BLANKCHECK F $EE00 4608
TPCMD PROGRAM F $EE00 $EE00 4608
TPCMD VERIFY F S $EE00 $EE00 4608
TPEND
The data to be programmed is taken from the image file starting at
$EE00 (offset from the beginning of the file), is programmed to the
target microcontroller starting from the location $EE00 and is 4608
bytes long.
The
TPSETSRC
command specifies the source file for the
TPCMD
PROGRAM
e
TPCMD VERIFY
commands that come next. All the actual
programming operations are sent between a
TPSTART
and
TPEND
command. The
TPCMD SETPWD
command sets the security bytes
needed to perform subsequent operations.
After sending these commands, the Control Panel will look like the
figure below.
24