How to set CRP and delete PDM in jn5189? (DK6Programmer)
Jn5169 provided the CRP option and the --eepromerase option. (JN51xx Production Flash Programmer)
---example
Bootloader code protection:
CRP_LEVEL0 (None)
CRP_LEVEL1 (Flash read disabled)
CRP_LEVEL2 (all access disabled)
解決済! 解決策の投稿を見る。
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:
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.
Hi EduardoZamora,
Thanks for your quick response.
The DK6 device programmer included in the SDK is (Build 4564).
However, the DK6-UG-3127-Production-Flash-Programmer included in the Doc is an older version, JN-UG-3127 v3.0.
Therefore, there is no explanation for Unlockmode.
DK6 Device Programmer (Build 4564) : --unlockmode <mode>=<filename>
1. Where can I find the latest user guide for unlockmode?
2. Please give an example on how to erase eeprom to clear PDM.
- Jn5169 provided the --eeprom erase option. (JN51xx Production Flash Programmer)
Thanks,
Seungho
Hi,
To erase memory, you could simply use DK6Programmer.exe -s COMxx --erase.
For ISP Level and SWD, you can refer to these commands:
"write only, unsecure" option disables all memory accesses to all memory regions except write to flash and erase all flash (flash data cannot be read).
Regards,
Eduardo.