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:
“They went to him and woke him up, shouting, Master, Master, we are perishing! And he woke up and rebuked the wind and the raging waves; they ceased, and there was a calm. He said to them, Where is your faith? They were afraid and amazed, and said to one another, Who then is this, that he commands even the winds and the water, and they obey him?”
—Bible: New Testament, Luke 8:24-25.