I'm trying to bring up a board with ATtiny1616 using Atmel Power Debugger.
I'm doing thins on Mac with MPLAB X 5.20
The programmer appears to work i.e. MPLAB can talk to it but the actual programming fails with:
Currently loaded versions:
Application version...........1.57.153 (0x01.0x39.0x99)
Target voltage detected
Configuration memory will not be programmed because no configuration bits settings have been defined in your code.
To program configuration memory, either define the settings in your code or use the Program Configuration Bits button on the configuration memory window.
PDI physical timed out. (25)
Programming did not complete.
According to what I've read forums a factory fresh ATtiny should not need +12V to enable UPDI, but cannot find this in the datasheet, can anyone confirm that?
Anticipating the problem that the chip has the RESET pin configured for non-UPDI we bought the Atmel Power Debugger that is supposed to be able to output the required +12V pulse.
Looking at the signal with the oscilloscope we see the normal UPDI sequence as per datasheet but no +12V.
And I can find no info or command on how to enable the +12V in the MPLAB X IDE or IPE.
Some post somewhere in the avrfreaks forums mentions Tools/Device... menu but there no such thing in MPLAB X.
Does anyone know how this is supposed to work, should it always output +12V pulse or should it be enabled or does it detect somehow when it is necessary and when not?
I posted essentially same question in Microchip forum and on that question there is a piece of schematics that show how the UPDI is wired in our system, in case some wants to have a look: