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

How do I setup examples/ble_app_template under Segger Embedded Studio?

I am trying to get the example examples/ble_peripheral/ble_app_template to work from nRF5_SDK_13.1.0.

nRF52832, s132, pca10040

Much of the code works, but inside peer_manager_init(), pm_init() fails.

This is because pds_init() fails due to fds_init() failing.

Inside fds_init() there is a line pages_init() which fails.

I assume the problem has something to do with my flash_placement.xml file. (attached)flash_placement.xml

Where should I look for the correct way to setup the memory so that fds will work?

Parents
  • Hi kte608!

    I would suggest that you take a look at this blog-post, which got a lot of useful information. In the blog you can also find both the modified thumb_crt0.s file and the flash_placement.xml file available to download.

    The thumb_crt0.s file is not part of the SDK. You will find it in the Segger Embedded Studio install folder; xxxx\SEGGER\SEGGER Embedded Studio 3.26a\source.

    If you still can't get it working when following the blog-post with the modified files, please let me know.

    Best regards,
    Joakim.

Reply
  • Hi kte608!

    I would suggest that you take a look at this blog-post, which got a lot of useful information. In the blog you can also find both the modified thumb_crt0.s file and the flash_placement.xml file available to download.

    The thumb_crt0.s file is not part of the SDK. You will find it in the Segger Embedded Studio install folder; xxxx\SEGGER\SEGGER Embedded Studio 3.26a\source.

    If you still can't get it working when following the blog-post with the modified files, please let me know.

    Best regards,
    Joakim.

Children
No Data
Related