I have successfully compiled my project using `west build` and now I am trying to load it onto my nrf5340 board I recently purchased. Here's what I'm doing:
- From the same directory I built the project using `west build`, I am running `west flash`
- My board is plugged in to my PC with 2 micro-USB cables, 1 for power (switch is on, green light is one), and 1 for interface.
- I installed the latest SEGGER software.
When I run `nrfjprog --recover` it seems to work fine with the following output:
heal@Jedediahs-MacBook-Air le-audio % nrfjprog --recover Recovering device. This operation might take 30s. Writing image to disable ap protect. Erasing user code and UICR flash areas.
When I run `west flash` it fails with the following output:
heal@Jedediahs-MacBook-Air le-audio % west flash -- west flash: rebuilding ninja: no work to do. -- west flash: using runner nrfjprog ERROR: An internal error has occurred, please try again. NOTE: For additional output, try running again with logging enabled (--log). NOTE: Any generated log error messages will be displayed. FATAL ERROR: command exited with status 63: nrfjprog --ids
Versions:
nrfConnect v 3.7.0
Toolchain Manager v 0.10.0
nrf sdk v 1.7.0