Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF5 SDK V12.3 compiler problem

Dear All. I have question about compiler of nRF5_SDK_V12.3. I compile the example BLE_peripheral\experimental_ble_app_blinky by gnu arm(latest version). It can work on nRF51 DK board. but when i download it to ISP130301. It couldn't work. the ISP130301 use the NRF51822 chips. if i use the arm compiler(keil) ,The firmware aslo can work on ISP130301.how can i solve such problem. i try to use gdb to debug it. but the the following error is display on the screen:

(gdb) load
Loading section .text, size 0x2e60 lma 0x1b000
Loading section .ARM.exidx, size 0x8 lma 0x1de60
Loading section .data, size 0x78 lma 0x1de68
Start address 0x1d854, load size 12000
Transfer rate: 5859 KB/sec, 4000 bytes/write.
(gdb) n
Single stepping until exit from function Reset_Handler,
which has no line number information.
SystemInit () at ../../../../../../components/toolchain/system_nrf51.c:72
72 if (is_manual_peripheral_setup_needed())
(gdb) n
89 if (is_peripheral_domain_setup_needed()){
(gdb) n
97 }
(gdb) n
0x0001d87c in Reset_Handler ()
(gdb) n
Single stepping until exit from function Reset_Handler,
which has no line number information.

Program received signal SIGTRAP, Trace/breakpoint trap.
0xfffffffe in ?? ()
(gdb) n
Cannot find bounds of current function

can anyone give some suggestion ? Thank you!

Related