7.5.6 Memory/OCD Access

The following memory and OCD access functions are supported:

  • PC read/write: reads and adjusts the program counter

  • Erase: performs an erase on the target. To be used in programming mode only.

  • CRC: performs a CRC calculation on the target memory (XMEGA only)

  • Memory Read and Write: provides access to memory areas in programming mode and when stopped in a debug session. Rules are provided per memory-type in the communication protocol specification.

  • Hardware breakpoint set/clear: Provides access to add and remove hardware breakpoints. Resources are family/OCD specific.

  • Software breakpoint set/clear: Inserts and remove software breakpoints from a control table in the tool. On the next flow control command executed, the flash memory on the target is updated.

  • Software breakpoints clear all: Immediately restores all software breakpoints to their original values