Commit Graph

181 Commits

Author SHA1 Message Date
Nav
1de011f948 Correcting outdated comment and some tidying 2024-03-02 02:00:43 +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
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
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
7924478145 Tidying TDF processing in preparation for RISC-V accomodation 2023-12-10 13:04:05 +00:00
Nav
2fc639fb14 Tidying 2023-11-25 07:44:50 +00:00
Nav
d3c7cddb82 Added TargetFamily to TargetDescriptor and comparability check in AVR GDB debug server 2023-11-22 00:37:29 +00:00
Nav
ad2c709374 Corrected seg fault when deactivating an AVR8 target in the absence of an AVR8 debug interface. 2023-11-18 14:50:54 +00:00
Nav
9904d93314 Support for reserved hardware breakpoint (for stepping on AVR8 targets) 2023-09-23 21:50:04 +01:00
Nav
b5df37ae9b Removed TargetProgramCounter type alias 2023-09-21 00:40:30 +01:00
Nav
d7b59cac59 Support for hardware breakpoints 2023-09-20 23:43:29 +01:00
Nav
ea33faf535 Tidying 2023-09-14 21:16:03 +01:00
Nav
c80984021b Added 0xFFFF opcode as some AVRs treat it as an SBRS instruction.
Also some tidying
2023-09-14 21:10:57 +01:00
Nav
667b0327e8 Tidying 2023-09-10 18:33:23 +01:00
Nav
3203635397 Added AVR8 instruction mnemonic enum 2023-09-10 13:59:42 +01:00
Nav
20cbf14809 AVR8 opcode decoder 2023-09-10 01:18:53 +01:00
Nav
47f9ce0415 Tidying 2023-09-07 23:21:36 +01:00
Nav
e6cafdb3cf Adjusted TDF mapping to use paths relative to the resources directory 2023-08-20 15:34:44 +01:00
Nav
9a6e22e6c7 Corrected member initialisation order (addressing -Wreorder warnings) 2023-08-19 21:53:00 +01:00
Nav
5896306f1a Removed redundant 'Bloom' namespace from entire codebase 2023-08-13 15:47:51 +01:00
Nav
f3b64beaff Added warning when RE EEPROM data being lost when preserveEeprom is disabled 2023-07-18 23:17:13 +01:00
Nav
216a1357b7 Moved programming mode requirement for fuse programming into EDBG driver, as it is specific to that driver 2023-07-18 23:17:13 +01:00
Nav
b4ec41c34a Added additional check for the "NVM_FUSES" module, when locating fuses in AVR8 TDFs.
Also some tidying of peripheral register address offset extraction.
2023-07-18 23:17:13 +01:00
Nav
264cd83048 Corrected premature DWEN fuse bit management warning (regression from previous refactor) 2023-07-18 23:17:13 +01:00
Nav
1f90f21870 Refactored the preserveEeprom implementation to make use of the EESAVE fuse 2023-07-18 23:17:13 +01:00
Nav
6aca0731b2 Extract EESAVE fuse bit descriptor from AVR8 TDF 2023-07-18 23:17:13 +01:00
Nav
f3f0b504f3 Removed fuse type restriction when extracting fuse bit descriptors from AVR8 TDFs 2023-07-18 23:17:13 +01:00
Nav
df51da4479 Added AVR8 fuse enable strategy 2023-07-18 23:17:13 +01:00
Nav
ba03833325 Lots of tidying
- Removed generic `avr8` target
- Simplified AVR8 target construction
- Introduced register descriptor IDs
- Simplified GDB register mappings
- Simplified target interface contract
- Other bits of tidying
2023-07-18 23:16:06 +01:00
Nav
efeb5ad48c Corrected "Unknown target family" error for new AVR EA targets. 2023-05-12 19:08:52 +01:00
Nav
c88dc35e4b Included target ID verification in OCDEN fuse bit management 2023-05-08 13:04:26 +01:00
Nav
e65acaac99 Tidying 2023-05-07 17:10:29 +01:00
Nav
e5c78e7b3a Added preserveEeprom target param 2023-05-07 16:50:59 +01:00
Nav
69e5ea2262 Warn users who are still using the deprecated "avr8" config param value 2023-05-07 16:50:37 +01:00
Nav
ce3d58c7a4 Consistency tweaks to DWEN fuse bit management 2023-05-07 16:50:14 +01:00
Nav
6ae1ef1be2 OCDEN fuse bit management 2023-05-07 16:49:45 +01:00
Nav
eca86fcb1a Added support for flash memory inspection 2023-05-04 00:20:56 +01:00
Nav
56ea97369d Preparation for support for the GDB vCont command packet
Also fixed a bug in the `StepExecution` and `ContinueExecution` constructors, where the from address wasn't being extracted properly
2023-04-01 12:37:59 +01:00
Nav
5833aeeb26 Removed unnecessary QDomDocument instance from TDF class 2023-03-05 23:30:42 +00:00
Nav
90ef72f686 Moved String helper functions to service class 2023-02-20 21:55:55 +00:00
Nav
8fa7e82c56 Moved Paths helper functions to service class 2023-02-20 21:55:55 +00:00
Nav
e3e37ace4b Ignore erase requests for debugWire targets 2022-12-18 21:35:10 +00:00
Nav
d9d8b3f450 Tidying 2022-12-13 21:12:16 +00:00
Nav
29d548b017 Tidying 2022-12-12 01:15:06 +00:00
Nav
91f8cbc931 Corrected value of APPICATION_BYTES XMEGA (PDI) device parameter in EDBG driver. Also added APP section start address extraction 2022-12-12 00:52:50 +00:00
Nav
b3ccd8f7de Removed automatic erasing when writing to flash memory on AVR8 targets 2022-12-11 23:27:47 +00:00
Nav
08bc12a26b Deleted redundant AVR8 ProgrammingSession struct 2022-12-11 23:27:08 +00:00
Nav
83c273a22b Implemented eraseMemory() member function in AVR8 class 2022-12-11 18:18:44 +00:00