Nav
67133804c0
Corrected address-space-key attribute value in AVR8 TDFs
2024-02-21 20:08:05 +00:00
Nav
64b8846d7c
Corrected memory segment type for the production signatures memory segment, in XMEGA TDFs
2024-02-18 21:48:38 +00:00
Nav
de096f63f0
Another TDF refactor - replaced register-group-reference with register-group-instance in peripheral elements
...
The `register-group-instance` element is very similar to `register-group-reference` but with the additional `address-space-key` attribute.
2024-02-17 21:30:31 +00:00
Nav
a09de592f4
Tidying
2024-02-15 21:25:32 +00:00
Nav
7e9e28286f
Made physical interface enum more generic (moved out of AVR8-specific context)
2024-02-15 21:25:12 +00:00
Nav
f33b4d8c70
Updated TDF physical interface extraction to align with new TDF format
2024-02-15 19:40:22 +00:00
Nav
19103f19b0
Renamed JSON key from supportedTargets to just targets, in --capabilities-machine command output
2024-02-13 20:51:02 +00:00
Nav
bf39260e0e
Refactored TDF parsing exceptions
2024-02-13 20:48:06 +00:00
Nav
d47e807a5d
Added new exception class for internal fatal errors
2024-02-13 20:47:08 +00:00
Nav
a8a679320c
Tidying
2024-02-13 20:24:52 +00:00
Nav
f5677b6235
Updated TDF address space, memory segment and memory segment section extraction to align with new TDF format
2024-02-13 20:24:25 +00:00
Nav
46d75b3f4b
Replaced --target-list-machine CLI command with a more generic --capabilities-machine command, so that I can include other info.
...
- Also moved the `insightAvailable` flag from the `--version-machine` command
2024-02-12 23:22:54 +00:00
Nav
09cea149d8
Tidying
2024-02-12 23:02:27 +00:00
Nav
599637502d
Don't instantiate QApplication/QCoreApplication when running CLI commands
...
QApplication takes around a second to be constructed - annoying when all we want to do is run a CLI command
2024-02-12 23:02:06 +00:00
Nav
60dddb847c
Added CLI command to list supported targets in JSON format
2024-02-12 20:25:51 +00:00
Nav
4b6e21e43f
Typo correction
2024-02-12 19:39:21 +00:00
Nav
8474867563
Added try... member functions to property group class
2024-02-12 19:34:59 +00:00
Nav
a39099d5dd
Began updating TDF parsing to align with new format.
...
- Convenience functions for fetching attributes from XML elements
- Property groups are now being parsed correctly
- Property group lookups (including nested lookups) are working correctly
2024-02-12 19:23:34 +00:00
Nav
a60f5b833a
Updated property group structure to align with new TDF format
2024-02-12 19:18:16 +00:00
Nav
3a69647159
Added string to uint conversion and string splitting to StringService
2024-02-12 19:17:19 +00:00
Nav
09a5be91fd
Revised TDF format to accommodate targets from other families
...
- Refactored all AVR8 TDFs to conform to new format
2024-02-09 00:13:22 +00:00
Nav
647b8aa8a3
Enum value for all possible memory segment types
2023-12-19 21:54:30 +00:00
Nav
0d1ab0205d
Used 'aliased' memory segment type for "MAPPED_PROGMEM" segments in AVR8 TDFs
2023-12-19 21:53:25 +00:00
Nav
e3d7ea7226
Persistent memory segment type for "PROD_SIGNATURES" segments in AVR8 TDFs
2023-12-19 21:50:51 +00:00
Nav
cc33eea712
RISC-V target ID verification upon activation
2023-12-17 18:43:16 +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
4dd6050781
Renamed variant 'ordercode' to 'name'
2023-12-13 23:03:04 +00:00
Nav
e2ed0002bd
More TDF reformatting
2023-12-13 20:40:14 +00:00
Nav
4e373ea45d
Tidying AVR8 TDFs
2023-12-13 20:33:41 +00:00
Nav
b5587d1e3c
Added target family attribute to AVR8 TDFs and renamed AVR family attribute to avr-family
2023-12-13 00:50:10 +00:00
Nav
41a6e0bbbd
Tidying
2023-12-12 23:25:29 +00:00
Nav
ec51a21846
- Began refactoring TDF build scripts
...
- Separated TDF validation and mapping generation
- Moving away from the JSON mapping file, to a generated header file containing the TDF mapping.
- Other bits of tidying
2023-12-12 23:19:21 +00:00
Nav
275885e6ec
Moved TargetFamily enum into separate header file
2023-12-12 19:02:54 +00:00
Nav
7924478145
Tidying TDF processing in preparation for RISC-V accomodation
2023-12-10 13:04:05 +00:00
Nav
7630baf51b
Implemented RiscVProgramInterface in WchLinkInterface
2023-12-09 18:22:32 +00:00
Nav
d6c3f8044a
Tidying
2023-12-08 23:04:13 +00:00
Nav
f4b30dbdf6
Added RiscVProgramInterface for RISC-V debug tools that are unable to program RISC-V targets via the debug interface
2023-12-08 23:04:04 +00:00
Nav
084eef1a30
Moved wMaxPacketSize retrieval to Usb::UsbDevice class.
...
And some other bits of tidying
2023-12-02 19:31:26 +00:00
Nav
eab1688b1a
Memory access commands should be LSB
2023-12-02 14:00:06 +00:00
Nav
c792f92493
Corrected hart discovery bug
2023-12-02 13:59:18 +00:00
Nav
c962c5e4ca
Tidying
2023-11-26 15:58:28 +00:00
Nav
17a72bf231
Implemented RiscV::writeMemory()
2023-11-26 15:58:18 +00:00
Nav
d6b216d51e
Send "end process" command to detach from target, upon deactivaition of WCH-Link debug tools
2023-11-26 00:41:45 +00:00
Nav
ddcb122137
Tidying
2023-11-25 23:19:38 +00:00
Nav
d88b828bad
Implemented RiscV::reset()
2023-11-25 21:19:57 +00:00
Nav
35fef9b41b
Moved abstract command construction outside of loop. Didn't need to be there. Improved efficiency
2023-11-25 19:39:34 +00:00
Nav
9743e9a719
Use post-increment function to increment address when reading memory in RiscV::readMemory()
2023-11-25 19:36:11 +00:00
Nav
32ea3cb960
Implemented RiscV::readMemory()
2023-11-25 19:09:53 +00:00
Nav
eda6fe0c7f
Enable/disable debug module on activation/deactivation of RISC-V targets
2023-11-25 19:08:40 +00:00
Nav
fa13bc2a99
Implemented RISC-V register reading/writing (only 32-bit registers are supported, for now)
2023-11-25 07:45:31 +00:00