2580cecb26
Handle mapped program memory segment aliasing properly, on WCH RISC-V targets
Nav
2024-12-14 02:09:25 +00:00
b5ffca6753
Acknowledge and reinitialise debug register on unexpected target reset, in RISC-V translator
Nav
2024-12-14 02:03:58 +00:00
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.
Nav
2024-12-13 22:48:20 +00:00
9f945a8d79
Fixed bug where the RISC-V target's program counter was being excluded from the response to the ReadRegisters GDB command
Nav
2024-12-05 23:10:04 +00:00
33ed399337
WCH RISC-V software breakpoints, and a few other bits of refactoring/tidying
Nav
2024-12-05 23:09:01 +00:00
a3ed513b84
Fixed bug in EDBG driver that was resulting in program memory corruption when flashing the target with software breakpoints installed
Nav
2024-11-17 18:18:44 +00:00
5908b74cc1
Ignore duplicate hardware breakpoint insertions
Nav
2024-11-17 18:17:27 +00:00
4147af618b
Move away from using const references of std::vector<unsigned char> for target memory buffers. Replaced with std::span<const unsigned char> (via TargetMemoryBufferSpan alias)
Nav
2024-11-16 21:49:49 +00:00
eebba986b5
RISC-V GDB server
Nav
2024-11-16 20:43:22 +00:00
285fc41c23
Corrected bug in EDBG driver memory access routines. It was incorrectly using the FUSES memory type when in debug mode (that memory type isn't available in debug mode, only program mode. Was causing a target reset).
Nav
2024-11-06 19:46:27 +00:00
24b41ca420
Added access property to Target
Nav
2024-11-02 22:34:42 +00:00
f0b7f3193c
Corrected string->int conversion bug in TargetPinDescriptor. The numericPosition member should really be removed. Will revisit later.
Nav
2024-10-27 00:28:41 +01:00
e7b270a30c
Corrected bug in GDB server config (IP address param wasn't being validated properly)
Nav
2024-10-27 00:26:41 +01:00
623743995b
Made the EDBG CMSIS-DAP command delay optional for all debug tools, and disabled it by default. The command delay was really choking Bloom's EDBG driver, causing a very noticeable drag on Bloom's performance. It's much faster with the command delay disabled. There was a good reason for why I introduced this some time ago. Without it, some EDBG debug tools were misbehaving - I remember that for certain. But now, I cannot seem to reproduce these issues. Very odd. If the issues do reappear, I may have to enable the command delay by default, again, for some debug tools. For now, if any users experience issues, I'll just suggest they manually enable the command delay via their project config. Also, I'm not going to document this new config option, as I would prefer the user to approach me if they experience issues as a result of this, so that I'll know if it needs revisiting.
Nav
2024-10-27 00:25:42 +01:00
4160d4259a
Corrected bug in EDBG driver, where we weren't waiting for a stopped event when we should have been
Nav
2024-10-27 00:02:00 +01:00
9df41ccfc5
Made VCont step/continue command handlers generic (non-target-specific)
Nav
2024-10-25 23:12:04 +01:00
8be311cbc0
Refactored GDB server base class, making it a template class, allowing for much more flexibility for derived target-specific implementations
Nav
2024-10-25 22:22:25 +01:00
72d0c28d08
Fixed bug in assertion in RISC-V debug translator
Nav
2024-10-20 00:44:09 +01:00
4e28d3c488
Present register width as opposed to register byte size in new register access GDB monitor commands
Nav
2024-10-20 00:23:00 +01:00
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.
Nav
2024-10-19 23:10:34 +01:00
9b1489fbf2
Removed WchLinkVariant::UNKNOWN
Nav
2024-10-19 14:22:43 +01:00
00d6f5fb71
Corrected bug in RISC-V debug translator where a reset wasn't always keeping the target halted
Nav
2024-10-19 14:22:12 +01:00