Hello again Nordic World,
We have been using a couple of the Nordic dev boards (PCA10028, PCA10040) as uart central devices in our test system for a while and have just recently run into a problem. I inadvertently overwrote their programming with our custom board code and needed to recall the uart central project to reprogram them. In doing so I noted that when trying to download the SD (via our IDE, Keil5) I get a non-descript download and/or erase failure code ending in the phrase "...Cortex-0" or "...Cortex4" depending, of course, on which board I am trying to program.
As an Interim solution, I have found that this can be remedied by using nrfjprog to perform a --recover. However, this only allows the SD to be downloaded once. All subsequent attempts fail. This leads to my first question:
Is this normal behavior for these dev boards, or should I suspect that there is another problem with my projects for them?
In a effort to troubleshoot this, presuming corruption of my projects, I downloaded a virgin copy of the SDK we are stuck using (12.3.0) and tried compiling the virgin code under that SDK. When I try to compile, I get the following error and a warnings:
RTE\Device\nRF51422_xxAC\system_nrf51.c(29): error: #5: cannot open source input file "nrf51_erratas.h": No such file or directory
#include "nrf51_erratas.h"
So, where is this header file located? I cannot find it anywhere and have seen some writings indicating it may be a hidden file?
..\..\..\main.c(637): warning: #174-D: expression has no effect
NRF_LOG_INIT(NULL);
Is this warning related to the missing erratas?
Finally, is it possible to configure these projects so I can reliable rewrite the SD without resorting to the --recover patch?
Thank you kindly,
Robin @ TL