Commit Graph

1622 Commits

Author SHA1 Message Date
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
Nav
34ca7d4289 Tidying 2024-08-19 19:43:27 +01:00
Nav
4f9bb0ac3e Target variant keys 2024-08-19 19:43:02 +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
2f6238e360 Tidying 2024-08-17 12:44:01 +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
8ba29c258d TDF and TDF script changes (application changes pending):
- Added new `pad` element to TDFs
- Refactored `pin` and `signal` elements to accommodate new `pad` element
- Improved validation of signal-to-pad relation in TDF validation script
- Added key attribute to `variant` element
- Removed `package` attribute from `variant` element
2024-08-13 22:17:49 +01:00
Nav
e4552581bf Made resolving of pin type case-insensitive 2024-08-13 19:55:37 +01:00
Nav
f1c82ecd28 Made key and name attributes optional in register-group-instance TDF elements
Also removed the attribute from all instances of the element, where it wasn't necessary.
2024-08-13 19:54:05 +01:00
Nav
f3e2a5c8a5 Tidying AVR TDFs 2024-08-01 19:27:16 +01:00
Nav
8246c03d29 Removed reserved bit fields from AVR TDFs 2024-07-30 20:47:18 +01:00
Nav
c7fcb6e2e9 Corrected return type of getTargetState() in TC service class 2024-07-25 19:04:39 +01:00
Nav
c9dd987643 Tidying 2024-07-25 19:04:13 +01:00
Nav
3f88e2022c Refactored descriptor ID generation and added IDs to peripherals, register groups and registers 2024-07-25 19:03:26 +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
9026601a2d Corrected xoscsel bit field mask in XMEGA TDFs 2024-07-08 00:19:02 +01:00
Nav
4bb309a179 Refactored physical interfaces in TDFs and TDF scripts 2024-07-06 01:33:19 +01:00
Nav
48eeec67cc Corrected production and user signature modules in some AVR8 XMEGA and ATMEGA TDFs - they contained descriptions of registers that do not exist on those targets 2024-06-05 19:32:19 +01:00
Nav
4e837218e5 Corrected use of destroyed objects in EDBG param constructors 2024-06-02 21:33:54 +01:00
Nav
ee20507c2e Corrected debugWire and JTAG HIGH byte parameter values
Additional checks in TDF validation to ensure that the IO memory segment offset has been applied to the relevant registers
2024-06-02 21:29:57 +01:00
Nav
081d1e0bcd Added executable flag to memory segments in TDFs 2024-04-29 20:25:36 +01:00
Nav
8324d30742 Added address space for the register file, in AVR8 targets, where the register file is not located in the data address space 2024-04-04 22:48:55 +01:00
Nav
ed54b0e726 Tidying 2024-03-29 16:31:14 +00:00
Nav
779a5ad151 Corrected EEARL/H register address extraction from AVR8 TDFs.
Some other bits of tidying
2024-03-29 16:16:35 +00:00
Nav
b9d537e924 Created EdbgAvr8Session struct and moved EDBG target info to it 2024-03-28 21:10:08 +00:00
Nav
ab19fc5a45 Moved AVR8 TDF class 2024-03-25 19:21:36 +00:00
Nav
3c8efa60a6 Added EDBG parameter structs with TDF-based initialisation 2024-03-25 18:59:15 +00:00
Nav
07019fb358 Generate target descriptor from TDF 2024-03-21 15:04:09 +00:00