Commit Graph

169 Commits

Author SHA1 Message Date
Nav
ce33ecba99 Added word alignment for flash memory access in UPDI sessions 2022-05-28 13:44:10 +01:00
Nav
ae3f83dce7 Corrected EdbgAvr8Interface readMemory() alignment bug 2022-05-28 13:29:08 +01:00
Nav
abfd47dc9c Tidying 2022-05-23 23:50:10 +01:00
Nav
33da17e393 Added support for flash memory writes in EdbgAvr8Interface 2022-05-23 23:49:49 +01:00
Nav
046eefb6e4 AVR8 EDBG memory types for programming mode 2022-05-23 23:48:44 +01:00
Nav
644724a529 Tidying 2022-05-17 19:51:13 +01:00
Nav
514355fbbb Moved flash memory address & byte alignment into separate functions in EdbgAvr8Interface 2022-05-17 19:51:00 +01:00
Nav
aefe3dd7e8 Added programmingModeEnabled flag to EdbgAvr8Interface 2022-05-17 19:45:56 +01:00
Nav
0808303311 Moved EdbgAvr8Interface static inline functions to source file 2022-05-17 19:45:30 +01:00
Nav
89e81129fe Implemented programming mode functions in EdbgAvr8Interface implementation 2022-05-15 17:40:56 +01:00
Nav
39d2bb7c5a Enabled flash paging for SPM AVR8 EDBG memory type 2022-05-14 22:37:47 +01:00
Nav
158a32a259 Fixed bug where we were incorrectly offsetting flash reads (see https://github.com/navnavnav/Bloom/issues/40) 2022-05-14 22:36:19 +01:00
Nav
814b98ddd0 Tidying 2022-05-09 22:36:44 +01:00
Nav
b6879991a2 Made missing break event post attach a warning instead of an error 2022-05-03 19:59:38 +01:00
Nav
15f7aca952 Mentioned OCDEN fuse bit in AVR8 failure error message 2022-05-01 21:18:20 +01:00
Nav
a11e347e2c Implemented waiting for target stopped event after invoking a target reset via the EDBG AVR8 interface 2022-04-08 22:16:19 +01:00
Nav
28ea24c614 Tidying 2022-04-04 22:21:42 +01:00
Nav
e05084ebda Removed unnecessary restriction for XMEGA and UPDI enabled targets, where the flash page size must not exceed the maximum memory access size.
This restriction is not necessary for XMEGA and UPDI targets because paged memory access is not required for those targets.
2022-04-04 17:28:26 +01:00
Nav
2b7864e908 Tidying 2022-03-21 13:05:08 +00:00
Nav
a3b9bb8ca2 Replaced messy AVR8 target config approach with new Avr8TargetConfig object 2022-03-19 13:28:11 +00:00
Nav
3d95a983b6 EDBG implementation of the TargetPowerManagementInterface 2022-03-16 17:12:52 +00:00
Nav
97cc3cdce3 EDBG Parameters for LED and Target Power control 2022-03-16 17:12:19 +00:00
Nav
7d6a58301f EDBG Control protocol handler ID 2022-03-16 17:11:57 +00:00
Nav
86a47de181 EDBG Control protocol set parameter command 2022-03-16 17:11:31 +00:00
Nav
acb38c3a64 EDBG Control protocol get parameter command 2022-03-16 17:10:08 +00:00
Nav
1eccebd487 New base class for EDBG Control protocol response frame 2022-03-16 17:09:43 +00:00
Nav
7adfd47214 New base class for EDBG Control protocol command frame 2022-03-16 17:09:18 +00:00
Nav
14bdfbf89a New constructor with command ID param for delegating construction, for the CMSIS-DAP command class 2022-03-16 17:01:23 +00:00
Nav
f8fae588cc EDBG driver implementation of the AvrIspInterface 2022-03-05 17:56:02 +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
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