Is the J-Link debugger set to MCU mode? Is the power switch set to AEM? Have you run any code that puts the device in low power mode or disables the oscillators?
Sory but I'm new to these subjects...
"Is the J-Link debugger set to MCU mode? Is the power switch set to AEM?"
How i can check this 2 things ?
The pin in the board is in DBG.
" Have you run any code that puts the device in low power mode or disables the oscillators? "
Maybe... was experiencing the interruptions and EM modes.
I was editing my program and every once in a while I'd send it to the board, at a certain moment this error appears in the photo.
Unfortunately I deleted the code I had written.
You can set the debugger to MCU from the Simplicity Launcher perspective. The power switch is on the lower left corner of the board. If it is set to USB or Battery, and that power source is not available (no battery, or USB cable unplugged) that could leave the device unpowered and thus not responsive to the debugger. See the attached pictures for reference.
Thanks for the attached pictures.
Well, my board is different, i take some pictures for you to see, it is more easy.
Your switch setting is correct, I just realized the picture I sent you is a Happy Gecko STK, not a Zero Gecko (they are very similar). Is your code using any low power modes? Are you able to erase the device using the flash programmer?
May I suggest to inline pictures instead of attaching them? Anyone who wants to see them, first has to download them and then open in some external program. And my Download directory is littering with all these useless downloads.
"Is your code using any low power modes? "
Yes, I was editing something like this:
// Chip errata
// Enter Low Energy Mode until an interrupt occurs
"Are you able to erase the device using the flash programmer?"
I believe so, How do I do this?
Its works again
Thank you for the tips.
The solution is to go Flash Programmer, and next Unlock Debug Access.