Commit Graph

167 Commits

Author SHA1 Message Date
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
Nav
b38872e837 Program memory cache 2023-09-22 17:52:28 +01:00
Nav
b5df37ae9b Removed TargetProgramCounter type alias 2023-09-21 00:40:30 +01:00
Nav
d7b59cac59 Support for hardware breakpoints 2023-09-20 23:43:29 +01:00
Nav
df5a141089 Tidying 2023-09-20 23:29:58 +01:00
Nav
47f9ce0415 Tidying 2023-09-07 23:21:36 +01:00
Nav
c90f92e038 Small addition to TC documentation 2023-08-20 22:17:40 +01:00
Nav
9faab27ad7 Updated invalid code references that were still using the old Bloom namespace. 2023-08-20 15:50:05 +01:00
Nav
5896306f1a Removed redundant 'Bloom' namespace from entire codebase 2023-08-13 15:47:51 +01:00
Nav
edcf62e67d Tidying 2023-07-18 23:17:13 +01:00
Nav
47d4a7edaf Tidying 2023-07-18 23:17:13 +01:00
Nav
80cf6930cc Refactored template class for synchronised resources 2023-07-18 23:17:13 +01:00
Nav
10611d3ad3 Some documentation on atomic sessions 2023-07-18 23:17:13 +01:00
Nav
30936fe0a2 Added atomic sessions in TC 2023-07-18 23:17:13 +01:00
Nav
142f844f83 New TC shutdown command 2023-07-18 23:17:13 +01:00
Nav
039df146a7 Removed obsolete TC commands 2023-07-18 23:17:13 +01:00
Nav
9734ba88e1 Removed TC suspension 2023-07-18 23:17:13 +01:00
Nav
4485ee0961 Used std::atomic for ThreadState 2023-07-18 23:17:13 +01:00
Nav
3540228f6d Shut down on device failure (instead of suspending) 2023-07-18 23:17:13 +01:00
Nav
8e3f56b348 Removed releasePostDebugSession debug tool config param. 2023-07-18 23:17:13 +01:00
Nav
ba03833325 Lots of tidying
- Removed generic `avr8` target
- Simplified AVR8 target construction
- Introduced register descriptor IDs
- Simplified GDB register mappings
- Simplified target interface contract
- Other bits of tidying
2023-07-18 23:16:06 +01:00
Nav
adcca0079d Check if Microchip hybrid devices (Snap and PICkit 4) are not in AVR mode and report back to the user. 2023-05-07 16:44:15 +01:00
Nav
56ea97369d Preparation for support for the GDB vCont command packet
Also fixed a bug in the `StepExecution` and `ContinueExecution` constructors, where the from address wasn't being extracted properly
2023-04-01 12:37:59 +01:00
Nav
f37f8f301a Corrected bad rebase 2023-02-27 00:08:01 +00:00
Nav
b8ca1fbc41 Tidying 2023-02-20 21:55:55 +00:00
Nav
8fa7e82c56 Moved Paths helper functions to service class 2023-02-20 21:55:55 +00:00
Nav
4c25c85c36 Moved Process helper functions to service class 2023-02-20 21:55:55 +00:00
Nav
d353b55f9b Renamed TargetControllerConsole to TargetControllerService 2023-02-20 21:55:55 +00:00
Nav
d6cd5da1b8 Binned udev rule check in TargetController 2023-01-18 00:41:23 +00:00
Nav
529438b9e4 Tidying 2022-12-17 14:46:08 +00:00
Nav
a1defa02c0 Pass the TargetDescriptor by const-reference where we can 2022-12-17 14:41:52 +00:00
Nav
151d10df72 Tidying 2022-12-12 00:05:01 +00:00
Nav
76a0207701 Added EraseTargetMemory TC command 2022-12-11 23:25:15 +00:00
Nav
b3fb3f0955 Lots of tidying 2022-12-03 22:16:21 +00:00
Nav
0c1b0211e8 Tidying 2022-10-12 21:26:09 +01:00
Nav
51a3d2fbbb Tidied Process class and moved Application::isRunningAsRoot() function to Process class 2022-10-05 20:58:25 +01:00
Nav
065a389dfe Improved naming consistency of aliases 2022-10-01 21:01:37 +01:00
Nav
238819eb42 Added single-shot delay times for emitting target stopped events to Insight components, when stepping through code 2022-09-17 20:55:17 +01:00
Nav
98963ef4a8 New resume & suspend TargetController commands 2022-09-14 22:05:50 +01:00
Nav
7d07a9cf6c Tidying 2022-09-06 17:17:43 +01:00
Nav
46d8ce1854 Added TargetMemoryAddress, TargetMemorySize, TargetProgramCounter and TargetStackPointer aliases 2022-09-06 17:16:49 +01:00
Nav
1f4788b039 Blocked signals on the DebugServer thread and some tidying 2022-08-30 03:10:48 +01:00
Nav
6c436cbefc Tidying 2022-08-27 17:56:55 +01:00
Nav
c4bcf71424 Replaced static TargetController state object access with new GetState command
This corrects a bug where the DebugServer checks if the TargetController is in
service just before it's about to suspend. The DebugServer then attempts to start
a new debug session, only for the TargetController to go into a suspended state.
A fatal error occurs and a shutdown follows. This bug is only apparent when
the user stops and starts debug sessions very quickly, with releasePostDebugSession
set to true.
2022-08-14 17:44:52 +01:00