This is a problem I've been having for a while now, any help would be greatly appreciated! I'm trying to program a Trinket M0 using a j-link mini, following this guide learn.adafruit.com/how-to-prog…loaders/trinket-m0-wiring
Once in atmel studio with a device programming window up, I am able to Read target voltage just fine (3.3V). However when I click read signature, after a few seconds the following error is thrown (attached) The log file the J-Link generates is available here: pastebin.com/4LimdSu6
![](https://forum.segger.com/index.php/Attachment/3824-Screenshot-1-png/?thumbnail=1&s=c8710d349ffb895fbc66faf52f5eb39c67b850e7)
I have also tried (unsuccessfully) to connect to the device using J-link commander, the result of which is below
![](https://forum.segger.com/index.php/Attachment/3825-Screenshot-30-png/?thumbnail=1&s=c8710d349ffb895fbc66faf52f5eb39c67b850e7)
What I have also tried:
Given this is not working, even after I try on another pc and with another j-link surely this must be a software setup issue. Perhaps there's something I'm missing or adafruit's guide is incomplete? Also I should mention when I try using the SEGGER JLink DLL Updater to update Atmel Studio's DLL, the program closes as soon as I press 'OK' to update the DLL, it does not look like the DLL updates (however of course this doesn't explain why J-link commander won't work)
Once in atmel studio with a device programming window up, I am able to Read target voltage just fine (3.3V). However when I click read signature, after a few seconds the following error is thrown (attached) The log file the J-Link generates is available here: pastebin.com/4LimdSu6
I have also tried (unsuccessfully) to connect to the device using J-link commander, the result of which is below
What I have also tried:
- Running on another computer (win10 vmware on a mac)
- Using a different ribbon cable (tried 3)
- Using a different j-link mini
- Using a different Trinket to try and program
- updating the j-link's firmware
- Using a different USB cable/port
Given this is not working, even after I try on another pc and with another j-link surely this must be a software setup issue. Perhaps there's something I'm missing or adafruit's guide is incomplete? Also I should mention when I try using the SEGGER JLink DLL Updater to update Atmel Studio's DLL, the program closes as soon as I press 'OK' to update the DLL, it does not look like the DLL updates (however of course this doesn't explain why J-link commander won't work)