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

How to run ble_app_hrs project with IAR?

Hi,

  1. I have nRF51822 DK with (s110_nrf51822_7.0.0, nRF51 SDK_v6.1.0.0) and when i try to run the project in IAR 7.20.2 i receive an error.

image description

image description

2 ) My icf file

ble_app_hrs.icf

  1. Error after i added "--drv_vector_table_base=0x0" it is not starts from main. image description
Parents
  • Hi,

    I changed(start adress 0x16000), it is now goes to main but stack on

    // Initialize SoftDevice.
        SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, false);
    

    You know how solve it?

  • I edited your code snippet to use the code formatting. I've seen that call lock up when there was a bad clock on the 32KHz external oscillator pins. What are you using for a low frequency clock? If it isn't an external oscillator with 20PPM of error, you could see this problem.

Reply
  • I edited your code snippet to use the code formatting. I've seen that call lock up when there was a bad clock on the 32KHz external oscillator pins. What are you using for a low frequency clock? If it isn't an external oscillator with 20PPM of error, you could see this problem.

Children
No Data
Related