Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Terminal mode is activated by default and allows you to communicate with the MEGA65 by a set of predefined commands. Be aware that the Terminal mode is available only for JTAG connection.

Use the Command field below the Console window in order to communicate with your MEGA65.

After pressing the ENTER key your command will be sent to the MEGA65. The answer will be displayed in the Console window. COMMAND LIST

...

Command list

You can enter these commands to interact with the MEGA65 (some are case sensitive). HexAddr doesn't need a prefix. All values are interpreted as HEX values. Space between Command and HexAddr is not required.

Command

Parameter

Description

b

HexAddr

Set breakpoint (experimental)

d

HexAddr

Disassemble line with HexAddr

D

HexAddr

Disassemble 16 lines starting with HexAddr

f

AddrLow, AddrHigh, Value

Fill memory area between AddrLow and AddrHigh with Value

g

HexAddr

Set PC to HexAddr (16bit value)

h

...

Help (show Bitstream version)

m

HexAddr

View memory at HexAddr

M

HexAddr

View memory 16 lines beginning from HexAddr

r

Show Register values

s

HexAddr, Value

Set Value (Byte) into memory address HexAddr

t

Show Register values

tc

Continuous CPU trace (enter another command to stop)

t1

Pause CPU

t0

Resume CPU

z

[Index]

CPU execution tracing (experimental)

!

Reset MEGA65