C:\Tools>crt_emu_lpc18_43_nxp --help
Usage:
crt_emu_lpc18_43_nxp [-v | -info-x | -flash-x] [arguments]
Standalone use (without GDB):
-v Display version and build date information only.
-info-target Connects to target (without stopping) and returns
information on processor and chip. Format will be XML if
-mi specified, else text. Same as 'mon info,all' in GDB.
-info-emu Show list of emulators possible.
-info-scan List devices on shared scan chain. The output from this
command can be used as the file for the '-scan=' option
provided all IR lengths are known, and a '*' is appended
to the IR Length value of the device to connect.
-flash-x Perform operation on flash and then quit. 'x' is one of:
driver load external flash driver
(e.g. -flash-driver="<path>\LHF00L28.cfx"
erase erase all flash page by page
mass mass erase all flash
load=file erase/load ELF file to target (e.g. '-flash-load=test.axf')
load-exec=file erase/load ELF file to target and start code execution from
reset
Note: Flash options may need -p, -c, and/or -x to be used.
protect= Set flash read protection level (e.g. -flash-protect=1)
Note: Restricted for use with -flash-load option. Accepts a
comma-separated list (e.g. LMI FMPPEn|FMPREn).
-load-base=x Base address/offset of binary file. Use with '-flash-load'.
May be specified in hex or decimal (e.g. '-load-base=0x200')
Arguments for use with GDB (in 'target extended-remote |' command):
-p Set 'package' (chip and/or board, e.g. -pChipName. Package
implies XML file name or entry in XML file for chip/board.
Note: This argument is not needed for certain auto-detect
chips (e.g. LMI).
-c Set xtal speed for chip, if needed, and optionally PLL (KHz)
(e.g. -c8000[,50000])
-lfile Log file enable (e.g. '-lFileName'). If no file is given,
log output is stderr (also default if -# used without -l).
-# Log level. Default is Comms (1). Levels are:
0=none, 1=comms, 2=+target, 3=+parse-errs, 4=+commands
-e Select emulator by number 0-9 if more than one is available
(see '-info-emu')
-s Maximum emulator speed (KHz) (e.g. -s1000)
Note: Defaults to auto-detect.
-xpath Set path for XML files (and other chip/board data files)
(e.g. -xc:\xml)
-g Progress meter for extended operations (e.g. flash load)
-mi Assume GDB communication via MI. Output will be for
Eclipse consumption vs. user readable.
-reset= Cortex-M reset method. Default is SYSRESETREQ, specified as
'-reset=system'. VECTRESET is '-reset=core'.
-rd=ddd Reset delay time in milliseconds after nSRST release
Note: This is a stablize period before debug connect.
-rh=hhh Reset hold time in milliseconds for nSRST assert
-scan= ASCII configuration file for shared JTAG scan chains
(e.g. -scan=C:\Projects\scanconfig.txt)
-wire= Wire type. Supported types are jtag (ARM7/ARM9 default),
swd (CM0/CM3 default), hid, and winusb. Compound types
include winusbjtag, hidswd, etc.
-swv-port= Set SWV server port (e.g. -swv-port=9990)
-server= Server mode (socket) with host:port or :port
-vc Reset vector catch (simulated on some parts) |