This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

s120 v2.0.0 with sdk 6.1.0 run error

hardware:pca1001

software:s120 v2.0.0 sdk 6.1.0 i will get rssi value by connected by s120.so i update the s120 to v2.0.0. but when the app run, an error occur.[APPL]: ASSERT: ..\main.c, 461, error 0x00002009. i trace the place to ble_stack_init(void)----SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, false); so i update the sdk to v7.2.0. but the app can not run to main() function.

Parents
  • FormerMember
    0 FormerMember

    The reason for the error in SOFTDEVICE_HANDLER_INIT(..) is most likely that the IRAM1 start address is not set correctly in Keil. According to S120 Softdevice Specification v.2.1, it should be set to the following: 0x20002800

    In Keil this address is set in "Project --> Options for target --> Target".

    image description

Reply
  • FormerMember
    0 FormerMember

    The reason for the error in SOFTDEVICE_HANDLER_INIT(..) is most likely that the IRAM1 start address is not set correctly in Keil. According to S120 Softdevice Specification v.2.1, it should be set to the following: 0x20002800

    In Keil this address is set in "Project --> Options for target --> Target".

    image description

Children
No Data
Related