Commit Graph

26 Commits

Author SHA1 Message Date
Nav
2a51f8af75 Consistent casing in directory names 2025-01-07 23:31:48 +00:00
Nav
020d174a2d Automatic switching form PIC mode to EDBG (AVR) mode, for MPLAB Snap and PICkit 4 tools. 2024-12-30 15:41:52 +00:00
Nav
623743995b Made the EDBG CMSIS-DAP command delay optional for all debug tools, and disabled it by default.
The command delay was really choking Bloom's EDBG driver, causing a very noticeable drag on Bloom's performance. It's much faster with the command delay disabled.
There was a good reason for why I introduced this some time ago. Without it, some EDBG debug tools were misbehaving - I remember that for certain. But now, I cannot seem to reproduce these issues. Very odd.
If the issues do reappear, I may have to enable the command delay by default, again, for some debug tools.
For now, if any users experience issues, I'll just suggest they manually enable the command delay via their project config.
Also, I'm not going to document this new config option, as I would prefer the user to approach me if they experience issues as a result of this, so that I'll know if it needs revisiting.
2024-10-27 00:26:06 +01:00
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
516892f7eb Added Microchip namespace to EDBG debug tool classes 2023-11-18 23:50:42 +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
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
494729a285 EDBG AvrIspInterface implementation added for the MPLAB Snap 2022-03-05 18:06:40 +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
5a9f549ad3 Tidying 2021-11-28 20:27:16 +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
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