Commit Graph

56 Commits

Author SHA1 Message Date
Nav
77a52bab96 Added link to debugWire article RE enabling the DWEN fuse bit 2022-03-13 20:45:52 +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
52533e2878 Moved AVR8 physicalInterface config extraction out of EDBG driver 2022-03-01 22:40:00 +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
cacd81b1dc Tidying 2021-12-25 21:22:29 +00:00
Nav
6f364a7009 Added support for excluding address ranges from read memory events 2021-12-25 20:57:03 +00:00
Nav
a0ef9051ba Corrected end address in AVR8 memory descriptors 2021-12-24 14:33:34 +00:00
Nav
cd0f2428ef Separate routine for fetching the current stack pointer 2021-11-11 19:03:23 +00:00
Nav
b01d1ea1ed EEPROM memory descriptor for AVR8 targets 2021-11-05 23:44:15 +00:00
Nav
49cb5da872 Corrected memory descriptor address range for internal RAM on AVR8 targets 2021-10-31 11:36:28 +00:00
Nav
59fcb9c211 Loading TargetMemoryDescriptor for AVR8 targets 2021-10-31 11:36:28 +00:00
Nav
356c06f4f3 Tidying lambdas 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
df6b94b0de Tidying/consistency of includes 2021-10-02 17:39:33 +01:00
Nav
ebfd97eae8 Tidying 2021-09-21 21:21:57 +01:00
Nav
39c95857e5 Replaced TargetIoPortsUpdated event with RegistersWrittenToTarget event 2021-09-12 23:28:16 +01:00
Nav
1bc881e9ae Included variant ID in target pin descriptor 2021-09-04 17:58:05 +01:00
Nav
d79977317d Honouring read/write flags in AVR8 TDFs 2021-08-30 22:32:40 +01:00
Nav
3b458bd12d Use std::set instead of std::vector for TargetRegisterDescriptors 2021-08-30 22:23:27 +01:00
Nav
9e29c3b19a Removed target register descriptor ID 2021-08-07 18:09:12 +01:00
Nav
f4da255b75 Updated target register interface with more generic register access & manipulation functions 2021-08-07 17:28:54 +01:00
Nav
d709c8aac9 Retrieving AVR8 target registers and including them in the TargetDescriptor 2021-08-07 17:15:48 +01:00
Nav
41c98bc5ba Fixed bug with AVR8 output pin manipulation where GPIO CLEAR registers were not being set correctly.
When the GPIO CLEAR register is not the same as the SET register, there is
no need to read the value before setting the appropriate bit on the
CLEAR register. We were reading the value and *then* setting the
appropriate bit. The value we were reading had previous bits set (from previous
clear operations, I suspect), which we were not clearing (before
setting the appropriate bits). This was resulting in other GPIO pins
on the same PORT being cleared unexpectedly. Doh!
2021-07-17 01:57:13 +01:00
Nav
d8f53e4f9f Moved AVR8 TDF data extraction into AVR8 TDF class. 2021-07-06 20:07:41 +01:00
Nav
8145708851 Corrected issue with JTAG/debugWire AVR8 parameters including mapped IO memory address offset 2021-07-04 00:29:43 +01:00
Nav
aa6395a002 Corrected issue with byte order expectations for target registers.
This was the cause for that issue with GDB using the incorrect memory addresses for local variables, after the PC and SP had been changed.
Also renamed SP start address parameter to make the byte order of the register clear.
2021-07-02 01:34:17 +01:00
Nav
21bf197801 Tidying 2021-06-30 03:11:41 +01:00
Nav
e1962ba61a Included CPU register offset in stack pointer and status register addresses 2021-06-30 03:10:16 +01:00
Nav
419fcbb2f0 Tidying 2021-06-27 21:33:08 +01:00
Nav
1971f0a89e Refactored AVR8 TDF loading
Refactored EDBG AVR8 target parameter uploading
Implemented UPDI parameter extraction (from TDF) and uploading to debug tool
Introduced supported physical interfaces in AVR8 TDFs
2021-06-27 20:09:15 +01:00
Nav
0931bc649f Decoupled AVR8 physical interface enum from EDBG protocol code 2021-06-26 04:30:01 +01:00
Nav
1f7907699f Sending target parameters to the debug tool before activation, for AVR8 targets 2021-06-26 03:46:37 +01:00
Nav
e7c026bd7a Corrected integer conversion in target parameter extraction routine. 2021-06-26 03:45:00 +01:00
Nav
656e48ca6d Added VDD pin identification for AVR8 targets 2021-06-26 03:43:50 +01:00
Nav
d365f6348b General tidying, addressing issues found by static analysis tool. 2021-06-22 23:52:31 +01:00
Nav
57acda4b3b Included SSOP target package and updated the Insight window to use the DIP widget for SOIC, SSOP and DIP packages.
Also updated the Insight window to use the QFP widget for QFN packages.
2021-06-20 22:55:48 +01:00
Nav
a65cc0b5c0 More TDF refactoring
Moved address space, module, property group, variant, pinout and peripheral module extraction to TDF initialisation.
Also some other bits of tidying.
2021-06-06 20:06:43 +01:00
Nav
3f1247ce74 Fixed issue with automatic config variant selection, where we were not properly handling XMEGA targets with the JTAG physical interface.
Also introduced new AVR8 families, for D series targets.
Also moved AVR family param outside of TargetParameters struct
2021-06-06 18:41:08 +01:00
Nav
bff9f7c317 Mopping up some TDF refactoring 2021-06-05 22:37:54 +01:00
Nav
91b40133a1 Fixed issue with AVR8 EEPROM address register loading from TDFs 2021-06-05 22:35:24 +01:00
Nav
ce7e0147db Refactoring AVR8 target variant & pin/pad loading 2021-06-03 01:06:11 +01:00
Nav
11e328e81f Some more renaming of part description files to target description files 2021-06-03 00:49:08 +01:00
Nav
104ec95a65 Construct an AVR8 TDF via a TargetSignature object, as opposed to the signature hex value. 2021-06-03 00:26:20 +01:00
Nav
571211b337 Renamed part description files to target description files.
Introduced a generic target description file class with an AVR8 derivation.
Moved AVR8 target description files
2021-05-31 01:42:18 +01:00
Nav
ce480a996c Removed all using declarations and directives from header files 2021-05-24 20:58:49 +01:00