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
1f90f21870
Refactored the preserveEeprom implementation to make use of the EESAVE fuse
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
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
ab8693b1e0
Fixed bug where Bloom wasn't managing the DWEN fuse bit on some development boards.
2023-07-18 21:28:45 +01:00
Nav
efeb5ad48c
Corrected "Unknown target family" error for new AVR EA targets.
2023-05-12 19:08:52 +01:00
Nav
5825b11d0b
Added suggestion to check OCDEN fuse bit, in error message for DEVICE_NOT_UNDER_CONTROL error.
2023-05-08 13:24:45 +01:00
Nav
1f57ca3f21
Corrected bug with leaving programming mode on Snap and PICkit 4 debug tools
2023-05-08 02:44:03 +01:00
Nav
e5c78e7b3a
Added preserveEeprom target param
2023-05-07 16:50:59 +01:00
Nav
6ae1ef1be2
OCDEN fuse bit management
2023-05-07 16:49:45 +01:00
Nav
06b6c4460b
Tidying
2023-04-01 12:42:46 +01:00
Nav
755d24da5c
Tidying
2023-03-05 23:29:26 +00:00
Nav
f37f8f301a
Corrected bad rebase
2023-02-27 00:08:01 +00:00
Nav
8fa7e82c56
Moved Paths helper functions to service class
2023-02-20 21:55:55 +00:00
Nav
2b5756c5e2
Tidying
2023-02-20 21:54:28 +00:00
Nav
05832839f0
Output EDBG parameter values in debug logs
2023-01-21 13:54:40 +00:00
Nav
5854b43816
Tidying
2022-12-18 19:28:57 +00:00
Nav
09fc5b73f2
Restricted the size of all memory access commands to ensure that no more than two packets are sent to and from EDBG debug tools
2022-12-18 19:25:40 +00:00
Nav
f64a14b04a
Corrected memory type used for memory writes with the JTAG config variant, in the EDBG AVR8 driver
2022-12-18 19:23:58 +00:00
Nav
ad06cdcc75
Removed the requirement of the max memory access limit being greater than the target's flash page size.
...
It's no longer needed as we've stopped enforcing the limit for memory types that require page alignment.
2022-12-17 18:31:05 +00:00
Nav
3b137aa539
Removed max memory access check during address alignment (it's not needed).
2022-12-17 18:10:51 +00:00
Nav
d9d8b3f450
Tidying
2022-12-13 21:12:16 +00:00
Nav
d0969ea0a7
Disable batching memory reads for EEPROM_PAGE memory type, in EDBG driver
2022-12-13 21:11:56 +00:00
Nav
bf8d59644a
Convert XMEGA addresses to relative form, in EDBG driver
2022-12-12 01:14:56 +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
151d10df72
Tidying
2022-12-12 00:05:01 +00:00
Nav
a792115781
Added sense-check in readMemory() in EDBG driver, to check if the EDBG debug tool actually returned data in response to memory read command
2022-12-11 23:38:23 +00:00
Nav
f0225dba88
Fixed bug (in EDBG driver) with writeMemory() forwarding an invalid memory type to readMemory() (EEPROM_ATOMIC can only be used for writing to memory, not reading)
2022-12-11 23:36:21 +00:00
Nav
131f1aa249
Added EEPROM_PAGE EDBG memory type and aligned both EEPROM_PAGE and EEPROM_ATOMIC memory types
2022-12-11 23:34:26 +00:00
Nav
a0421ce3ff
Refactored EdbgAvr8Interface::eraseProgramMemory() to ensure that it will restore EEPROM data if necessary
2022-12-11 23:32:49 +00:00
Nav
190d734ca3
Tidying
2022-12-11 17:41:20 +00:00
Nav
304e2ab7c6
Tidying
2022-12-08 21:26:56 +00:00
Nav
96a688df08
Added support for writing to EEPROM via EDBG AVR8 Generic driver
2022-12-08 21:14:40 +00:00
Nav
b3fb3f0955
Lots of tidying
2022-12-03 22:16:21 +00:00
Nav
f2d09641a1
Tidying
2022-11-16 23:51:07 +00:00
Nav
bc8206ccc7
Corrected missing header includes
2022-10-09 13:10:17 +01:00
Nav
28cbeb6fc4
More tidying
2022-10-01 21:54:25 +01:00
Nav
2c6fd25ae4
Tidying EDBG driver code:
...
- Binned a lot of pointless code
- Simplified many EDBG data structure implementations
- Const-correctness
- Many other bits of tidying
2022-10-01 20:46:56 +01:00
Nav
a5b0097036
Tidying low-level debug tool driver code:
...
- Use automatic objects for libusb/hidapi resources, where possible (to reduce manual resource management)
- Removed unused/redundant code
- Tidied HidInterface class
- Tidied debug tool initialisation code
- Other bits of tidying
2022-10-01 16:50:57 +01:00
Nav
2282967e0d
Fixed intermittent 'illegal target state' error from EDBG debug tools, when issuing commands immediately after target reset.
2022-09-24 18:45:45 +01:00
Nav
0b54a1b590
Tidying
2022-09-17 20:16:23 +01:00
Nav
65bdcd62d3
Enforce flash page alignment for UPDI targets, when accessing flash
2022-09-17 19:55:55 +01:00
Nav
7d07a9cf6c
Tidying
2022-09-06 17:17:43 +01:00
Nav
46d8ce1854
Added TargetMemoryAddress, TargetMemorySize, TargetProgramCounter and TargetStackPointer aliases
2022-09-06 17:16:49 +01:00
Nav
c7cd88e198
Tidying
2022-07-16 19:12:45 +01:00
Nav
fbf141c7ef
Fixed bug with some debug tools (PICkit4 and Snap) losing control of the target after disabling programming mdoe
2022-06-05 21:04:08 +01:00
Nav
ec987d430e
Removed unnecessary flash page alignment for UPDI flash access
2022-06-05 21:03:28 +01:00
Nav
fae36d89b1
Corrected flash memory access types used for JTAG sessions
2022-06-05 17:49:05 +01:00
Nav
b3af06654c
Tidying
2022-06-04 15:20:37 +01:00
Nav
e8b39122ad
Using FLASH_PAGE memory type in the AVR8 EDBG driver, for flash memory access in UPDI targets
2022-06-04 15:20:02 +01:00