Commit Graph

209 Commits

Author SHA1 Message Date
Nav
91db0eb6e8 Separated TargetMemoryAddressRange from TargetMemory.hpp 2025-01-28 00:14:04 +00:00
Nav
25fd2a3a6a Fixed bug in WriteRegistersMonitor GDB command handler, where the given value was being converted incorrectly 2025-01-26 02:30:09 +00:00
Nav
37377fb988 Tidying 2025-01-18 18:46:00 +00:00
Nav
2a51f8af75 Consistent casing in directory names 2025-01-07 23:31:48 +00:00
Nav
e98a73e687 - Additional target config options.
- Some tidying
2025-01-07 22:38:11 +00:00
Nav
e1831f3bbf Tidying 2025-01-05 18:29:08 +00:00
Nav
4dc019e915 Moved RISC-V CSR and GPR address spaces to TDF.
Some other bits of refactoring/tidying
2024-12-27 03:41:39 +00:00
Nav
fd45bad970 Deleted debug server documentation as I don't have time to maintain it. 2024-12-24 20:11:32 +00:00
Nav
c288e0e838 Reused CPU peripheral for GPRs in AVR8 driver 2024-12-24 19:58:22 +00:00
Nav
37bc1b9ac9 Tidying 2024-12-19 23:48:16 +00:00
Nav
c8f02080b6 Tidying 2024-12-18 01:19:21 +00:00
Nav
a05b0450ab Tidying up register access GDB monitor commands 2024-12-18 01:12:48 +00:00
Nav
ef19ffe996 New wrb GDB monitor command, for writing to individual bit fields of target registers 2024-12-18 01:11:41 +00:00
Nav
36abea6ce1 Tidying 2024-12-16 21:38:09 +00:00
Nav
9486cc0163 Help text for target driver passthrough commands 2024-12-16 21:37:24 +00:00
Nav
6873b2f53a Tidying 2024-12-15 17:34:11 +00:00
Nav
40859201e4 Target driver passthrough commands
Added `pm` commands to manage the program mode of WCH targets
2024-12-15 17:32:58 +00:00
Nav
9e5d69dee4 Tidying 2024-12-14 16:17:54 +00:00
Nav
48a7ae5dd0 Passed target state to GDB command handlers, and removed unnecessary PC read 2024-12-14 16:17:02 +00:00
Nav
2580cecb26 Handle mapped program memory segment aliasing properly, on WCH RISC-V targets
- Added `program_segment_key` target config param, to allow the user to specify the desired program memory segment
- Added the ability to resolve the currently aliased segment, by means of probing the mapped segment
- Added program counter transformation, when the mapped segment is aliasing a foreign segment
- Other bites of tidying
2024-12-14 02:09:25 +00:00
Nav
00919e4057 WCH-Link erase command doesn't erase the whole chip, as initially thought. It only erases the program memory segment.
The boot segment appears to be left untouched.
2024-12-13 22:48:20 +00:00
Nav
1477719264 Tidying 2024-12-07 16:48:06 +00:00
Nav
289919f330 Tidying 2024-12-05 23:11:31 +00:00
Nav
9f945a8d79 Fixed bug where the RISC-V target's program counter was being excluded from the response to the ReadRegisters GDB command 2024-12-05 23:10:04 +00:00
Nav
33ed399337 WCH RISC-V software breakpoints, and a few other bits of refactoring/tidying 2024-12-05 23:09:01 +00:00
Nav
8e86cfb152 Tidying 2024-11-28 21:49:03 +00:00
Nav
9c1b194af1 Changed all bloom.yaml config keys/values to use snake_casing 2024-11-28 21:44:04 +00:00
Nav
282086eaa2 Tidied exceptions 2024-11-23 21:09:33 +00:00
Nav
a574fe3461 Tidying 2024-11-17 18:19:11 +00:00
Nav
eebba986b5 RISC-V GDB server 2024-11-16 20:43:22 +00:00
Nav
8f61c5a839 Handled flash erase without subsequent flash write commands, in AVR GDB server 2024-11-16 18:54:28 +00:00
Nav
4f166cc7d7 Tidying 2024-10-27 00:27:16 +01:00
Nav
e7b270a30c Corrected bug in GDB server config (IP address param wasn't being validated properly) 2024-10-27 00:27:04 +01:00
Nav
e82d59d190 Tidying 2024-10-26 19:27:16 +01:00
Nav
08af052ba9 Corrected bug in AVR GDB memory access command handlers, which allowed GDB to perform out-of-bounds accesses 2024-10-26 19:26:56 +01:00
Nav
8cf96ba5df Tidying 2024-10-26 17:19:00 +01:00
Nav
1db70be31e Move AVR-specific GDB memory address translation to AvrGdbTargetDescriptor 2024-10-26 17:18:42 +01:00
Nav
b6cbdf5a0d Changed AVR-GDB command packet class to a bare interface class 2024-10-26 16:19:05 +01:00
Nav
5be3ab4503 Tidying 2024-10-25 23:12:31 +01:00
Nav
9df41ccfc5 Made VCont step/continue command handlers generic (non-target-specific) 2024-10-25 23:12:04 +01:00
Nav
8be311cbc0 Refactored GDB server base class, making it a template class, allowing for much more flexibility for derived target-specific implementations 2024-10-25 22:22:25 +01:00
Nav
4e28d3c488 Present register width as opposed to register byte size in new register access GDB monitor commands 2024-10-20 00:23:00 +01:00
Nav
a65be393be Tidying 2024-10-19 23:11:22 +01:00
Nav
7a54632966 Implemented disabling of GDB packet acknowledgement, and disabled it by default. The new packetAcknowledgement debug server config param can be used to keep it enabled. 2024-10-19 23:10:34 +01:00
Nav
d21afc47f4 Removed null byte from empty response packet in GDB server 2024-10-05 14:46:09 +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