openthread / ot-nrf528xx

OpenThread on Nordic nRF528xx examples.
https://openthread.io/
BSD 3-Clause "New" or "Revised" License
61 stars 59 forks source link

/opt/nrfjprog/: No such file or directory #668

Closed tunm1228 closed 10 months ago

tunm1228 commented 11 months ago
image
superwhd commented 11 months ago

I wonder if you've done this step to install the NRF5x command line tools? nrfjprog is part of the tools.

tunm1228 commented 11 months ago

I wonder if you've done this step to install the NRF5x command line tools? nrfjprog is part of the tools.

I haven't done this step yet. I will try. thank you

tunm1228 commented 11 months ago

I wonder if you've done this step to install the NRF5x command line tools? nrfjprog is part of the tools.

May I ask you. Download and push in and do what is in this downloaded file?

tunm1228 commented 11 months ago

I installed it but still can't find this folder

image
tunm1228 commented 11 months ago
image
superwhd commented 11 months ago

Could you check which nrfjprog? Probably the executable binary already in your $PATH.

tunm1228 commented 11 months ago
image

it is here

superwhd commented 11 months ago

Then you should be able to run nrfjprog. Is there specifically anything else you need in the nrfjprog/ directory?

tunm1228 commented 11 months ago

Project ot-nrf528xx is in the root directory. Can you guide me to navigate to nrfjprog

tunm1228 commented 11 months ago
image

it had this error

superwhd commented 11 months ago

Try removing ./ from the beginning of your command.

tunm1228 commented 11 months ago
image
tunm1228 commented 10 months ago

Try removing ./ from the beginning of your command.

It looks like read back protection (APPROTECT) is enabled. If so, you can disable it using "nrfjprog --recover".

image
tunm1228 commented 10 months ago

@superwhd Do you know what this error is caused by? I used the command rm -rf build and tried again and got the same error

image
tunm1228 commented 10 months ago

I had to unplug and plug it back in for it to work

image