I am using SDK 11.0 , And I changed pca10028 to 51822 in ble_app_hrs folder,which was default 51422.
I am using SDK 11.0 , And I changed pca10028 to 51822 in ble_app_hrs folder,which was default 51422.
double check the flash start address.
To add to Michaels comment, Keil will always reset the start address to 0x00 whenever the target device is changed.
Change the ram and flash start/size back to their original values, rebuild and your example will program
I don't know their original values. How much shoulld I set? See the picture I put below.
The default values for IRAM1 and IROM1 for the ble_app_hrs example in SDK 11 is given below: