Hi,
Can anyone suggest me an example program to control LED connected to nRF51822 with a mobile app?
Hi,
Can anyone suggest me an example program to control LED connected to nRF51822 with a mobile app?
I couldn't download an application program to nRF51822 after loading the SoftDevice using keil 5 as it always pop up with Error: Flash download failed - "Cortex-MO". To your notice I am using BLE400 motherboard. Do you have some solutions?
The error you are getting is when you try to flash in an area where the SoftDevice is located.
Which SDK version and SoftDevice version do you use? I assumed SoftDevice version S130 v2 in my answers (ROM and RAM addresses are for this SoftDevice).
I am trying to build the project from nRF51_SDK_10.0.0_dc26b5e. And the ble_app_blinky has s110_nrf51_8.0.0_softdevice and the name of application program am using is nrf51422_xxac_s110.
Ok, then this should be the RAM and ROM adresses and sizes:
IROM1:
Start: 0x18000
Size: 0x28000
IRAM1:
Start: 0x20002000
Size: 0x6000
Again, it will be easiest just to download a fresh copy of the SDK. You may also want to use the newest SDK which is version 11.
This is the image of the SoftDevice Project file seen in my keil 5. I have seen some error in the files, they are clearly visible in the screen shot I uploaded. Even though with this error I could build and download the SoftDevice to the module. Is this the issue? if so, how to solve them?
This is the image of Appliction Program project file seen in Keil 5.