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:
“It is clear that in a monarchy, where he who commands the exceution of the laws generally thinks himself above them, there is less need of virtue than in a popular government, where the person entrusted with the execution of the laws is sensible of his being subject to their direction.”
—Charles Louis de Secondat Montesquieu (16891755)