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

s130 does not boot application. (sdk_9.0.0)

I am using arm-none-eabi toolchain for Linux and so far I had no problems with s110. However today I have written some simple application for s130 but it doesn't even start. Firstly I erase my chip (I use pca10028 dev board), then I load s130 using JLinkExe at address 0x00 and then application at address 0x1c000 as is written in linker script (that of course I use during linking). I do not use bootloader. The problem is that MBR does not start application, pc loops at:

 0x6cc   wfe
 0x6ce   b.n    0x6cc

I have also compiled and program one of your examples for s130 (ble_central_and_peripheral/ble_connectivity/pca10028/ser_s130_spi/armgcc/Makefile) but the result is the same. In softdevice specification it is said that bootloader is optional and I can't figure out what is causing the problem.

Would anyone be so kind to give me some tips?

Parents
  • Same issue here,

    In my case with SDK11 and s130. memory layout is ok, in fact i have been programming with the same setup for a year, but now suddenly for a reason this happens. I tried to load for sure working applications, reverting the state of the repo and trying examples. But no matter what i'm stooked at the same point.

    I also reinstalled keil, since it seems to be working on other computers. The issue persists

    My code is just different in that i have a B ARM instruction instead of a B.N

    0x000006CC BF20      WFE      
    0x000006CE E7FD      B        0x000006CC
    

    Any hint ?

Reply
  • Same issue here,

    In my case with SDK11 and s130. memory layout is ok, in fact i have been programming with the same setup for a year, but now suddenly for a reason this happens. I tried to load for sure working applications, reverting the state of the repo and trying examples. But no matter what i'm stooked at the same point.

    I also reinstalled keil, since it seems to be working on other computers. The issue persists

    My code is just different in that i have a B ARM instruction instead of a B.N

    0x000006CC BF20      WFE      
    0x000006CE E7FD      B        0x000006CC
    

    Any hint ?

Children
No Data
Related