Hello @seunghokims
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), and Section 38.8 Usage restrictions.
Also, you may find some useful programming commands using DK6Programmer software in the DK6 User Guide [3127] (included in JN5189 SDK > docs); and also, by typing DK6Programmer.exe -s COMx --help in a command console.
Regards,
Eduardo.