📄 rdimajic.cfg
字号:
/* RDI Configuration File for EPI's RDIMajic interface */
//----------------------------------------------------------------------------
// Created by MAJIC Setup Wizard version 2.0
// Creation Date: 7/30/2002 10:24:55
// Processor type: ARM922T
// Project: LH7A400
//
//
// Some Basic definitions:
//
// *String is a string value. It must be enclosed in double quotes ("),
// unless it is a valid identifier (starts with alphabetic or underscore,
// contains only alphanumerics and underscore).
// *Number is a numeric value, conforming to C language syntax.
// Anything else is a keyword and must be entered as shown, except that
// case is not significant.
//
// The configuration file consists of one or more Device Definitions,
// followed by one or more Controller Definitions, followed by one or more
// Target Group Definitions.
//
//----------------------------------------------------------------------------
//
//----------------------------------------------------------------------------
// Device Definition Section
// Associates the device identification data required by the RDI
// API with an arbitrary device name. All entries are required.
// NOTE: EPI's RDIMajicLib does not make use of any of these values
// except Endian and EPIcpuid. You are free to supply whatever
// values your debugger may be expecting.
//
// Syntax:
//
// Define Device DevIDString
// Family FamilyString
// Class ClassString
// ISA ISAString
// Part PartString
// Vendor VendorString
// Endian { Big | Little }
// EPIcpuid CPUString
//
// The CPUString value is the EPI-specific CPU type as specified with the
// "-v" command line option when running an EPI debugger.
//
//
//----------------------------------------------------------------------------
Define Device ARM922T
Family "CPU"
Class ARM
ISA ARM922T
Part "ARM922T"
Vendor ARM
Endian little
EPIcpuid "arm922t"
//
//
//
//----------------------------------------------------------------------------
// Controller Definition Section
// Associates a set of configuration information for a particular EPI
// development tool (ICE, RSS, ISS, etc) with an arbitrary controller
// name.
//
// Syntax:
//
// Define Controller ControllerIDString
// Port PortString
// Speed SpeedNumber
// CommandFile PathString
//
// PortString is the EPI-specific device name used to communicate with
// the ICE or RSS debug kernel, as specified with the "-d" (MON) or "-t"
// (EDB) command line option when running an EPI debugger.
//
// SpeedNumber is the EPI-specific baud rate value to use when PortString
// specifies a serial interface. Valid values are 0 (1200 baud) through
// 7 (155,200 baud).
//
// PathString is the full or relative path name of a command file that will
// be processed automatically when a device using this controller definition
// is opened. The command file is intended to contain commands that will
// properly initialize and configure the target system, similarly to the
// "startice.cmd" file automatically run at startup by EPI debuggers.
// If PathString is empty (""), there will be no startup command file
// processing.
//
//----------------------------------------------------------------------------
//
Define Controller SHARP_COM1
Port "COM1"
Speed 7
CommandFile "startice.cmd"
// PROGRAM THIS ADDRESS FOR YOUR DEVICE!
Define Controller SHARP_ENET1
Port "172.29.217.232:e"
Speed 0
CommandFile "startice.cmd"
//----------------------------------------------------------------------------
// RDI Device Definition Section
// Defines the set of "RDI Devices" that are available to be connected to.
// Each "RDI Device" consists of an identifying string that the debugger
// will display when allowing the user to select what target system they
// want to connect to, and a previously defined device and controller to
// associate with the RDI Device.
//
// Syntax:
//
// Define RDIDeviceList
// DevName DevNameString
// Device DevIDString
// Controller ControllerIDString
// ...
//
// The first DevName specification becomes the default selection
//
// DevNameString is the descriptive string that will be passed to the
// debugger for display to the user to identify the Device. Each
// RDIDevice should have a unique string.
//
//----------------------------------------------------------------------------
Define RDIDeviceList
DevName "ARM922T via COM1"
Device ARM922T
Controller SHARP_COM1
DevName "ARM922T via ethernet"
DefaultDevice
Device ARM922T
Controller SHARP_ENET1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -