BDM Commands
The BDM host can issue commands with parameters to the target. Some commands allow reading or writing of blocks of the target's memory, individual registers in the CPU, or registers not available to the target.
Examples include:
READ_BYTE |
Read a byte from memory |
WRITE_BYTE |
Write a byte to memory |
GO |
Start/resume executing at current program counter location |
WRITE_PC |
Write a value to the program counter |
READ_PC |
Read the value of the program counter |
WRITE_X |
Write a value to the index register |
READ_X |
Read the value of the index register |
READ_SP |
Read the value of the stack pointer |
Read more about this topic: Background Debug Mode Interface
Famous quotes containing the word commands:
“How often we read that the enemy occupied a position which commanded the old, and so the fort was evacuated! Have not the school-house and the printing-press occupied a position which commands such a fort as this?”
—Henry David Thoreau (18171862)