Commit Graph

631 Commits

Author SHA1 Message Date
Nav
6ed044d7bf Tidying 2022-03-08 20:45:34 +00:00
Nav
5e7c518b33 Added new EDBG ISP implementation to Xplained Mini debug tool 2022-03-08 20:45:22 +00:00
Nav
f887d4b472 ISP parameter validation for debugWire targets 2022-03-07 15:11:28 +00:00
Nav
29d1a340ad ISP parameter extraction in AVR8 TDF validation script 2022-03-07 15:10:58 +00:00
Nav
494729a285 EDBG AvrIspInterface implementation added for the MPLAB Snap 2022-03-05 18:06:40 +00:00
Nav
c0f79e777d Tidying 2022-03-05 18:05:31 +00:00
Nav
7c21483f15 If enabled, attempt to update the DWEN fuse bit on AVR8 targets, upon debugWire activation failure 2022-03-05 18:03:38 +00:00
Nav
6fb940dd59 Function to update DWEN fuse bit on AVR8 targets, via the ISP interface 2022-03-05 18:03:00 +00:00
Nav
066c7a469f New AVR8 target config parameter ("updateDwenFuseBitOnDebugWireFailure") 2022-03-05 18:02:11 +00:00
Nav
503605cfa0 AvrIspInterface extraction from the debug tool, via the Avr8 target class 2022-03-05 18:01:19 +00:00
Nav
5e1d05ef7f Added EDBG AvrIspInterface implementation to AtmelIce debug tool class 2022-03-05 17:57:57 +00:00
Nav
50ef525c43 Getter function for AvrIspInterface instance, in the debug tool class 2022-03-05 17:57:05 +00:00
Nav
f8fae588cc EDBG driver implementation of the AvrIspInterface 2022-03-05 17:56:02 +00:00
Nav
fce0141a4e Interface class for interfacing with the target via ISP 2022-03-05 17:47:08 +00:00
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
f19da7d261 Added Read Lock pollIndex to IspParameters struct. And extraction from TDF 2022-03-05 14:09:36 +00:00
Nav
72a557041a Renamed FuseBitDescriptor struct 2022-03-05 14:08:47 +00:00
Nav
b50333c170 Tidying 2022-03-04 23:46:44 +00:00
Nav
38260dc358 DWEN & SPIEN fuse bit descriptor extraction from AVR8 TDFs 2022-03-04 23:43:26 +00:00
Nav
aa73b431ae Bit field struct and TDF extraction 2022-03-04 15:36:07 +00:00
Nav
914d5bc893 Fuse bit descriptor struct 2022-03-03 22:07:24 +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
f6399faf9e Added AVR Fuse struct and FuseType enum 2022-03-02 22:44:54 +00:00
Nav
67e74a34b6 AVR8 TDF tidying and const correctness 2022-03-02 22:42:55 +00:00
Nav
3435d20a85 ISP parameter struct and TDF extraction 2022-03-02 22:42:28 +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