I'm using vscode and nRF Connect SDK. While connecting the nRF52833DK with my computer and try to download the software,I found that the device information failed to be read.
the error information as follow:
what should I do
I'm using vscode and nRF Connect SDK. While connecting the nRF52833DK with my computer and try to download the software,I found that the device information failed to be read.
the error information as follow:
what should I do
Hi,
The error indicate that access port protection is enabled (either because it was explicitly enabled, or you are using the newest revision of the SoC, which has an improved access port protection mechanism which is enabled by default). In either case, you need to do a recover operation in order to program it. You can do that in many ways, for instance using "nrfjprog --recover", or using west as suggested in the error message. You should also get a pop-up from VS code asking if you want to recover. This may not work if you have old versions of the tools though, so make sure you have up to date nRF Command Line Tools.
Hi,
The error indicate that access port protection is enabled (either because it was explicitly enabled, or you are using the newest revision of the SoC, which has an improved access port protection mechanism which is enabled by default). In either case, you need to do a recover operation in order to program it. You can do that in many ways, for instance using "nrfjprog --recover", or using west as suggested in the error message. You should also get a pop-up from VS code asking if you want to recover. This may not work if you have old versions of the tools though, so make sure you have up to date nRF Command Line Tools.