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

RF52832 PAC10040 V 0.9.0

softdevice_enable was executed.

Will not proceed after sd_ble_enable.

I have tried the following ram address.

0x20002128

0x20002080

I use the IAR 7.5 compiler and SDK 11.0.0 The program does not work well so I modified the starting address of rom(0x1c000->0x0). (Ble_stack_init) After part does not work. Other revisions are shown below.

*For debugging. 1. C/C++ Compiler -> Output -> Generate debug information check. 2. Assembler -> Output -> Generate debug information check. 3. Debugger -> Extra Option -> Use command line options uncheck.

I use the ble_app_hrs_freertos

image description image description image description

Parents
  • Why modify the ROM starting address? The ROM starting address should be 0x1C000 and the size should be 0x64000. The RAM starting address should be 0x20002080 and the size should be 0xDF80. Have you flashed the SoftDevice? Have you modified the example in other way?

    If you put a break point on the APP_ERROR_CHECK(err_code) after softdevice_enable(), do you hit it? If you do, what is the value of err_code? It should be NRF_SUCCESS (0x00000000). You may need to turn off optimizations.

Reply
  • Why modify the ROM starting address? The ROM starting address should be 0x1C000 and the size should be 0x64000. The RAM starting address should be 0x20002080 and the size should be 0xDF80. Have you flashed the SoftDevice? Have you modified the example in other way?

    If you put a break point on the APP_ERROR_CHECK(err_code) after softdevice_enable(), do you hit it? If you do, what is the value of err_code? It should be NRF_SUCCESS (0x00000000). You may need to turn off optimizations.

Children
No Data
Related