Commit Graph

31 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Nav
c0531a00da Implemented RISC-V setProgramCounter() 2023-11-23 19:44:08 +00:00
Nav
ba32e9baf9 Tidying 2023-11-23 17:53:50 +00:00
Nav
5d552e4e7c Implemented RiscV getProgramCounter() 2023-11-23 16:42:02 +00:00
Nav
86d3709e46 Tidying 2023-11-23 16:35:09 +00:00
Nav
db7d735d68 Implemented RISC-V stepping 2023-11-23 16:34:35 +00:00
Nav
257c316369 RISC-V register access 2023-11-23 16:32:53 +00:00
Nav
522187382a RISC-V abstract commands 2023-11-23 15:21:46 +00:00
Nav
776ce3c44d Tidying 2023-11-23 13:53:12 +00:00
Nav
c1c9a0ceeb RISC-V hart selection 2023-11-23 12:56:26 +00:00
Nav
ad1261ebc8 Implemented RiscV::getState() 2023-11-22 00:53:51 +00:00
Nav
fc1fd22499 Made a start with RISC-V target implementation 2023-11-22 00:38:40 +00:00