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

RAM and ROM address initialization in Keil

I have an nRF51822 chipset (256KB Flash memory and 32KB ROM) that want to put the ble_app_uart code on it from the nRF51_SDK_10.0.0_dc26b5e SDK. I am using Keil 5. I know that I should first put the SoftDevice on the nRF51822 chipset, but I fail this step. What I do is to select the flash_s110_nrf51_8.0.0_softdevice from the drop down menu near the download button. But it throws Error: Flash Download failed - "Cortex-M0". I suspect it is because the RAM and ROM start and size are wrong. I leave them at default values of below:

ROM Start: 0x0    ROM Size: 0x40000

RAM Start: 0x20000000    RAM Size: 0x8000

Then the next step is to build and program the application to the nRF51822 chipset. Please comment on the RAM and ROM address and size initialization on that as well. 

Also that would be great if there is a step-by-step tutorial on how to port an application with a soft device to nRF51822. I could not find anything complete and accurate online.

Parents Reply Children
No Data
Related