Вы находитесь на странице: 1из 1

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: BDM commands 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

BDM functions
Depending on the target part, the BDM controller may feature a hardware breakpoint register. The register holds a value indicating an address in memory. When the target part's CPU accesses that location in memory, the BDM hardware can take control of the target part, stop program execution, and begin operating in Background Mode.

Вам также может понравиться