This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

No source available for "0xffffffff"

I am facing the below issue that no source is available for "0xffffffff" when i try to debug the program using eclipse

image description

I am using softdevice s110 and have flashed the same before debugging the application.

I am working with SDK V11.0

This is the Debugger Log:

SEGGER J-Link GDB Server V5.12e Command Line Version

JLinkARM.dll V5.12e (DLL compiled Apr 29 2016 15:06:27)

-----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: NRF51422 Target interface: SWD Target interface speed: 1000kHz Target endian: little

Connecting to J-Link... J-Link is connected. Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 15 2016 18:03:17 Hardware: V1.00 S/N: 681325908 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 1 bytes @ address 0x00000000 (Data = 0xC0) Read 1 bytes @ address 0x00000000 (Data = 0xC0) Reading 64 bytes @ address 0x00000000 Reading 8 bytes @ address 0x00000000 Reading 7 bytes @ address 0x00000000 Target interface speed set to 1000 kHz Select auto target interface speed (1000 kHz) Flash breakpoints disabled Read 1 bytes @ address 0x00000000 (Data = 0xC0) Read 1 bytes @ address 0x00000000 (Data = 0xC0) Reading 8 bytes @ address 0x00000000 Reading 7 bytes @ address 0x00000000 Downloading 4096 bytes @ address 0x00018000 - Verified OK Downloading 4096 bytes @ address 0x00019000 - Verified OK Downloading 4096 bytes @ address 0x0001A000 - Verified OK Downloading 4096 bytes @ address 0x0001B000 - Verified OK Downloading 4096 bytes @ address 0x0001C000 - Verified OK Downloading 4096 bytes @ address 0x0001D000 - Verified OK Downloading 4096 bytes @ address 0x0001E000 - Verified OK Downloading 4096 bytes @ address 0x0001F000 - Verified OK Downloading 4096 bytes @ address 0x00020000 - Verified OK Downloading 4096 bytes @ address 0x00021000 - Verified OK Downloading 136 bytes @ address 0x00022000 - Verified OK Downloading 8 bytes @ address 0x00022088 - Verified OK Downloading 120 bytes @ address 0x00022090 - Verified OK Comparing flash [....................] Done. Verifying flash [....................] Done. Writing register (R8 = 0x00021dbd) WARNING: Unsupported register (1) Read 1 bytes @ address 0x00021DBD (Data = 0x21) Reading 64 bytes @ address 0x00019F40 Read 1 bytes @ address 0x00019F69 (Data = 0xB5) Resetting target Halting target CPU... ...Target halted (PC = 0x000006D0) Read 1 bytes @ address 0x00019F69 (Data = 0xB5) R0 = FFFFFFFF, R1 = FFFFFFFF, R2 = FFFFFFFF, R3 = FFFFFFFF R4 = FFFFFFFF, R5 = FFFFFFFF, R6 = FFFFFFFF, R7 = FFFFFFFF R8 = FFFFFFFF, R9 = FFFFFFFF, R10= FFFFFFFF, R11= FFFFFFFF R12= FFFFFFFF, R13= 000007C0, MSP= 000007C0, PSP= FFFFFFFC R14(LR) = FFFFFFFF, R15(PC) = 000006D0 XPSR C1000000, APSR C0000000, EPSR 01000000, IPSR 00000000 CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00 Reading all registers Read 1 bytes @ address 0xFFFFFFFF (Data = 0x00) Read 1 bytes @ address 0xFFFFFFFF (Data = 0x00) Reading 64 bytes @ address 0xFFFFFFC0 Reading 8 bytes @ address 0xFFFFFFFF Reading 7 bytes @ address 0xFFFFFFFF Setting breakpoint @ address 0x00019F69, Size = 4, BPHandle = 0x0001 Starting target CPU... ...Breakpoint reached @ address 0x00019F68 Reading all registers Read 1 bytes @ address 0xFFFFFFFF (Data = 0x00) Read 1 bytes @ address 0xFFFFFFFF (Data = 0x00) Reading 64 bytes @ address 0xFFFFFFC0 Reading 8 bytes @ address 0xFFFFFFFF Reading 7 bytes @ address 0xFFFFFFFF Removing breakpoint @ address 0x00019F69, Size = 4 Reading 64 bytes @ address 0x00000000 Reading 64 bytes @ address 0x00000040 Reading 64 bytes @ address 0x00000080

I can build and flash the program correctly.

Hardware: PCA10028 V1.2.0

Debug Configurations

image description

image description

Anyone know what could be the issue?

Thanks in Advance!

Parents
  • Hi Vidar . I get the following message when execute " /opt/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gdb --version "

    /opt/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
    

    This is the report when execute " lscpu " on Ubuntu 14.04:

    Arquitectura: x86_64 CPU op-mode(s): 32-bit, 64-bit Orden de bytes: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Hilo(s) por núcleo: 2 Núcleo(s) por zócalo:2 Socket(s): 1 Nodo(s) NUMA: 1 ID del vendedor: GenuineIntel Familia de CPU: 6 Modelo: 37 Stepping: 5 CPU MHz: 1199.000 BogoMIPS: 5320.01 Virtualización: VT-x caché L1d: 32K caché L1i: 32K caché L2: 256K caché L3: 3072K NUMA node0 CPU(s): 0-3

Reply
  • Hi Vidar . I get the following message when execute " /opt/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gdb --version "

    /opt/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
    

    This is the report when execute " lscpu " on Ubuntu 14.04:

    Arquitectura: x86_64 CPU op-mode(s): 32-bit, 64-bit Orden de bytes: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Hilo(s) por núcleo: 2 Núcleo(s) por zócalo:2 Socket(s): 1 Nodo(s) NUMA: 1 ID del vendedor: GenuineIntel Familia de CPU: 6 Modelo: 37 Stepping: 5 CPU MHz: 1199.000 BogoMIPS: 5320.01 Virtualización: VT-x caché L1d: 32K caché L1i: 32K caché L2: 256K caché L3: 3072K NUMA node0 CPU(s): 0-3

Children
No Data
Related