I am having problems flashing my custom board with a nrf5340 chip. Sometimes it works, sometimes it does not, but more often than not it doesn't work and I cannot figure out why. It also doesn't log consistently.
First, I do a pristine build with code which has worked. Then I try and flash and see this in the console:
I have run it from the command line as well and get the log (as it recommends). It was recommeded that I try recover so I ran this command: nrfjprog --recover --log
and saw this in the terminal:
I try to reflash from the VS Code Add-In where it command exited with status 33
:
Sometimes I get this with a command exited with status 25
:
I run this but it doesn't seem to work:
Twice after trying this for a while and gtiving it a break I will flash it and it will take. I don't see the logging but eventually that starts as well.
My prj.conf looks like this:
My sysboot.conf: