Sir,
In some examples I found some of the example programs does not contains Soft Device. What to do???
And when I Flashed the main file alone it shows some errors.
Sir,
In some examples I found some of the example programs does not contains Soft Device. What to do???
And when I Flashed the main file alone it shows some errors.
Hi,
The example you refer to, like most other hardware peripheral examples, does not include a SoftDevice because it doesn't need it nor use it. You can see that it is in a folder named "blank" which is used to indicate that it does not use a SoftDevice. Projects that need a SoftDevice on the other hand are in folder with the SoftDevice name (such as "s132").
If you read the error message produced by Keil you will see that there are build errors, so no output file is generated. Therefore, programming fails with "cannot open file", which is natural since no binary was generated due to the build error. The serial_uartes example project shipped with SDK 15.2 compiles without any errors, so I assume you have made some changes? You can see form the error message that the problem is that the linker cannot find the listed functions, so they are not compiled for some reason.
Sir,
I erased the changes I had made and now it is as default. But now also it is showing some errors.
Have you tried to do a full chip erase? That can be done for instance using nRF Connect Programmer or nrfjprog with "nrfjprog -e".
Yes, full chip erase is done in Keil uVision itself.
OK. Kan you try programming from nRF Connect Programmer or nrfjprog and see if that works?