Content originally posted in LPCWare by micrio on Mon Apr 26 05:33:36 MST 2010
I found the help screen of the stub driver which lists the speed flag but I see no change on the SWDCLK signal using a scope. Does the -c flag, CPU speed, have any effect on the line speed?
[FONT=Courier New]$ ./crt_emu_lpc11_13_nxp.exe -h[/FONT]
[FONT=Courier New]Usage:[/FONT]
[FONT=Courier New]c:\nxp\lpcxpresso_3.3.4\bin\crt_emu_lpc11_13_nxp.exe [-v | -info-x | -flash-x][/FONT]
[FONT=Courier New][arguments][/FONT]
[FONT=Courier New]Standalone use (without GDB):[/FONT]
[FONT=Courier New]-v = Display version and build date information only.[/FONT]
[FONT=Courier New]-info-target = Connects to target (without stopping) and returns[/FONT]
[FONT=Courier New]information on processor and chip. Format will be XML if[/FONT]
[FONT=Courier New]-mi specified, else text. Same as 'mon info,all' in GDB[/FONT]
[FONT=Courier New]-info-emu = Show list of emulators possible.[/FONT]
[FONT=Courier New]-flash-x = Perform operation on flash and then quit. 'x' is one of:[/FONT]
[FONT=Courier New]erase = erase all flash page by page[/FONT]
[FONT=Courier New]mass = mass erase all flash[/FONT]
[FONT=Courier New]load=file = erase/load ELF file onto target (e.g. -flash-load=test.axf)[/FONT]
[FONT=Courier New]Note: all flash ops may need -p, -c, and/or -x to be used[/FONT]
[FONT=Courier New]protect= = set flash read protection level (e.g. -flash-protect=1)[/FONT]
[FONT=Courier New]Note: Restricted for use with -flash-load option. Accepts a[/FONT]
[FONT=Courier New]comma-separated list (e.g. LMI FMPPEn|FMPREn).[/FONT]
[FONT=Courier New]-load-base=x = base address/offset for binary file provided with -flash-load.[/FONT]
[FONT=Courier New]May be specified in hex or decimal (e.g. -load-base=0x200)[/FONT]
[FONT=Courier New]Arguments for use with GDB (in 'target extended-remote |' command):[/FONT]
[FONT=Courier New]-p = Set 'package' (chip and/or board, e.g. -pChipName. Package[/FONT]
[FONT=Courier New]implies XML file name or entry in XML file for chip or board.[/FONT]
[FONT=Courier New]Note: This argument is not needed for auto-detectable chips[/FONT]
[FONT=Courier New](e.g. LMI).[/FONT]
[FONT=Courier New]-c = Set xtal speed for chip, if needed, and optionally PLL (KHz)[/FONT]
[FONT=Courier New](e.g. -c8000[,50000]).[/FONT]
[FONT=Courier New]-lfile = Log file enable (e.g. -lFileName). If no file given, then it[/FONT]
[FONT=Courier New]is to stderr (also default if -# used without -l).[/FONT]
[FONT=Courier New]-# = Log level. Default is Comms (1). Levels are:[/FONT]
[FONT=Courier New]0=none, 1=comms, 2=+target, 3=+parse-errs, 4=+commands[/FONT]
[FONT=Courier New]-e = Select emulator by number 0-9, when more than one is available[/FONT]
[FONT=Courier New](see -info-emu).[/FONT]
[FONT=Courier New]-s = Maximum emulator speed (in KHz). Defaults to auto-detect.[/FONT]
[FONT=Courier New](e.g. -s1000)[/FONT]
[FONT=Courier New]-xpath = Set path for XML files (and other chip/board data files).[/FONT]
[FONT=Courier New](e.g. -xc:\xml)[/FONT]
[FONT=Courier New]-g = Progress meter during long operations such as Flash.[/FONT]
[FONT=Courier New]-mi = Assume GDB communication via MI. Output will be for[/FONT]
[FONT=Courier New]Eclipse consumption vs. user readable.[/FONT]
[FONT=Courier New]-rd = Reset delay. Delay in milliseconds after nSRST is released[/FONT]
[FONT=Courier New]before connection sequence is resumed.[/FONT]
[FONT=Courier New]-rh = Reset hold. Time in milliseconds nSRST is asserted.[/FONT]
[FONT=Courier New]-swv-port= = Set SWV server port. E.g. -swv-port=9990[/FONT]
[FONT=Courier New]-server= = Server mode (socket) with host:port or :port[/FONT]
[FONT=Courier New]-vc = Reset vector catch. Simulated for ARM7 by patching in a[/FONT]
[FONT=Courier New]branch-to-self instruction at the reset vector prior to[/FONT]
[FONT=Courier New]assert of nSRST.[/FONT]