Commit Graph

1588 Commits

Author SHA1 Message Date
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
a4c08c1b0a Stricter string to integer conversion in TDF scripts 2024-02-12 19:14:25 +00:00
Nav
fdf7b936e2 Updated PHP dependencies in README - TDF processing now requires the mbstring PHP extension 2024-02-09 23:38:53 +00:00
Nav
e70b4cc972 Updated TDF mapping generation script to use new services 2024-02-09 23:36:19 +00:00
Nav
025d2d6e08 Updated TDF validation script to use new services 2024-02-09 23:35:53 +00:00
Nav
e991077c5a New TDF validation service for AVR8 TDFs 2024-02-09 23:35:26 +00:00
Nav
955f738691 New TDF validation service 2024-02-09 23:34:45 +00:00
Nav
8ec72afaef New TDF discovery service 2024-02-09 23:34:22 +00:00
Nav
5ea04625ef New service for converting TDFs to/from XML documents 2024-02-09 23:32:58 +00:00
Nav
c563443737 Refactored TDF processing PHP code to confirm to new TDF format 2024-02-09 23:30:47 +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
866cdbdcc5 Replaced target architecture with target family in TDF build scripts 2023-12-17 17:57:35 +00:00
Nav
4dd6050781 Renamed variant 'ordercode' to 'name' 2023-12-13 23:03:04 +00:00
Nav
89f34ee3b8 Replaced constants with PHP enums in TDF scripts. Updated PHP version in dependency list in the README 2023-12-13 21:03:50 +00:00
Nav
dc09fe77a8 Added TargetFamily in TDF scripts 2023-12-13 21:00:37 +00:00
Nav
e2ed0002bd More TDF reformatting 2023-12-13 20:40:14 +00:00
Nav
0ed72979b8 Added single file support in TDF validation script 2023-12-13 20:34:37 +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
5dd4af6705 Removed redundant MAKE_DIRECTORY call 2023-12-12 23:37:53 +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
Nav
2fc639fb14 Tidying 2023-11-25 07:44:50 +00:00
Nav
73b1328f9f RISC-V general purpose register descriptors 2023-11-24 15:19:52 +00:00
Nav
fad19ce114 Implemented RiscV::getStackPointer() 2023-11-24 15:19:07 +00:00
Nav
3908ad6848 Switched to using underlying RegisterNumber type for RISC-V register numbers 2023-11-23 23:31:13 +00:00