Commit Graph

1760 Commits

Author SHA1 Message Date
Nav
248c51acc8 Renamed RiscVDebugInterface::clearAllBreakpoints() in preparation for separating HW breakpoints from SW breakpoints. 2024-10-07 20:02:39 +01:00
Nav
607a344107 Made TargetMemoryCache use TargetMemorySegmentDescriptor, as the base memory descriptor (instead of TargetMemoryAddressSpaceDescriptor).
Basing the memory cache on address spaces will result in large amounts of memory being unnecessarily reserved for large address spaces.
2024-10-07 00:14:39 +01:00
Nav
418db1df99 Added config struct for RISC-V debug translator implementation, and WCH debug tools.
Also some tidying in the `DebugToolConfig` struct
2024-10-06 23:32:36 +01:00
Nav
a1dfa56913 New StringService::toHex() overload for std::uint16_t 2024-10-06 18:10:38 +01:00
Nav
d71083c3f9 Tidying 2024-10-06 18:10:02 +01:00
Nav
23056bcac5 New Expected template (should have been included in a previous commit) 2024-10-06 18:08:29 +01:00
Nav
6c67424af9 On RISC-V activation, clear any triggers that were left over from a previous debug session 2024-10-06 18:06:58 +01:00
Nav
ecd0f5b054 First pass at RISC-V hardware breakpoints (Trigger module) 2024-10-06 17:54:08 +01:00
Nav
7fc1145d4b Moved reserveSteppingBreakpoint AVR8 config param to more generic TargetConfig struct 2024-10-06 17:09:06 +01:00
Nav
d21afc47f4 Removed null byte from empty response packet in GDB server 2024-10-05 14:46:09 +01:00
Nav
f2e26af210 Fixed alternative attribute parsing bug in FromXmlService 2024-10-05 14:37:19 +01:00
Nav
e1179d960f Validate against non-alphanumeric characters in keys, in TDFs 2024-10-05 02:18:45 +01:00
Nav
675b375da7 Removed non-alphanumeric characters from keys in TDFs 2024-10-05 02:18:20 +01:00
Nav
12ca84735f Renamed USB pad keys in TDFs 2024-10-05 02:07:24 +01:00
Nav
5cc53d7f69 Tidying 2024-10-04 23:46:08 +01:00
Nav
d906f2f426 Added alternative flag to Signal element in TDFs 2024-10-04 23:45:16 +01:00
Nav
876d402baa Added absolute group key property to TargetRegisterGroup class 2024-10-04 21:29:59 +01:00
Nav
cdcad9dde1 Added signal validation in TDFs, for SDI physical interface 2024-10-03 23:43:52 +01:00
Nav
5b2b73eb9f Renamed SCK ISP signal to SCLK, for consistency 2024-10-03 23:39:38 +01:00
Nav
ca498c64c2 Added SDI physical interface 2024-10-03 22:56:13 +01:00
Nav
98ba68d1a6 Tidying 2024-10-03 22:45:36 +01:00
Nav
af865d09e5 Added Signal elements to PhysicalInterface elements in TDFs 2024-10-03 22:45:24 +01:00
Nav
e522261991 Replaced group attribute with name attribute in Signal TDF element 2024-09-15 15:27:08 +01:00
Nav
179d7180a2 Updated AtdfService to support new Pad TDF elements 2024-09-13 00:33:06 +01:00
Nav
3dab50f4db Removed architecture documentation from root README 2024-09-12 23:11:30 +01:00
Nav
723ae4e76d Second pass at TC documentation updates 2024-09-12 23:01:17 +01:00
Nav
585519a1e5 First draft update of TC documentation 2024-09-08 19:31:46 +01:00
Nav
df06757124 Activate target before calling Target::targetDescriptor() 2024-09-07 13:07:40 +01:00
Nav
9daa53ed45 Retry DMI operations when BUSY status returned in WCH-Link driver 2024-09-04 00:18:42 +01:00
Nav
ecf0bd8919 Added try member functions for RISC-V abstract commands and register access 2024-09-04 00:15:46 +01:00
Nav
2a01f727bf Tidying RISC-V register structs 2024-09-04 00:13:55 +01:00
Nav
e327fe7826 Missing header 2024-09-03 19:21:57 +01:00
Nav
001c9b37c1 Corrected WCH-Link min response size check 2024-08-31 01:53:32 +01:00
Nav
914153077e Corrected memory address/size alignment in EDBG and RISC-V drivers 2024-08-30 19:59:59 +01:00
Nav
cb35051e6d Tweak to help text for GDB monitor commands 2024-08-29 21:21:38 +01:00
Nav
48bd656b6d Handle bad conversion in wr GDB monitor command handler 2024-08-28 19:24:41 +01:00
Nav
609400b375 Tweaks to help text for GDB monitor commands 2024-08-28 19:10:47 +01:00
Nav
a6d79e4680 Accept 0x prefix in eeprom fill GDB monitor command 2024-08-28 19:02:23 +01:00
Nav
3b91b99fe3 Added help text for new wr GDB mintor command. Also some small tweaks to other help text 2024-08-27 22:24:22 +01:00
Nav
338dd8b75b New wr GDB monitor command, for writing to target registers 2024-08-27 22:05:34 +01:00
Nav
b1db8196c0 Tidying 2024-08-27 22:04:59 +01:00
Nav
7bcb81b7c8 Tidying 2024-08-27 00:20:22 +01:00
Nav
ff5b387ef5 Second pass at GDB monitor help command handler refactor.
Also added help text for the new `lr` and `rr` commands.
2024-08-26 23:14:35 +01:00
Nav
e1216b7cc0 Tidying 2024-08-26 21:34:29 +01:00
Nav
1ef9ee7297 Refactored GDB monitor help command handler 2024-08-26 21:33:51 +01:00
Nav
cb9059c691 Tidying 2024-08-26 12:42:04 +01:00
Nav
2adb679833 New mon lr GDB command, for listing target registers 2024-08-26 12:41:41 +01:00
Nav
a7ffc56d9b New mon rr GDB command for reading target registers 2024-08-26 12:40:39 +01:00
Nav
4c47bda7b3 New PartialResponsePacket class for delivering partial responses to GDB 2024-08-26 12:37:41 +01:00
Nav
34b26c3d06 Replaced commandOptions member with commandArguments in the GDB Monitor command base class
Updated the `eeprom fill` monitor command to take the fill value from the third command argument.
Also updated help text
2024-08-24 20:43:29 +01:00