Commit Graph

51 Commits

Author SHA1 Message Date
Nav
084eef1a30 Moved wMaxPacketSize retrieval to Usb::UsbDevice class.
And some other bits of tidying
2023-12-02 19:31:26 +00:00
Nav
516892f7eb Added Microchip namespace to EDBG debug tool classes 2023-11-18 23:50:42 +00:00
Nav
1600888624 Extract debug tool firmware version at startup 2023-11-18 23:15:11 +00:00
Nav
55d3fe76e0 Moved EDBG protocol code to more appropriate directory.
Updated necessary namespaces.
Other bits of tidying.
2023-11-17 22:20:39 +00:00
Nav
5896306f1a Removed redundant 'Bloom' namespace from entire codebase 2023-08-13 15:47:51 +01:00
Nav
ba03833325 Lots of tidying
- Removed generic `avr8` target
- Simplified AVR8 target construction
- Introduced register descriptor IDs
- Simplified GDB register mappings
- Simplified target interface contract
- Other bits of tidying
2023-07-18 23:16:06 +01:00
Nav
1f57ca3f21 Corrected bug with leaving programming mode on Snap and PICkit 4 debug tools 2023-05-08 02:44:03 +01:00
Nav
adcca0079d Check if Microchip hybrid devices (Snap and PICkit 4) are not in AVR mode and report back to the user. 2023-05-07 16:44:15 +01:00
Nav
dfaac9e30f Extract HID report size for EDBG debug tools via HID endpoint descriptor.
Removed hidapi bodge (where we were mimicking the hid_device_ struct, to
obtain the report size via `(hid_device_*)->input_ep_max_packet_size`).
2023-01-14 03:03:10 +00:00
Nav
b2fc7f4953 Corrected bug with XplainedPro debug tool driver adjusting max memory access size in the wrong place 2022-12-11 13:20:41 +00:00
Nav
13cf4eb3a4 Restored memory access soft limit for Xplained Pro debug tool (this got lost in the refactor I did a few weeks/months back) 2022-12-08 21:34:46 +00:00
Nav
f2d09641a1 Tidying 2022-11-16 23:51:07 +00:00
Nav
0d4216fd8f Moved most of the EDBG device code to an abstract base class, to reduce code duplication 2022-10-02 15:29:17 +01:00
Nav
2c6fd25ae4 Tidying EDBG driver code:
- Binned a lot of pointless code
- Simplified many EDBG data structure implementations
- Const-correctness
- Many other bits of tidying
2022-10-01 20:46:56 +01:00
Nav
a5b0097036 Tidying low-level debug tool driver code:
- Use automatic objects for libusb/hidapi resources, where possible (to reduce manual resource management)
- Removed unused/redundant code
- Tidied HidInterface class
- Tidied debug tool initialisation code
- Other bits of tidying
2022-10-01 16:50:57 +01:00
Nav
4956920432 Debug tool driver for the JTAGICE3 2022-05-04 20:06:56 +01:00
Nav
ed5188a2ef EDBG target power management interface for Curiosity Nano debug tool 2022-03-16 17:39:08 +00:00
Nav
c5c622b59d EDBG target power management interface for Xplained Pro debug tool 2022-03-16 17:38:58 +00:00
Nav
78b96ed277 EDBG target power management interface for Xplained Nano debug tool 2022-03-16 17:38:52 +00:00
Nav
55013dfc4a Target power mangement interface for the Xplained Mini evaluation board 2022-03-16 17:14:47 +00:00
Nav
2f031b91a4 Added new EDBG ISP implementation to Power Debugger debug tool 2022-03-09 21:55:34 +00:00
Nav
fbccef6dde Added new EDBG ISP implementation to MPLAB PICkit4 debug tool 2022-03-09 21:55:17 +00:00
Nav
37968584d1 Added new EDBG ISP implementation to Curiosity Nano debug tool 2022-03-09 21:54:58 +00:00
Nav
5e7c518b33 Added new EDBG ISP implementation to Xplained Mini debug tool 2022-03-08 20:45:22 +00:00
Nav
494729a285 EDBG AvrIspInterface implementation added for the MPLAB Snap 2022-03-05 18:06:40 +00:00
Nav
5e1d05ef7f Added EDBG AvrIspInterface implementation to AtmelIce debug tool class 2022-03-05 17:57:57 +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
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
20155ee8ff Disabling use of the masked memory read command in the EDBG driver, by default 2022-01-22 16:15:16 +00:00
Nav
03bc17a225 Disabled masked read memory commands for the Xplained Pro debug tool (the tool was reporting a 'not supported' error) 2021-12-25 21:00:37 +00:00
Nav
58eab7b871 Debug tool device driver for the MPLAB PICkit 4 2021-11-28 22:41:41 +00:00
Nav
a03240446e Debug tool driver for Xplained Nano 2021-11-28 22:12:51 +00:00
Nav
5a9f549ad3 Tidying 2021-11-28 20:27:16 +00:00
Nav
3748173877 Debug tool device driver for Xplained Mini 2021-11-28 20:27:02 +00:00
Nav
566d1be694 Device driver for Curiosity Nano evaluation board 2021-11-27 14:54:43 +00:00
Nav
bd12096222 Tidying 2021-11-22 23:18:46 +00:00
Nav
2f484eca76 Restricted memory access requests to 256 bytes per request, for the Xplained Pro debug tool 2021-11-22 23:08:27 +00:00
Nav
ade9550ea2 New Xplained Pro debug tool driver 2021-11-22 23:05:46 +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
931b0b430c Disabled use of masked memory read command for the MPLAB Snap 2021-10-04 21:32:01 +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
a7df862d36 Moved away from shared pointers in event handlers - didn't make sense to expose the event management implementation to handlers.
Also some other bits of tidying.
2021-06-22 03:06:20 +01:00
Nav
a550d2c3a1 Some tidying and more TDF corrections 2021-06-11 23:59:17 +01:00
Nav
db2221741f TargetController suspension 2021-05-30 16:52:32 +01:00
Nav
ce480a996c Removed all using declarations and directives from header files 2021-05-24 20:58:49 +01:00
Nav
f364fb9c22 Added support for MPLAB Snap debug tool 2021-04-08 00:28:48 +01:00
Nav
509ff084cd Refactored some of the USB device (libusb wrapper) & interface code 2021-04-07 23:30:01 +01:00
Nav
7a28f93ee9 Tidying 2021-04-06 23:20:50 +01:00