Commit Graph

109 Commits

Author SHA1 Message Date
Nav
9a6e22e6c7 Corrected member initialisation order (addressing -Wreorder warnings) 2023-08-19 21:53:00 +01:00
Nav
5896306f1a Removed redundant 'Bloom' namespace from entire codebase 2023-08-13 15:47:51 +01:00
Nav
f3b64beaff Added warning when RE EEPROM data being lost when preserveEeprom is disabled 2023-07-18 23:17:13 +01:00
Nav
216a1357b7 Moved programming mode requirement for fuse programming into EDBG driver, as it is specific to that driver 2023-07-18 23:17:13 +01:00
Nav
264cd83048 Corrected premature DWEN fuse bit management warning (regression from previous refactor) 2023-07-18 23:17:13 +01:00
Nav
1f90f21870 Refactored the preserveEeprom implementation to make use of the EESAVE fuse 2023-07-18 23:17:13 +01:00
Nav
df51da4479 Added AVR8 fuse enable strategy 2023-07-18 23:17:13 +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
c88dc35e4b Included target ID verification in OCDEN fuse bit management 2023-05-08 13:04:26 +01:00
Nav
e65acaac99 Tidying 2023-05-07 17:10:29 +01:00
Nav
69e5ea2262 Warn users who are still using the deprecated "avr8" config param value 2023-05-07 16:50:37 +01:00
Nav
ce3d58c7a4 Consistency tweaks to DWEN fuse bit management 2023-05-07 16:50:14 +01:00
Nav
6ae1ef1be2 OCDEN fuse bit management 2023-05-07 16:49:45 +01:00
Nav
eca86fcb1a Added support for flash memory inspection 2023-05-04 00:20:56 +01:00
Nav
56ea97369d Preparation for support for the GDB vCont command packet
Also fixed a bug in the `StepExecution` and `ContinueExecution` constructors, where the from address wasn't being extracted properly
2023-04-01 12:37:59 +01:00
Nav
8fa7e82c56 Moved Paths helper functions to service class 2023-02-20 21:55:55 +00:00
Nav
e3e37ace4b Ignore erase requests for debugWire targets 2022-12-18 21:35:10 +00:00
Nav
b3ccd8f7de Removed automatic erasing when writing to flash memory on AVR8 targets 2022-12-11 23:27:47 +00:00
Nav
08bc12a26b Deleted redundant AVR8 ProgrammingSession struct 2022-12-11 23:27:08 +00:00
Nav
83c273a22b Implemented eraseMemory() member function in AVR8 class 2022-12-11 18:18:44 +00:00
Nav
96a688df08 Added support for writing to EEPROM via EDBG AVR8 Generic driver 2022-12-08 21:14:40 +00:00
Nav
b3fb3f0955 Lots of tidying 2022-12-03 22:16:21 +00:00
Nav
87e230c589 Tidying 2022-10-09 13:10:30 +01:00
Nav
8bec04e15a Renamed 'updateDwenFuseBit' AVR8 param to 'manageDwenFuseBit' 2022-09-18 13:02:33 +01:00
Nav
cfb0ee6eee New GenerateSvd GDB monitor command 2022-08-30 02:51:10 +01:00
Nav
c88395b8eb Tidying 2022-08-04 21:08:41 +01:00
Nav
6bea419e1b Added check to confirm the user's selected AVR8 physical interface is supported by the selected target 2022-08-04 21:08:22 +01:00
Nav
96f0c14b53 Made AVR8 Physical Interfaces more generic (to include non-debug interfaces such as ISP) 2022-08-04 21:06:13 +01:00
Nav
40218e5c21 Moved loading of AVR8 TDFs into single function 2022-08-04 21:03:43 +01:00
Nav
ae5747e79b Replaced project configuration format from JSON to YAML 2022-07-23 15:39:00 +01:00
Nav
c7cd88e198 Tidying 2022-07-16 19:12:45 +01:00
Nav
af16b4bdf8 Refactored AVR8 target pin state manipulation - removed unnecessary register accesses when setting pin states 2022-06-22 22:23:00 +01:00
Nav
f065a70551 Tidying 2022-06-05 21:04:47 +01:00
Nav
8061a349fc Perform an entire chip erase for UPDI targets, in preparation for programming 2022-06-04 15:18:53 +01:00
Nav
1c92a02950 Added eraseProgramMemorySection() function to Avr8 debug interface - to erase XMEGA program memory sections when necessary 2022-06-03 15:49:12 +01:00
Nav
012d987454 Added AVR8 programming session struct 2022-06-03 15:46:28 +01:00
Nav
dd204742d3 Renamed Linux to GNU/Linux and other tidying 2022-06-01 21:48:27 +01:00
Nav
abfd47dc9c Tidying 2022-05-23 23:50:10 +01:00
Nav
5a824f4790 Added programMemoryType property to TargetDescriptor 2022-05-15 17:42:20 +01:00
Nav
89c47db1c0 Implemented programming mode functions for Avr8 target class 2022-05-15 17:42:02 +01:00
Nav
159c77a5f1 Added pageSize to TargetMemoryDescriptor struct 2022-05-14 22:39:37 +01:00
Nav
cfb1152423 Included FLASH memory descriptor in AVR8 target descriptor 2022-05-04 19:48:41 +01:00
Nav
42e2730408 Fixed AVR8 activation bug, where a hardcoded break statement was causing issues with reading data from the target, post activation 2022-05-03 19:58:44 +01:00
Nav
0a21526a68 Tidying 2022-04-17 23:56:57 +01:00
Nav
d2dd9441fc Included a power-up delay, to fix issue with some debug tools (evaluation boards). See comments in https://github.com/navnavnav/Bloom/issues/17 for more 2022-03-21 13:05:02 +00:00
Nav
7b79f19574 New targetPowerCycleDelay target config param, for configuring the AVR8 target power cycle delay (after updating the DWEN fuse bit) 2022-03-21 13:04:12 +00:00
Nav
a3b9bb8ca2 Replaced messy AVR8 target config approach with new Avr8TargetConfig object 2022-03-19 13:28:11 +00:00
Nav
80e5678ddf New "cycleTargetPowerPostDwenUpdate" target config param to control the automatic cycling of target power, after updating the target's DWEN fuse bit 2022-03-16 17:21:12 +00:00
Nav
696e746279 Added target power cycling post AVR8 DWEN fuse bit update 2022-03-16 17:13:57 +00:00
Nav
df23701fe7 Deactivated ISP interface in exception handler 2022-03-15 11:26:16 +00:00