User`s guide

Target Settings
DSP56800E-Specific Target Settings Panels
70
Targeting MC56F83xx/DSP5685x Controllers
1. In the debugging M56800E Target panel, check the Use initialization file
checkbox.
2. Specify the name of the initialization file, per either substep a or b:
a. Type the name in the Use initialization file text box. If the name is not a full
pathname, the debugger searches for the file in the project directory. If the file
is not in this directory, the debugger searches on the path:
{CodeWarrior path}\M56800E Support\ initialization
directory.
b. Click the Choose button; the Choose file dialog box appears. Navigate to the
appropriate file. When you select the file, the system puts its name in the Use
initialization file text box.
Each text line of a command file begins with a command or the comment symbol #.
The system ignores comment lines, as well as blank lines.
Table 4.14
lists the supported commands and their arguments. For a more detailed
description of the Flash Memory commands see “Flash Memory Commands.”
Table 4.14 Initialization File Commands and Arguments
Command Arguments Description
writepmem
<addr> <value> Writes a 16-bit value to the
specified P: Memory location.
writexmem
<addr> <value> Writes a 16-bit value to the
specified X: Memory location.
writereg
<regName> <value> Writes a 16-bit value to the
specified register.
set_hfmclkd
<value> Writes the flash memory’s clock
divider value to the hfmclkd
register
set_hfm_base
<address> Sets the address of hfm_base.
This is the map location of the
flash memory control registers
in X: Memory.
add_hfm_unit
<startAddr><endAddr>
<bank><numSectors>
<pageSize><progMem>
<boot><interleaved>
Adds a flash memory unit to the
list and sets its parameter
values.