Commit Graph

67 Commits

Author SHA1 Message Date
Nav
8cb60f442b Fixed bug with EDBG AVR8 WriteMemory command having an inflated payload 2022-02-27 20:40:40 +00:00
Nav
cfa2a25a1a Fixed bug with EDBG AVR8 SetParameter command having an inflated payload 2022-02-27 20:39:06 +00:00
Nav
16e20b89b6 Switched to automatic storage for EDBG AVR command frame payloads that are fixed in size, in the EDBG driver.
This means we don't have to keep allocating space (using std::vector) for each command payload, when the payload is fixed in size.
Also, some general tidying of the EDBG AVR command frames.
2022-02-27 20:32:29 +00:00
Nav
f28ec0f162 Renamed Avr8Interface class to Avr8DebugInterface, in preparation for an AVR8 programming interface class 2022-02-15 13:14:03 +00:00
Nav
53a3c815d7 Removed using namespace directive for class member function definitions in source files 2022-02-05 15:32:08 +00:00
Nav
20155ee8ff Disabling use of the masked memory read command in the EDBG driver, by default 2022-01-22 16:15:16 +00:00
Nav
ae00ed8013 Tidying 2022-01-16 18:54:58 +00:00
Nav
d462358b1e Tidying 2022-01-11 21:12:25 +00:00
Nav
1e7e3c45fc Added new 'disableDebugWirePreDisconnect' target parameter, for automatically disabling debugWire before disconnecting from the target. 2021-12-27 04:17:15 +00:00
Nav
38afcfd84c Disabled use of masked memory read commands, for non-SRAM reads, in the EDBG AVR8 driver.
EDBG tools don't seem to support masked memory reads for EEPROM or FLASH. They just report an 'invalid memtype' error.
2021-12-26 00:41:23 +00:00
Nav
cacd81b1dc Tidying 2021-12-25 21:22:29 +00:00
Nav
82c036cc22 Fixed bug with driver-side exclusions for memory reads, in the EdbgAvr8Interface.
The driver was issuing memory reads for 0 bytes. This was causing issues with some EDBG debug tools.
2021-12-25 20:59:29 +00:00
Nav
6f364a7009 Added support for excluding address ranges from read memory events 2021-12-25 20:57:03 +00:00
Nav
a6ffd3cecc Tidying 2021-11-27 14:57:41 +00:00
Nav
ca66cc856a Additional check in AVR8 EDBG driver to confirm the target's flash page size does not exceed the maximum memory access limit of the debug tool. 2021-11-27 14:57:04 +00:00
Nav
bd12096222 Tidying 2021-11-22 23:18:46 +00:00
Nav
0d2393e4e0 AVR EDBG Housekeeping GetParamter command 2021-11-22 23:11:32 +00:00
Nav
2177016e15 AVR EDBG Housekeeping parameters and contexts 2021-11-22 23:11:10 +00:00
Nav
f202502005 Added maximumMemoryAccessSizePerRequest limit in EdbgAvr8Interface class to allow debug tools to apply a hard limit on memory access sizes per request 2021-11-22 23:07:18 +00:00
Nav
1ef78dafb1 Single definition of Bloom website domain 2021-11-02 23:26:11 +00:00
Nav
086d5e45b9 Improved performance of driver-side masked memory reads, within the AVR8 EDBG driver 2021-10-31 11:36:28 +00:00
Nav
d6aa2ec91a Const placement consistency 2021-10-31 11:36:28 +00:00
Nav
6edfb7376a Tidied structure of all classes within the entire code base
Also some other small bits of tidying
2021-10-31 11:36:28 +00:00
Nav
8f48d8be6d Corrected AVR8 family to physical interface mapping, to include UPDI for MEGA and TINY targets 2021-10-30 19:20:14 +01:00
Nav
8bb19a0874 Tidying 2021-10-04 23:42:58 +01:00
Nav
be34025af1 Implemented driver-side masked memory reading in EdbgAvr8Interface driver 2021-10-04 21:31:39 +01:00
Nav
df6b94b0de Tidying/consistency of includes 2021-10-02 17:39:33 +01:00
Nav
647b6bc3e1 Consistent config parameter case convention. Left the camel-case version for backwards compatibility. 2021-09-25 23:27:53 +01:00
Nav
619641a33e Clarified AVR8 EDBG driver exception messages 2021-09-25 20:12:53 +01:00
Nav
ebfd97eae8 Tidying 2021-09-21 21:21:57 +01:00
Nav
b5d6e8d88b Some tidying in the AVR8 EDBG driver 2021-09-02 21:33:38 +01:00
Nav
8c08493122 Comments for clarity on register extraction in AVR8 EDBG driver. 2021-08-31 19:45:49 +01:00
Nav
6907b79880 Flipped multi-byte AVR8 register values in AVR8 EDBG driver (AVR8 registers are stored LSB, so they needed to be flipped to MSB) 2021-08-31 19:45:05 +01:00
Nav
ff820d8983 Refined OCD data register address exclusion from memory reads, when reading register values in the AVR8 EDBG driver 2021-08-31 19:43:35 +01:00
Nav
9ac2b2617b Removed obsolete GP register extraction function from AVR8 EDBG driver 2021-08-31 19:40:30 +01:00
Nav
21f89df9ad Missing include and some tidying 2021-08-31 19:39:52 +01:00
Nav
9d9f429fba Dramatically improved speed of register reading in the AVR8 EDBG driver
This will accommodate Insight's eager loading of target registers via the new TargetRegistersSidePaneWidget
2021-08-30 22:30:35 +01:00
Nav
85fbf1ada4 Used more specific exception classes to allow the TC to handle device failure errors better 2021-08-15 01:47:48 +01:00
Nav
f4da255b75 Updated target register interface with more generic register access & manipulation functions 2021-08-07 17:28:54 +01:00
Nav
8a048311ac Target register tidying 2021-07-20 19:21:18 +01:00
Nav
d8f53e4f9f Moved AVR8 TDF data extraction into AVR8 TDF class. 2021-07-06 20:07:41 +01:00
Nav
8145708851 Corrected issue with JTAG/debugWire AVR8 parameters including mapped IO memory address offset 2021-07-04 00:29:43 +01:00
Nav
aa6395a002 Corrected issue with byte order expectations for target registers.
This was the cause for that issue with GDB using the incorrect memory addresses for local variables, after the PC and SP had been changed.
Also renamed SP start address parameter to make the byte order of the register clear.
2021-07-02 01:34:17 +01:00
Nav
9861c3652a Tidying 2021-07-01 23:52:15 +01:00
Nav
21bf197801 Tidying 2021-06-30 03:11:41 +01:00
Nav
403f3ca408 Corrected issue with UPDI register reading 2021-06-30 03:09:36 +01:00
Nav
fd541d0d4d Blocked use of ambiguous "avr8" target name in configuration file, for UPDI sessions. 2021-06-29 22:33:54 +01:00
Nav
8fd1781272 Clarified comment RE EDBG AVR8 target parameters 2021-06-28 15:24:42 +01:00
Nav
5859af7c45 Corrected target signature extraction via EDBG AVR8 protocol, for UPDI AVR8 targets 2021-06-27 20:10:00 +01:00
Nav
1971f0a89e Refactored AVR8 TDF loading
Refactored EDBG AVR8 target parameter uploading
Implemented UPDI parameter extraction (from TDF) and uploading to debug tool
Introduced supported physical interfaces in AVR8 TDFs
2021-06-27 20:09:15 +01:00