Download CodeWarrior Target Resident Kernel Reference
Transcript
Chapter 5 Debug Message Interface Reference Field Size Description • kDSRegistersFP • kDSRegistersExtended1 • kDSRegistersExtended2 For more information, see the msgcmd.h file. firstRegister ui16 The number of the first register in the sequence. lastRegister ui16 The number of the last register in the sequence. Return Values This message causes CodeWarrior TRK to return this value: Return Value Field registerData Size Description An array of register values. The size of each element depends on the size of the registers themselves. If the registers are 2 bytes wide, then a new value starts every 2 bytes. If the registers are 4 bytes wide, a new value starts every 4 bytes. The maximum length of this array is 2048 bytes. void* Error Codes CodeWarrior TRK can return these error codes: Error Code Description kDSReplyCWDSError An unknown error occurred while processing the request. kDSReplyCWDSException An exception was thrown while processing the request. kDSReplyInvalidRegisterRange The specified register range is invalid. kDSReplyNotStopped The target application is running and must be stopped before the debugger issues this request. kDSReplyPacketSizeError The length of the message is less than the minimum for a message of that type. kDSReplyUnsupportedOptionError The specified value of the options field is unsupported. Remarks After receiving a ReadRegisters request, CodeWarrior TRK reads the specified sequence of registers from the processor, returning the resulting values to the debugger. CodeWarrior TRK attempts to catch and handle any access exceptions that occur while reading. CodeWarrior Target Resident Kernel Reference, Rev. 10.5.0, 06/2015 Freescale Semiconductor, Inc. 59