Commit Graph

60 Commits

Author SHA1 Message Date
Nav
6cdbfbe950 Massive refactor to accommodate RISC-V targets
- Refactored entire codebase (excluding the Insight component) to accommodate multiple target architectures (no longer specific to AVR)
- Deleted 'generate SVD' GDB monitor command - I will eventually move this functionality to the Bloom website
- Added unit size property to address spaces
- Many other changes which I couldn't be bothered to describe here
2024-07-23 21:14:22 +01:00
Nav
4e837218e5 Corrected use of destroyed objects in EDBG param constructors 2024-06-02 21:33:54 +01:00
Nav
ee20507c2e Corrected debugWire and JTAG HIGH byte parameter values
Additional checks in TDF validation to ensure that the IO memory segment offset has been applied to the relevant registers
2024-06-02 21:29:57 +01:00
Nav
ed54b0e726 Tidying 2024-03-29 16:31:14 +00:00
Nav
779a5ad151 Corrected EEARL/H register address extraction from AVR8 TDFs.
Some other bits of tidying
2024-03-29 16:16:35 +00:00
Nav
b9d537e924 Created EdbgAvr8Session struct and moved EDBG target info to it 2024-03-28 21:10:08 +00:00
Nav
3c8efa60a6 Added EDBG parameter structs with TDF-based initialisation 2024-03-25 18:59:15 +00:00
Nav
75d5124265 Moved TargetRegisterDescriptor struct to separate file 2024-03-09 17:16:29 +00:00
Nav
7e9e28286f Made physical interface enum more generic (moved out of AVR8-specific context) 2024-02-15 21:25:12 +00:00
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