Methods for securing code in JN5189

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Methods for securing code in JN5189

跳至解决方案
1,033 次查看
Johnny9
Contributor II

Does JN5189 support the ability to protect flash binary code using UID?
If it does, where can I find instructions on how to use it?

0 项奖励
回复
1 解答
997 次查看
EduardoZamora
NXP TechSupport
NXP TechSupport

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.

在原帖中查看解决方案

0 项奖励
回复
6 回复数
998 次查看
EduardoZamora
NXP TechSupport
NXP TechSupport

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.

0 项奖励
回复
954 次查看
Johnny9
Contributor II

Hello Eduardo

Thank you for the reply.
I have additional questions.
Is the code protection feature that encrypts the off-chip flash memory contents available in JN5189?

Regards,
Johnny9.

0 项奖励
回复
918 次查看
EduardoZamora
NXP TechSupport
NXP TechSupport

Hi,

Are you planning to store your code in external flash? Is your project intended for a wireless application?

Regards,
Eduardo.

0 项奖励
回复
845 次查看
Johnny9
Contributor II

Hi

This project is intended for a wireless application, and it doesn't use external flash storage.
I am aware that methods such as IC decapsulation can potentially extract the binary data from the flash memory.
Encrypting flash binaries can enhance security and mitigate such threats.
Does the JN5189, which comes with built-in flash memory, offer support for flash encryption?

Regards,
Jonny9.

0 项奖励
回复
816 次查看
EduardoZamora
NXP TechSupport
NXP TechSupport

Hi,

The features provided to protect access to the memory should be the ones described in JN5189 User Manual, Section 7.3.2 Code protection and Section 38.8 ISP Usage restrictions.

Regards,
Eduardo.

0 项奖励
回复
785 次查看
Johnny9
Contributor II

Hi

Thank you for your response.

Regards,
Jonny9.

0 项奖励
回复