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

I took all these steps and there is no advertising

Using Segger , only the BLE template is advertising,All other BLE apps such as BLE_UART, will flash the leds very fast but will not show on any Apple device on the Bluetooth.

SDK13 :

I did :

  1. imported the example
  2. replaced thumb_crt0.s with the required one from the guides
  3. added the files system_nrf52.c and ses_nrf52_startup.c
  4. remove from project->build configuration - the soft device
  5. added ../../../../../../components/device to the preprocessor
  6. added: FLASH_START=0x1F000 and SRAM_START=0x20002000 to placement macro
  7. added to additional loader[0] the path to the soft device on the SDK
  8. added to preprocessor definition NO_VTOR_CONFIG
  9. flash_palcment.xml was modified in its original folder ( segger installation folder), and the one in the project is as required in the tutorial.

Build and run.

What is wrong with this specific project that it won't work ? BTW: the ble template project works WITHOUT doing 7 and 8 . ( how ? )

HERE IS THE PROJECT

Parents
  • The ble_app_uart example uses more ram than the template project, so you will need to increase the SRAM_START value to SRAM_START=0x200025F8

    You can see how much RAM the examples uses by looking at the linker-script file for gcc.Its located in the folder ble_app_uart\pca10040\s132\armgcc, open the file ble_app_uart_gcc_nrf52.ld in a editor, here you can see that RAM (rwx) : ORIGIN = 0x200025f8, LENGTH = 0xda08

Reply
  • The ble_app_uart example uses more ram than the template project, so you will need to increase the SRAM_START value to SRAM_START=0x200025F8

    You can see how much RAM the examples uses by looking at the linker-script file for gcc.Its located in the folder ble_app_uart\pca10040\s132\armgcc, open the file ble_app_uart_gcc_nrf52.ld in a editor, here you can see that RAM (rwx) : ORIGIN = 0x200025f8, LENGTH = 0xda08

Children
No Data
Related