Commit Graph

97 Commits

Author SHA1 Message Date
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
7c08a37d82 Renamed ApplicationConfig to ProjectConfig 2022-01-02 21:24:23 +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
03bc17a225 Disabled masked read memory commands for the Xplained Pro debug tool (the tool was reporting a 'not supported' error) 2021-12-25 21:00:37 +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
58eab7b871 Debug tool device driver for the MPLAB PICkit 4 2021-11-28 22:41:41 +00:00
Nav
a03240446e Debug tool driver for Xplained Nano 2021-11-28 22:12:51 +00:00
Nav
5a9f549ad3 Tidying 2021-11-28 20:27:16 +00:00
Nav
3748173877 Debug tool device driver for Xplained Mini 2021-11-28 20:27:02 +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
566d1be694 Device driver for Curiosity Nano evaluation board 2021-11-27 14:54:43 +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
2f484eca76 Restricted memory access requests to 256 bytes per request, for the Xplained Pro debug tool 2021-11-22 23:08:27 +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
ade9550ea2 New Xplained Pro debug tool driver 2021-11-22 23:05:46 +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
931b0b430c Disabled use of masked memory read command for the MPLAB Snap 2021-10-04 21:32:01 +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