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

problems of migrating SDK5 nrf51422 to nrf5182

Hi.

I struggled to migrate ble blinky example of nrf5 (nrf51422) to nrf51822 using KEIL (SDK5 v12.3) but failed

Here are what I tried.

Firstly, I changed target device from nrf51422 to nrf51822 as below

And I changed parameters of  ROM and RAM as below.

And then download the S130 and application code as usual but it seems the code doesn't work.

Please tell me what I missed.

Junho.

Parents
  • Hi,

    It should not be necessary to do this, the nRF51822 and nRF51422 are identical except from ANT support.

    Have you tried debugging the application to see if any error codes are returned? You seem to have allocated very little RAM space for the softdevice (the minimum required RAM). Unless you use very few features of the softdevice, you will most likely need more. The typical default values in the ble_peripheral examples in SDK 12.3.0 is

    START = 0x20001fe8, SIZE = 0x6018. If you use xxAB package, SIZE should be reduced by 0x4000, i.e., set to 0x2018.

    Best regards,
    Jørgen

Reply
  • Hi,

    It should not be necessary to do this, the nRF51822 and nRF51422 are identical except from ANT support.

    Have you tried debugging the application to see if any error codes are returned? You seem to have allocated very little RAM space for the softdevice (the minimum required RAM). Unless you use very few features of the softdevice, you will most likely need more. The typical default values in the ble_peripheral examples in SDK 12.3.0 is

    START = 0x20001fe8, SIZE = 0x6018. If you use xxAB package, SIZE should be reduced by 0x4000, i.e., set to 0x2018.

    Best regards,
    Jørgen

Children
Related