Commit Graph

115 Commits

Author SHA1 Message Date
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
c44fc2a3c0 Other bits of tidying 2022-06-22 22:24:27 +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
b3af06654c Tidying 2022-06-04 15:20:37 +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
a97cdeae6f Used program memory address space address and size for AVR8 target parameters (otherwise we'd be ignoring other memory sections in the program memory, such as boot sections) 2022-06-03 11:53:12 +01:00
Nav
87b31d6f11 Included MCU module base address device parameters sent to EDBG tools, for XMEGA targets 2022-06-02 23:05:38 +01:00
Nav
4ab836f158 Renamed nvmBaseAddress to nvmModuleBaseAddress 2022-06-02 23:00:27 +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
2b7864e908 Tidying 2022-03-21 13:05:08 +00: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
19d45ed1b0 New Avr8TargetConfig class to extend TargetConfig - for AVR8 target config 2022-03-19 13:26: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
Nav
cdd35c46c1 Tidying 2022-03-15 11:21:04 +00:00
Nav
1513b37544 Shortened DWEN fuse bit config parameter name 2022-03-13 23:52:20 +00:00
Nav
37a5665874 Removed the unnecessary throwing of an exception on debugWire activation/updating DWEN fuse bit failure. 2022-03-13 20:46:38 +00:00
Nav
77a52bab96 Added link to debugWire article RE enabling the DWEN fuse bit 2022-03-13 20:45:52 +00:00
Nav
c0f79e777d Tidying 2022-03-05 18:05:31 +00:00
Nav
7c21483f15 If enabled, attempt to update the DWEN fuse bit on AVR8 targets, upon debugWire activation failure 2022-03-05 18:03:38 +00:00
Nav
6fb940dd59 Function to update DWEN fuse bit on AVR8 targets, via the ISP interface 2022-03-05 18:03:00 +00:00
Nav
066c7a469f New AVR8 target config parameter ("updateDwenFuseBitOnDebugWireFailure") 2022-03-05 18:02:11 +00:00
Nav
503605cfa0 AvrIspInterface extraction from the debug tool, via the Avr8 target class 2022-03-05 18:01:19 +00:00
Nav
f19da7d261 Added Read Lock pollIndex to IspParameters struct. And extraction from TDF 2022-03-05 14:09:36 +00:00
Nav
72a557041a Renamed FuseBitDescriptor struct 2022-03-05 14:08:47 +00:00
Nav
b50333c170 Tidying 2022-03-04 23:46:44 +00:00
Nav
38260dc358 DWEN & SPIEN fuse bit descriptor extraction from AVR8 TDFs 2022-03-04 23:43:26 +00:00
Nav
67e74a34b6 AVR8 TDF tidying and const correctness 2022-03-02 22:42:55 +00:00
Nav
3435d20a85 ISP parameter struct and TDF extraction 2022-03-02 22:42:28 +00:00
Nav
5309c1117f Added new exception class for debug wire physical interface errors - to be handled with a DWEN fuse check 2022-03-02 00:57:41 +00:00
Nav
52533e2878 Moved AVR8 physicalInterface config extraction out of EDBG driver 2022-03-01 22:40:00 +00:00
Nav
8b6ee9f100 Tidying 2022-02-27 20:44:01 +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
7c08a37d82 Renamed ApplicationConfig to ProjectConfig 2022-01-02 21:24:23 +00:00