| |||
| Home > Configuring Custom Targets > Creating new target descriptions | |||
This section explains how to create variations of existing configurations and new target descriptions. Creating new target descriptions, rather than modifying existing entries, provides certain advantages, for example:
if you define the addresses of I/O registers, and the bit fields within them, the debugger can display tabs in the Register pane enabling GUI access to these values
if you define a memory map, the debugger can check that memory is used correctly, including refusing to load programs where there is no memory, and automatically invoking Flash memory programming routines.
If you want to create and use a new target description, you must:
Create a new .bcd file
to store the configuration. The recommended way to do this is to
base the new file on an existing file stored in the default settings
directory, see Creating a new .bcd file for
details.
Create and name a BOARD, CHIP,
or COMPONENT group for the configuration. Which group
you use depends on the type of hardware you are describing.
Define the CONNECTION entry to specify the access method used to connect to the new target.
For examples that describe how to create new CONNECTION entries,
see Example descriptions.
Link the new target definition to the CONNECTION group
that the target uses.
The rest of this section describes how to configure the new target, that is:
For information about how these different configuration groups interact, that is configuration settings, the board file, and any linked Board/Chip definition files, see Managing configuration settings.