Commit Graph

81 Commits

Author SHA1 Message Date
Nav
3893187aed Tidying - using scoped enums 2022-03-01 20:39:04 +00:00
Nav
15f22b612f Moving ResponseId enum for the HOUSEKEEPING EDBG protocol out of the command frame class header. 2022-03-01 20:34:49 +00:00
Nav
8c3d49df79 Moving ResponseId enum for the DISCOVERY EDBG protocol out of the command frame class header. 2022-03-01 20:18:45 +00:00
Nav
0fba3f6d3c Tidying 2022-03-01 19:58:04 +00:00
Nav
e26af5ee7d Moved getResponseId() function out of AvrResponseFrame class and into derived classes 2022-03-01 19:40:29 +00:00
Nav
893a1d4ac1 Removing unnecessary copies in AvrEvent construction 2022-03-01 16:57:38 +00:00
Nav
1fa88e83f5 More comment tweaks 2022-02-28 22:17:18 +00:00
Nav
d8504eedca Tidying and comments 2022-02-28 17:10:08 +00:00
Nav
1a95a9d6c1 Renamed ResponseFrameType alias to ExpectedResponseFrameType 2022-02-28 17:07:44 +00:00
Nav
5aa233eec7 Refactored CMSIS-DAP Response command classes and introduced the ExpectedResponseType alias in CMSIS-DAP commands. 2022-02-28 16:27:24 +00:00
Nav
081fba5cbd Reduced memory allocations when generating raw buffer from EDBG AVR command frames 2022-02-28 00:54:26 +00:00
Nav
3163f5c1e3 More tidying of EDBG AVR commands frames 2022-02-27 23:33:45 +00:00
Nav
51678ed08e Removed unnecessary copying when generating raw buffers from EDBG AVR command frames. 2022-02-27 23:33:16 +00:00
Nav
8b6ee9f100 Tidying 2022-02-27 20:44:01 +00:00
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