This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

west rebuild and flash issue for nrf53

I have a problem with nRF5340:
  • when building with west build -bnrf5340dk_nrf5340_cpuappns -p so I have a clean build and flash after that with west flash everything is ok, but every build takes a longer time since it has -p
  • when doing a small change, just print another character to uart, and try to do build like west build -bnrf5340dk_nrf5340_cpuappns so without -p and flash, I do not get new firmware on the MCU. So everything seems good with the build, if I would something wrong in the code it would not build. After that everything seems good with the flashing, but when the app starts it is the same one from the previous flash, not the current one.
  • The same goes if I just do west flash to build and flash for the same target.
What could be the problem? For other NRF chips, this seemed to work ok. I am using NCS1.5.0 and west v0.10.0 on Ubuntu

Best regards,
Vojislav
Related