Commit Graph

1745 Commits

Author SHA1 Message Date
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
2986934485 AVR8 Program memory size validation 2024-07-23 20:52:01 +01:00
Nav
48debbc137 Tidying 2024-07-12 15:11:14 +01:00
Nav
0619263295 Added config value to TargetPhysicalInterface enum 2024-07-12 15:09:05 +01:00
Nav
9026601a2d Corrected xoscsel bit field mask in XMEGA TDFs 2024-07-08 00:19:02 +01:00
Nav
3d6e86244b Tidying 2024-07-07 17:50:43 +01:00
Nav
1514e89889 Added initial value to TargetRegister in TDF scripts 2024-07-07 17:44:16 +01:00
Nav
84b26aa485 Corrected offset bug with target register group references, in TDF scripts 2024-07-07 17:37:47 +01:00
Nav
287686e902 Added address space key to TargetRegister in TDF scripts 2024-07-07 17:25:56 +01:00
Nav
06ccf8469f Default memory segment executable flag to false in ATDF -> TDF conversion service 2024-07-06 01:34:52 +01:00
Nav
4bb309a179 Refactored physical interfaces in TDFs and TDF scripts 2024-07-06 01:33:19 +01:00
Nav
8aad5b9095 Tidying 2024-06-05 19:35:47 +01:00
Nav
500883af0c Confirm device signature memory segment resides in the data address space, for UPDI targets 2024-06-05 19:33:06 +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
75c58310ad Validating resolved target peripherals in TDF validation 2024-06-05 19:28:49 +01:00
Nav
4e837218e5 Corrected use of destroyed objects in EDBG param constructors 2024-06-02 21:33:54 +01:00
Nav
1c702227fe Tidying 2024-06-02 21:30:11 +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
dce803b2f3 Additional register and fuse validation (for AVR8 TDFs) 2024-06-02 14:05:34 +01:00
Nav
4944435ef6 Tidying 2024-05-17 23:24:06 +01:00
Nav
034c16817a Tidying 2024-04-29 20:27:47 +01:00
Nav
7e44750fc0 Checks for invalid sizes in TDF validation script 2024-04-29 20:27:37 +01:00
Nav
49bf0e0fdd Enforced single register group instance in GPIO port peripherals, in AVR8 TDFs 2024-04-29 20:27:07 +01:00
Nav
081d1e0bcd Added executable flag to memory segments in TDFs 2024-04-29 20:25:36 +01:00
Nav
c0836a1b6d Tidying 2024-04-06 19:04:45 +01:00
Nav
bd153c094f Check for "fuses" memory segment in AVR8 TDF validation 2024-04-06 19:04:22 +01:00
Nav
7e4440cb99 Tidying 2024-04-04 22:49:00 +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
bfd767da7d Tidying 2024-03-30 19:40:01 +00:00
Nav
7393b227a8 Added AVR SREG and SP register validation in TDF validation 2024-03-30 19:39:57 +00: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
266cc8f196 Added signature memory segment check to validation script for AVR8 TDFs 2024-03-28 20:54:23 +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
dd0b4dd7e1 Added EDBG parameter size validation to TDF script and other bits of tidying 2024-03-25 18:57:30 +00:00
Nav
0056d56904 Corrected TDF data extraction for EDBG parameters in TDF scripts 2024-03-25 18:56:45 +00:00
Nav
cf99e3e6fa Moved memory segment TDF validation to AVR8 validation class 2024-03-25 18:55:03 +00:00
Nav
57f56e634e Corrected bug in TDF script where TargetRegisterGroup objects were not being constructed correctly 2024-03-22 20:09:04 +00:00
Nav
07019fb358 Generate target descriptor from TDF 2024-03-21 15:04:09 +00:00
Nav
5d63b629e0 Began refactoring target descriptor structs.
This is incomplete - a partial commit of a substantial peice of work
2024-03-21 15:03:06 +00:00
Nav
6c82c4295a Corrected return type of getRegisterGroup() member function in Module TDF struct 2024-03-20 21:28:05 +00:00
Nav
af815fba13 Added tryGetDeviceAttribute() member function to TDF class 2024-03-20 21:13:32 +00:00
Nav
0ee769c872 Used TargetRegisterAccess object in place of a string for Register TDF struct 2024-03-20 21:12:00 +00:00
Nav
af9a8304bd Corrected return type of RegisterGroup::getSubgroup() member function 2024-03-17 13:54:19 +00:00