Commit Graph

76 Commits

Author SHA1 Message Date
Nav
ae1b0c000d Tidying 2021-08-22 20:58:54 +01:00
Nav
4b76a41076 Added < boolean operator overload for TargetRegisterDescriptors 2021-08-21 21:11:36 +01:00
Nav
c48de5247b Reduced TargetRegisterType enum size. 2021-08-19 22:10:07 +01:00
Nav
30ae552211 Removed obsolete class and tidied CMakeLists file 2021-08-08 13:59:22 +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
8a048311ac Target register tidying 2021-07-20 19:21:18 +01:00
Nav
dccf77fdb0 Fixed bug with AVR8 target variant extraction from TDFs 2021-07-17 23:32:29 +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
18ba67534a Removed unused UPDI target params 2021-06-28 22:00:02 +01:00
Nav
cfd8326b6e Corrected bug with FUSES memory segment extraction from AVR8 TDFs 2021-06-28 21:59:47 +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
0433d6c351 Updated data size requirements for fields in TDF address space data structure 2021-06-26 03:47:58 +01:00
Nav
ad18ff94fa Extracting interfaces from TDFs 2021-06-26 03:47:23 +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
750bea9bd4 Included OCD base address value in TDFs for AVR8 targets that support UPDI. 2021-06-25 23:24:23 +01:00
Nav
d365f6348b General tidying, addressing issues found by static analysis tool. 2021-06-22 23:52:31 +01:00
Nav
a9c6171ac2 Removed duplicate target variants from Insight window 2021-06-20 22:57:09 +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
c93c012cbb Added some documentation on TDFs 2021-06-20 17:45:47 +01:00
Nav
46773a82b3 Final TDF corrections - Validation script now reports zero failures 2021-06-20 15:59:14 +01:00
Nav
4936da5367 More TDF corrections 2021-06-20 01:34:28 +01:00
Nav
43f341fda1 Removed TDFs for discontinued targets (found by validation script) 2021-06-20 01:33:03 +01:00
Nav
6a7e69f567 More TDF corrections 2021-06-19 23:55:40 +01:00
Nav
adde3cc2ca Included pinout lookup in TDF validation and corrected TDFs where the lookups failed 2021-06-15 02:31:04 +01:00
Nav
7eccab6d7b More TDF corrections 2021-06-15 02:12:27 +01:00
Nav
9fcc970235 More TDF corrections and some tidying 2021-06-14 22:23:41 +01:00
Nav
cd79dbbb2c More TDF corrections 2021-06-12 01:43:30 +01:00
Nav
a550d2c3a1 Some tidying and more TDF corrections 2021-06-11 23:59:17 +01:00
Nav
01ce8dd5a4 More TDF corrections 2021-06-10 00:06:46 +01:00
Nav
213506d136 Corrected TDF pinout/pin-count issues found by the validation script 2021-06-09 22:51:55 +01:00
Nav
be1e978bb6 Added proper handling of TDF parsing errors 2021-06-08 00:43:45 +01:00
Nav
3b6e13c22e Started correcting issues with TDFs found by the TDF validation script 2021-06-08 00:32:24 +01:00
Nav
a42ce9e1e3 Corrected potential issue with resolving TDFs from AVR8 signature values 2021-06-08 00:30:15 +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
9b1f250625 Moved AVR8 specific TDF parsing to AVR8 derivation of TDF class.
Also some other small tweaks to TDF function qualifiers
Also improved some comments
2021-06-06 19:23:45 +01:00
Nav
1aab927ea2 Corrected TDF family attribute values for new Dx-series targets 2021-06-06 18:42:00 +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
5ba95e6967 Corrected typo in OSCCAL register extraction 2021-06-06 17:08:31 +01:00
Nav
a72602e542 Tidying TDFs 2021-06-06 01:08:37 +01:00