Dear Nordic Team,
I want to move all example code nrf51422 into nrf51822. I am using SDK11. What are the changes want to do in keil compiler. Please support anyone.
Dear Nordic Team,
I want to move all example code nrf51422 into nrf51822. I am using SDK11. What are the changes want to do in keil compiler. Please support anyone.
You do not need to make any changes at all. The only difference is that the nRF51822 does not support ANT.
While not related to the difference between nrf51422 and nrf51822, both come in variants with different combinations of flash and RAM sizes. The chip on the DK has 256 kb flash and 32 kB of RAM. Com pare that to your device. If you are also moving to a device with less flash or RAM, you will have to adapt your linker settings accordingly by reducing the length/size to fit the device.
You do not need to make any changes at all. The only difference is that the nRF51822 does not support ANT.
While not related to the difference between nrf51422 and nrf51822, both come in variants with different combinations of flash and RAM sizes. The chip on the DK has 256 kb flash and 32 kB of RAM. Com pare that to your device. If you are also moving to a device with less flash or RAM, you will have to adapt your linker settings accordingly by reducing the length/size to fit the device.
Thanks for reply. nRF51822xxAA have 256kb flash and 16kB RAM. please check my RAM settings Ram.png. I am using experimental_ble_app_blinky example code.
When changing the application to be built for a device with 16 kB RAM instead of 32 kB you have to subtract 8 kB or ram (0x4000) from the size. For the experimental_ble_app_blinky_s130_pca10028 example in SDK 11 that means that you should set IRAM1 size to 0x5F80 - 0x4000 = 0x1F80. Leave the start address as is.
(In the screenshot you attached, you have both a start address and a size that does not match this, which is wrong)
Thank you very much. As per your guide modify the RAM working good. Great support.