. Command Reference
- Table of Contents
- dump —
Display contents of flash. The count parameter specifies how many lines
are displayed.
- disassemble —
Disassemble the contents of flash. The count parameter specifies the
number of instructions to disassemble.
- refresh —
Refresh the user interface.
- set-port-address — Use this function to set the communication port address.
- set-operating-frequency — Specifies the target operating frequency (in Hz). This
value is used to calculate the flash programming times and the ISP
programming delays.
- set-flash-program-option —
Use this command to set the default OPTION register value when
programming a device.
- set-flash-size —
Use this command to specify the size of the flash on the target
microcontroller.
- set-flash-page-size —
Use this command to specify the size of a flash page on the target
microcontroller.
- set-ram-pages —
Use this command to specify the number of RAM pages on the target
microcontroller.
- set-pin-state-delay —
Use this command to specify the delay time between parallel port pin
state changes. The time is specified in nanoseconds.
- set-parallel-port-address —
Use this command to specify the parallel port address.
- write-option-register — Use this to set the OPTION register.
- read-option-register — Returns the OPTION register value.
- read-flash — Reads the data from a given flash address.
- write-flash — Writes data to flash.
- read-ram — Reads the data from a given RAM address.
- write-ram — Writes the data to a given address in RAM.
- erase-flash — Erases all of the COP8 Flash flash.
- erase-flash-page — Erases the flash page of a given address.
- verify-program —
Use this command to verify that an object file was programmed properly.
- flash-program —
Programs the target with the specified object file. This command does
not load the NiceMon debug stub.
- load-object-file —
Loads an object file to be debugged.
- write-program-counter — Set the value for the program counter.
- read-program-counter — Returns the current address in the program counter
- write-register-a — Assigns a value to the A accumulator.
- read-register-a — Returns the value in the accumulator.
- reset — Issues a soft reset.
- reset-to-user-application — Resets and gives control to the user application.
- reset-to-monitor — Resets and gives control to the debug monitor.
- stop — Stops a running program.
- run — Continues execution at the current program counter.
- step — Runs and stops after one assembly instruction is executed.
- mstep —
Multiple step.
- get-break-point — Returns the break point address.
- set-break-point — Makes execution stop when it reaches the address specified.
- clear-break-point — Removes a previously set break point.
- add-watch —
Adds a variable watch to the watch list.
- clear-watches —
Clears the watch area of all variable watches.