Commit Graph

208 Commits

Author SHA1 Message Date
Nav
4a40229217 Updated exception message for debugWire activation failure 2022-03-05 17:46:08 +00:00
Nav
084efa9979 Program fuse EDBG AVRISP command 2022-03-05 17:44:28 +00:00
Nav
1d893d6f38 Tidying 2022-03-05 14:27:36 +00:00
Nav
8d5482ce54 Added EDBG AVRISP Read Lock command 2022-03-05 14:27:29 +00:00
Nav
27bb6da374 EDBG AVR response frames for the AVRISP sub-protocol. 2022-03-02 22:46:22 +00:00
Nav
a9fe05e802 EDBG AVR command frames for the AVRISP sub-protocol. 2022-03-02 22:45:29 +00:00
Nav
5309c1117f Added new exception class for debug wire physical interface errors - to be handled with a DWEN fuse check 2022-03-02 00:57:41 +00:00
Nav
0f7ab7b814 Added failure code enum for EDBG AVR8 Generic Protocol 2022-03-02 00:54:16 +00:00
Nav
52533e2878 Moved AVR8 physicalInterface config extraction out of EDBG driver 2022-03-01 22:40:00 +00:00
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
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