Services - tools - models - for embedded software development
Embecosm divider strip
Prev  Next

4.7.  High Level Protocol Implementation

4.7.1. Deprecated Packets
4.7.2. Unsupported Packets
4.7.3. Simple Packets
4.7.4. Reporting the Last Exception
4.7.5. Continuing
4.7.6. Reading and Writing All Registers
4.7.7. Reading and Writing Memory
4.7.8. Reading and Writing Individual Registers
4.7.9. Query Packets
4.7.10. Set Packets
4.7.11. Restart the Target
4.7.12. Stepping
4.7.13. v Packets
4.7.14. Binary Data Transfer
4.7.15. Matchpoint Handling

The high level protocol is driven from the function rsp_client_request (), which is called from handle_rsp () once a client connection is established.

This function calls get_packet () to get the next packet from the client, and then switches on the first character of the packet data to determine the action to be taken.

The following sections discuss the implementation details of the various packet types that must be supported.

Embecosm divider strip