Commit Graph

210 Commits

Author SHA1 Message Date
Nav
395f58ff32 Corrected bug in TC, where delta sessions where being persisted upon failure during the commit operation 2025-02-05 21:28:16 +00:00
Nav
513b0955ac Dropped automatic resuming of target execution at the end of debug sessions 2025-02-02 16:16:37 +00:00
Nav
b06e8cc9ad Formatting keys in log output 2025-02-02 14:54:17 +00:00
Nav
d52c46ec2a Delta programming - where we only upload what's changed 2025-02-01 23:13:45 +00:00
Nav
ad542ab77e Tidying 2025-01-28 00:21:26 +00:00
Nav
91db0eb6e8 Separated TargetMemoryAddressRange from TargetMemory.hpp 2025-01-28 00:14:04 +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
7535267a3b Renamed WCH-LinkE debug tool config value 2024-12-29 21:59:16 +00:00
Nav
b7aea71327 Fixed stale program counter bug 2024-12-16 21:38:30 +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
c15eba5ca9 Seg fault bug fix 2024-12-08 23:33:14 +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
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) 2024-11-16 21:49:49 +00:00
Nav
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.
2024-10-27 00:26:06 +01:00
Nav
662e53e3e1 Tweaks to TC docs 2024-10-17 23:58:16 +01:00
Nav
17b90e3c08 Tidying 2024-10-12 23:37:13 +01:00
Nav
52171734d8 New WchRiscV target class 2024-10-12 23:16:16 +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
5cc53d7f69 Tidying 2024-10-04 23:46:08 +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
12ff66aa8a Fixed bug with TC providing incorrect previous target execution state upon stopping target execution 2024-08-19 19:40:29 +01:00
Nav
c662e946ca Updated application to code to accomodate changes to TDF format (new pad elements and changes to variant elements) 2024-08-16 23:02:35 +01:00
Nav
c9dd987643 Tidying 2024-07-25 19:04:13 +01:00
Nav
8f7c3bc1be Added postInit() function to debug tool interface, for outputting any debug-tool-specific info after initialisation.
Removed `getFirmwareVersionString()` function
2024-07-23 21:44:15 +01:00
Nav
dd80c254a2 Added postActivate() to the target interface, for outputting any target specific info after activation.
Removed the logging of the generic target ID from the TargetController
2024-07-23 21:36:07 +01:00
Nav
6cdbfbe950 Massive refactor to accommodate RISC-V targets
- Refactored entire codebase (excluding the Insight component) to accommodate multiple target architectures (no longer specific to AVR)
- Deleted 'generate SVD' GDB monitor command - I will eventually move this functionality to the Bloom website
- Added unit size property to address spaces
- Many other changes which I couldn't be bothered to describe here
2024-07-23 21:14:22 +01:00
Nav
ab19fc5a45 Moved AVR8 TDF class 2024-03-25 19:21:36 +00:00
Nav
95dd0e0119 Added missing include 2024-03-16 00:07:55 +00:00
Nav
75d5124265 Moved TargetRegisterDescriptor struct to separate file 2024-03-09 17:16:29 +00:00
Nav
4aa8ed30de - Renamed build script for brief target descriptor generation
- Created new TargetService class
- Moved brief target descriptor mapping to new TargetService class
- Replaced CMake custom commands with custom targets, for TDF validation and brief target descriptor generation build scripts
- Moved BriefTargetDescriptor into separate header file
2024-03-02 01:59:55 +00:00
Nav
66cbd89051 - Refactored AVR8 constructor, moving TDF construction to the TargetControllerComponent
- The `TargetControllerComponent` now resolves the target via the new generated mapping approach
- Added `TargetDescriptionFile` derived class
- Removed obsolete JSON map processing code
- Other bits of refactoring and tidying
2023-12-17 18:40:52 +00:00
Nav
776ce3c44d Tidying 2023-11-23 13:53:12 +00:00
Nav
f3e9796772 Tidying 2023-11-22 00:38:49 +00:00
Nav
516892f7eb Added Microchip namespace to EDBG debug tool classes 2023-11-18 23:50:42 +00:00
Nav
1600888624 Extract debug tool firmware version at startup 2023-11-18 23:15:11 +00:00
Nav
221d931add Began implementation of WCH-Link protocol, for the WCH-LinkE debug tool.
Foundations have been laid.
2023-11-18 22:58:48 +00:00
Nav
210552de4f Tidying 2023-11-18 22:53:20 +00:00
Nav
9904d93314 Support for reserved hardware breakpoint (for stepping on AVR8 targets) 2023-09-23 21:50:04 +01:00
Nav
c3d13647fa Restore breakpoints upon leaving programming mode 2023-09-22 20:55:00 +01:00
Nav
fdb6dc006d Bypass cache flag in ReadMemory TC command 2023-09-22 18:21:26 +01:00
Nav
8c2fe4e619 Tidying 2023-09-22 17:52:38 +01:00