Hello @Johnny9
Hope you are doing well.
According to the JN5189 User Manual, Chapter 7 Reset, Boot and Wakeup, Section 7.3.2 Code protection, the following features are provided to protect the access to the memory:
- SWD and JTAG control
- Configuration of memory protection mechanism (MPU), by the boot code, to minimize threats such as code injection
It is possible to restrict access to (or even disable) the ISP functionality, for instance in order to protect code in the flash. For more information on this, please consult Chapter 38 In-System Programming (ISP), Section 38.8 Usage restrictions.
Also, you may find some useful commands using DK6Programmer software by typing DK6Programmer.exe -s COMx --help
Regards,
Eduardo.