I am trying to connect to both a Adafruit Feather M0 Express and a Adafruit Metro M0 Express using J-link Commander.
I have tried both on a mac book pro running El Capitan and a Windows 10 Dell XPS 15 Laptop and am getting the same error on both.
I have connected directly into the USB port without going through any hubs.
I the J-link software today so I presume I am on the latest version.
If anybody could assist or help me identify the problem that would be appreciated.
The full output from J-Link commander is below
SEGGER J-Link Commander V6.32g (Compiled Jun 15 2018 17:26:48)
DLL version V6.32g, compiled Jun 15 2018 17:26:15
Connecting to J-Link via USB...O.K.
Firmware: J-Link EDU Mini V1 compiled Mar 29 2018 17:48:40
Hardware version: V1.00
S/N: 801001239
License(s): GDB, FlashBP
VTref=3.297V
Type "connect" to establish a target connection, '?' for help
J-Link>connect
Please specify device / core. <Default>: ATSAMD21G18
Type '?' for selection dialog
Device>
Please specify target interface:
J) JTAG (Default)
S) SWD
TIF>S
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>
Device "ATSAMD21G18" selected.
Connecting to target via SWD
InitTarget()
Secured Atmel SAMD device detected.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.
Executing default behavior previously saved in the registry.
Device will be unsecured now.
InitTarget()
Secured Atmel SAMD device detected.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.
Executing default behavior previously saved in the registry.
Device will be unsecured now.
****** Error: InitTarget(): PCode returned with error code -1
InitTarget()
Secured Atmel SAMD device detected.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.
Executing default behavior previously saved in the registry.
Device will be unsecured now.
InitTarget()
Secured Atmel SAMD device detected.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.
Executing default behavior previously saved in the registry.
Device will be unsecured now.
****** Error: InitTarget(): PCode returned with error code -1
Cannot connect to target.
J-Link>
I have tried both on a mac book pro running El Capitan and a Windows 10 Dell XPS 15 Laptop and am getting the same error on both.
I have connected directly into the USB port without going through any hubs.
I the J-link software today so I presume I am on the latest version.
If anybody could assist or help me identify the problem that would be appreciated.
The full output from J-Link commander is below
SEGGER J-Link Commander V6.32g (Compiled Jun 15 2018 17:26:48)
DLL version V6.32g, compiled Jun 15 2018 17:26:15
Connecting to J-Link via USB...O.K.
Firmware: J-Link EDU Mini V1 compiled Mar 29 2018 17:48:40
Hardware version: V1.00
S/N: 801001239
License(s): GDB, FlashBP
VTref=3.297V
Type "connect" to establish a target connection, '?' for help
J-Link>connect
Please specify device / core. <Default>: ATSAMD21G18
Type '?' for selection dialog
Device>
Please specify target interface:
J) JTAG (Default)
S) SWD
TIF>S
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>
Device "ATSAMD21G18" selected.
Connecting to target via SWD
InitTarget()
Secured Atmel SAMD device detected.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.
Executing default behavior previously saved in the registry.
Device will be unsecured now.
InitTarget()
Secured Atmel SAMD device detected.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.
Executing default behavior previously saved in the registry.
Device will be unsecured now.
****** Error: InitTarget(): PCode returned with error code -1
InitTarget()
Secured Atmel SAMD device detected.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.
Executing default behavior previously saved in the registry.
Device will be unsecured now.
InitTarget()
Secured Atmel SAMD device detected.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.
Executing default behavior previously saved in the registry.
Device will be unsecured now.
****** Error: InitTarget(): PCode returned with error code -1
Cannot connect to target.
J-Link>