I am trying to get messaging over UPDI for the ATTiny817 to work as explained in Microchip's user guide:
https://onlinedocs.microchip.com...
The sample code is quite short and simple, starting with two defines:
#define SYSCFG_OCDM SYSCFG.reserved_0x18
#define SYSCFG_OCDMS SYSCFG.reserved_0x19
The above code results in a compiler error complaining about undefined registers:
'SYSCFG_t {aka struct SYSCFG_struct}' has no member named 'reserved_0x18' (same for SYSCFG.reserved_0x19)
apparently the "reserved registers" are not defined in iotn817.h
Question 1: Assuming that the sample code has been used/tested by Microchip, which files do I have to include?
Question 2: Or how should I include a working definition without making changes to the supplied iotn817.h, assuming that the registers reside at offset 0x18 and 0x19?