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

Cannot debug the multillink_central example (s120)

Hi nordics.

I am trying to do s120 multilink_central example.

However, this example doesn't work well, and I cannot debug central example.

-Environment-

board: nrf51822 DK (6310)

debugger: J-link lite.

sdk version : 6_1

softDevice version: s120_nrf51_2.0.0

--

First, I set the ROM1 start:0x1d000 , size 0x23000
and RAM1 start 0x20002000, size 0x2000 for s120.

image description

and, I set the J-link driver like this....

image description

And I found that I can program this example with nRFgo studio, but i can not download with "download button" in the uvision tool.

When I try to debug this, I get this error message.

image description

How can I solve this problem?

Parents
  • FormerMember
    0 FormerMember

    I wold recommend you to take a look at the question "which SDK is compatible with S120 v2", which also discusses this problem.

    Regarding the problem "No Cortex-M found in JTAG chain": If you are using one of our kits, in Keil go to Project -> Options for target -> Debug -> Settings: In the "Port" field, switch from "JTAG" to "SW".

  • As long as you use code examples for 6310, it should be correct. Make sure that you still are using the correct definitions in the options for target under the C/C++ tab. I'm pretty sure you do as long as the example is unchanged. If it asserts in the softdevice handler init it might be related to clock source used for the softdevice. What are you using there and are you sure that these clock sources are available? If you haven't tried it yet, please try to use the internal LFRCOSC 32 kHz to make sure that there 32 kHz source is available.

Reply
  • As long as you use code examples for 6310, it should be correct. Make sure that you still are using the correct definitions in the options for target under the C/C++ tab. I'm pretty sure you do as long as the example is unchanged. If it asserts in the softdevice handler init it might be related to clock source used for the softdevice. What are you using there and are you sure that these clock sources are available? If you haven't tried it yet, please try to use the internal LFRCOSC 32 kHz to make sure that there 32 kHz source is available.

Children
No Data
Related