I'm trying to run the debug in eclipse with the example 'hello world' program, but am running into issues. Namely, the message "No source available for "0xfffffffe"" is indicating issues. This memory location is where the program counter register says it is. Console dump listed below.
----------------------------------------------------------------------------
SEGGER J-Link GDB Server V6.14a Command Line Version
JLinkARM.dll V6.14a (DLL compiled Feb 27 2017 18:40:25)
-----GDB Server start settings-----
GDBInit file: none
GDB Server Listening port: 2331
SWO raw output listening port: 2332
Terminal I/O port: 2333
Accept remote connection: localhost only
Generate logfile: off
Verify download: on
Init regs on start: on
Silent mode: off
Single run mode: on
Target connection timeout: 0 ms
------J-Link related settings------
J-Link Host interface: USB
J-Link script: none
J-Link settings file: none
------Target related settings------
Target device: ATSAMD11D14AM
Target interface: SWD
Target interface speed: 1000kHz
Target endian: little
Connecting to J-Link...
J-Link is connected.
Firmware: J-Link V9 compiled Dec 16 2016 15:34:10
Hardware: V9.40
S/N: 269401838
OEM: SEGGER-EDU
Feature(s): FlashBP, GDB
Checking target voltage...
Target voltage: 3.30 V
Listening on TCP/IP port 2331
Connecting to target...Connected to target
Waiting for GDB connection...Connected to 127.0.0.1
Reading all registers
Read 4 bytes @ address 0x00000000 (Data = 0x20005000)
Read 2 bytes @ address 0x00000000 (Data = 0x5000)
Target interface speed set to 1000 kHz
Resetting target
Halting target CPU...
...Target halted (PC = 0x0000015C)
R0 = 20004FE0, R1 = FFFFFFF9, R2 = 0000017F, R3 = C89B1FE5
R4 = 3BA3DB7A, R5 = FD3A61CF, R6 = FAFD7DD7, R7 = 89F8A4FA
R8 = 6F72F9B7, R9 = F13FDA0B, R10= 1B166FDA, R11= D1B19B3F
R12= 83AF72DB, R13= 20005000, MSP= 20005000, PSP= E337D0E0
R14(LR) = FFFFFFF9, R15(PC) = 0000015C
XPSR 71000000, APSR 70000000, EPSR 01000000, IPSR 00000000
CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00
Reading all registers
Read 4 bytes @ address 0x0000015C (Data = 0xF7FFB510)
Read 2 bytes @ address 0x0000015C (Data = 0xB510)
Select auto target interface speed (2000 kHz)
Flash breakpoints enabled
Semi-hosting enabled (Handle on BKPT)
Semihosting I/O set to TELNET Client
SWO disabled succesfully.
SWO enabled succesfully.
Read 4 bytes @ address 0x0000015C (Data = 0xF7FFB510)
Downloading 430 bytes @ address 0x00000000 - Verified OK
Downloading 40 bytes @ address 0x000001B0 - Verified OK
Downloading 3399 bytes @ address 0x000001D8 - Verified OK
Downloading 120 bytes @ address 0x00000F20 - Verified OK
WARNING: CPU is running at very low speed (1327 kHz). Readback will be performed instead of CRC calculation.
Comparing flash [....................] Done.
Erasing flash [....................] Done.
Programming flash [....................] Done.
Verifying flash [....................] Done.
Writing register (PC = 0x44000000)
Read 4 bytes @ address 0x00000044 (Data = 0xB083B530)
Resetting target
Halting target CPU...
...Target halted (PC = 0x0000015C)
R0 = 00000000, R1 = 41004004, R2 = 00001000, R3 = 00002000
R4 = 20000380, R5 = FFFFFFFF, R6 = 00000000, R7 = 20000165
R8 = 6F72F9B7, R9 = F13FDA0B, R10= 1B166FDA, R11= D1B19B3F
R12= 83AF72DB, R13= 20005000, MSP= 20005000, PSP= E337D0E0
R14(LR) = 2000015D, R15(PC) = 0000015C
XPSR 41000000, APSR 40000000, EPSR 01000000, IPSR 00000000
CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00
Reading all registers
Read 4 bytes @ address 0x0000015C (Data = 0xF7FFB510)
Starting target CPU...
...Target halted (DBGRQ, PC = 0xFFFFFFFE)
Reading all registers
WARNING: Failed to read memory @ address 0xFFFFFFFE
WARNING: Failed to read memory @ address 0x20004FFC
Reading 64 bytes @ address 0x20004FC0
WARNING: Failed to read memory @ address 0x20004FC0
WARNING: Failed to read memory @ address 0x20004FF8
Reading 64 bytes @ address 0x20004FC0
WARNING: Failed to read memory @ address 0x20004FC0
WARNING: Failed to read memory @ address 0x20004FF8
----------------------------------------------------------------------------
SEGGER J-Link GDB Server V6.14a Command Line Version
JLinkARM.dll V6.14a (DLL compiled Feb 27 2017 18:40:25)
-----GDB Server start settings-----
GDBInit file: none
GDB Server Listening port: 2331
SWO raw output listening port: 2332
Terminal I/O port: 2333
Accept remote connection: localhost only
Generate logfile: off
Verify download: on
Init regs on start: on
Silent mode: off
Single run mode: on
Target connection timeout: 0 ms
------J-Link related settings------
J-Link Host interface: USB
J-Link script: none
J-Link settings file: none
------Target related settings------
Target device: ATSAMD11D14AM
Target interface: SWD
Target interface speed: 1000kHz
Target endian: little
Connecting to J-Link...
J-Link is connected.
Firmware: J-Link V9 compiled Dec 16 2016 15:34:10
Hardware: V9.40
S/N: 269401838
OEM: SEGGER-EDU
Feature(s): FlashBP, GDB
Checking target voltage...
Target voltage: 3.30 V
Listening on TCP/IP port 2331
Connecting to target...Connected to target
Waiting for GDB connection...Connected to 127.0.0.1
Reading all registers
Read 4 bytes @ address 0x00000000 (Data = 0x20005000)
Read 2 bytes @ address 0x00000000 (Data = 0x5000)
Target interface speed set to 1000 kHz
Resetting target
Halting target CPU...
...Target halted (PC = 0x0000015C)
R0 = 20004FE0, R1 = FFFFFFF9, R2 = 0000017F, R3 = C89B1FE5
R4 = 3BA3DB7A, R5 = FD3A61CF, R6 = FAFD7DD7, R7 = 89F8A4FA
R8 = 6F72F9B7, R9 = F13FDA0B, R10= 1B166FDA, R11= D1B19B3F
R12= 83AF72DB, R13= 20005000, MSP= 20005000, PSP= E337D0E0
R14(LR) = FFFFFFF9, R15(PC) = 0000015C
XPSR 71000000, APSR 70000000, EPSR 01000000, IPSR 00000000
CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00
Reading all registers
Read 4 bytes @ address 0x0000015C (Data = 0xF7FFB510)
Read 2 bytes @ address 0x0000015C (Data = 0xB510)
Select auto target interface speed (2000 kHz)
Flash breakpoints enabled
Semi-hosting enabled (Handle on BKPT)
Semihosting I/O set to TELNET Client
SWO disabled succesfully.
SWO enabled succesfully.
Read 4 bytes @ address 0x0000015C (Data = 0xF7FFB510)
Downloading 430 bytes @ address 0x00000000 - Verified OK
Downloading 40 bytes @ address 0x000001B0 - Verified OK
Downloading 3399 bytes @ address 0x000001D8 - Verified OK
Downloading 120 bytes @ address 0x00000F20 - Verified OK
WARNING: CPU is running at very low speed (1327 kHz). Readback will be performed instead of CRC calculation.
Comparing flash [....................] Done.
Erasing flash [....................] Done.
Programming flash [....................] Done.
Verifying flash [....................] Done.
Writing register (PC = 0x44000000)
Read 4 bytes @ address 0x00000044 (Data = 0xB083B530)
Resetting target
Halting target CPU...
...Target halted (PC = 0x0000015C)
R0 = 00000000, R1 = 41004004, R2 = 00001000, R3 = 00002000
R4 = 20000380, R5 = FFFFFFFF, R6 = 00000000, R7 = 20000165
R8 = 6F72F9B7, R9 = F13FDA0B, R10= 1B166FDA, R11= D1B19B3F
R12= 83AF72DB, R13= 20005000, MSP= 20005000, PSP= E337D0E0
R14(LR) = 2000015D, R15(PC) = 0000015C
XPSR 41000000, APSR 40000000, EPSR 01000000, IPSR 00000000
CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00
Reading all registers
Read 4 bytes @ address 0x0000015C (Data = 0xF7FFB510)
Starting target CPU...
...Target halted (DBGRQ, PC = 0xFFFFFFFE)
Reading all registers
WARNING: Failed to read memory @ address 0xFFFFFFFE
WARNING: Failed to read memory @ address 0x20004FFC
Reading 64 bytes @ address 0x20004FC0
WARNING: Failed to read memory @ address 0x20004FC0
WARNING: Failed to read memory @ address 0x20004FF8
Reading 64 bytes @ address 0x20004FC0
WARNING: Failed to read memory @ address 0x20004FC0
WARNING: Failed to read memory @ address 0x20004FF8