Should I power it by USB or through the programmer?
edit: just noticed it should be the 6 pin.
update: I’m getting this error in Atmel studio:
Severity: ERROR
ComponentId: 20100
StatusCode: 3
ModuleName: TCF (TCF command: Device:startSession failed.)
‘Dev_72’ is not a device context.