Commit Graph

193 Commits

Author SHA1 Message Date
Nav
092a7df675 Updated TargetControllerConsole to use template method for triggering events for the TargetController. 2021-08-20 22:53:31 +01:00
Nav
e3ec4e31e8 Adjusted optimisation level for release builds 2021-08-20 22:52:39 +01:00
Nav
d5ae3dcdae Updated Qt shared objects (for the Qt6 upgrade) 2021-08-20 22:52:07 +01:00
Nav
c60b1ef75d Removed unused include. Added new line at EOF 2021-08-19 22:20:32 +01:00
Nav
c48de5247b Reduced TargetRegisterType enum size. 2021-08-19 22:10:07 +01:00
Nav
682de0a2ad Made the timezone abbreviation static in the Logger, as it will rarely change throughout an execution cycle and was surprisingly resulting in too many memory allocations. 2021-08-19 22:09:11 +01:00
Nav
3554960a19 Removed unnecessary use of std::string for event management, in an attempt to reduce memory consumption.
Now using 16 bit enums for event types.
2021-08-19 22:06:59 +01:00
Nav
11415ce99a Fixed bug in TargetControllerConsole, where the TargetController would respond to an event before the TargetControllerConsole could register an interest in the response, resulting the the TargetControllerConsole missing the response. 2021-08-19 22:05:15 +01:00
Nav
01c20339f3 Qt6 compatability changes 2021-08-18 22:51:15 +01:00
Nav
29ab3aa3b8 Upgraded to Qt6 2021-08-18 22:49:23 +01:00
Nav
85fbf1ada4 Used more specific exception classes to allow the TC to handle device failure errors better 2021-08-15 01:47:48 +01:00
Nav
89b5875132 More colour tweaks to GPIO pins in Insight 2021-08-14 23:31:57 +01:00
Nav
6daafcc9b2 This should have been included in the commit before last (7a6dcdcbfd) 2021-08-11 00:11:11 +01:00
Nav
f6e3fbe28f More tweaks to the colour palette. Made inner-border colour more apparent. 2021-08-11 00:08:25 +01:00
Nav
7a6dcdcbfd Fixed bug with Insight QApplication object being created too soon, which in turn caused issues with signal capturing.
Also ensured that we only initialise the Insight object when the user has enabled Insight in their config.
2021-08-11 00:07:12 +01:00
Nav
bf7233e01b More tweaks to colour palette 2021-08-08 22:57:44 +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
81ad21b005 Adjusted the Insight window colour palette to use softer colours with a higher temperature (less blue) 2021-08-07 17:31:06 +01:00
Nav
f4da255b75 Updated target register interface with more generic register access & manipulation functions 2021-08-07 17:28:54 +01:00
Nav
7ebc447344 Updated AvrGdbRsp debug server to use the provided register descriptors, instead of creating them 2021-08-07 17:22:59 +01:00
Nav
d709c8aac9 Retrieving AVR8 target registers and including them in the TargetDescriptor 2021-08-07 17:15:48 +01:00
Nav
fd719f1cda Renamed GDB & TargetConrollerConsole read & write register functions/classes to a more generic name. 2021-08-07 17:10:10 +01:00
Nav
3be850fbbf Moved Insight QApplication object to stack 2021-07-23 23:16:17 +01:00
Nav
8a048311ac Target register tidying 2021-07-20 19:21:18 +01:00
Nav
c0b99516d3 Added base class for pin body widgets & increased temperature of pin body colors (so that they're easier on the eyes) 2021-07-19 20:24:07 +01:00
Nav
dccf77fdb0 Fixed bug with AVR8 target variant extraction from TDFs 2021-07-17 23:32:29 +01:00
Nav
0e7c06bf87 Fixed bug with default variant selection in Insight window
The Insight window was failing to default to the first available variant
when the user provided an invalid variant name in their config file.
2021-07-17 02:19:41 +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
86134fead1 Added pin count validation for QFP, QFN, DIP, SOIC and SSOP target packages, in the TDF validation script. 2021-07-09 23:40:33 +01:00
Nav
1c1e07eaf8 Added additional target variant package types in PHP TDF parser 2021-07-09 23:39:43 +01:00
Nav
2e4810389f Moved Insight target widgets to "Widgets" sub-folder. 2021-07-07 20:54:45 +01:00
Nav
d8f53e4f9f Moved AVR8 TDF data extraction into AVR8 TDF class. 2021-07-06 20:07:41 +01:00
Nav
196a280142 Prep for v0.3.0 2021-07-04 01:16:14 +01:00
Nav
ff5edd68b4 Removed unused argument from CMake install command in build script 2021-07-04 01:15:52 +01:00
Nav
15bc6c120b Tidying 2021-07-04 00:35:01 +01:00
Nav
e8b679afaa Corrected minimum G++ version required, in README 2021-07-04 00:33:32 +01:00
Nav
5a8f54a229 Added event listener for thread state changed events from the DebugServer, within Insight.
This covers cases where the DebugServer has unexpectedly shutdown and Insight should follow.
2021-07-04 00:32:05 +01:00
Nav
ac64d04c5d Fixed issue with the Insight window enabling the target widget upon receiving new pin states, even when the target was still running 2021-07-04 00:30:35 +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
12fbbc892d Fixed bug in GDB debug server where interrupt packet wasn't being properly acknowledged 2021-07-04 00:28:31 +01:00
Nav
9d366c822f Added additional check in the TDF validation script to ensure all status registers for AVR8 targets do not exceed one byte in size. 2021-07-02 01:34:59 +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
9861c3652a Tidying 2021-07-01 23:52:15 +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
403f3ca408 Corrected issue with UPDI register reading 2021-06-30 03:09:36 +01:00
Nav
fd541d0d4d Blocked use of ambiguous "avr8" target name in configuration file, for UPDI sessions. 2021-06-29 22:33:54 +01:00
Nav
1526453105 Updated TDF validation script to include validation of UPDI parameters 2021-06-28 23:53:33 +01:00
Nav
5a16e59528 Corrected bug in AVR8 TDF validation for targets with PDI support 2021-06-28 23:52:32 +01:00