Download J-Link / J-Trace User Guide (UM08001)

Transcript
69
Syntax
fwrite <EmuFile> <HostFile> [<Offset> [<NumBytes>]]
Parameter
EmuFile
HostFile
Offset
NumBytes
Meaning
File name to write to.
Source file on the host
Specifies the offset in the file, at which data writing is started.
Maximum number of bytes to write.
Example
fwrite Flasher.dat C:\Project\Flasher.dat
3.2.1.14 go (g)
Starts the CPU. In order to avoid setting breakpoints it allows to define a maximum
number of instructions which can be simulated/emulated. This especially takes
advantage when the program is located in flash and flash breakpoints are used. Simulating instructions avoids to reprogram the flash and speeds up (single) stepping.
Syntax
go [<NumSteps> [<Flags>]]
Parameter
NumSteps
Flags
Meaning
Maximum number of instructions allowed to be simulated. Instruction simulation stops whenever a breakpointed instruction is hit, an
instruction which can not be simulated/emulated is hit or when
NumSteps is reached.
0: Do not start the CPU if a BP is in range of NumSteps
1: Overstep BPs
Example
go //Simply starts the CPU
go 20, 1
3.2.1.15 halt (h)
Halts the CPU Core. If successful, shows the current CPU registers.
Syntax
halt
3.2.1.16 hwinfo
This command can be used to get information about the power consumption of the
target (if the target is powered via J-Link). It also gives the information if an overcurrent happened.
Syntax
hwinfo
3.2.1.17 ip
Closes any existing connection to J-Link and opens a new one via TCP/IP.
If no IP Address is specified, the Emulator selection dialog shows up.
J-Link / J-Trace (UM08001)
© 2004-2014 SEGGER Microcontroller GmbH & Co. KG