完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛扫一扫,分享给好友
|
我正在使用SPC560D MCU和SPC5Studio。我正在使用PLS UDE进行闪存编程和调试。我想保护设备闪存 - 一旦编程完最终版本,就可以读写代码和数据。有没人试过这个? PLS UDE是否支持这种保护?
我在参考手册中阅读了审查主题(第5.1.3节/第75页)。这个功能可以达到我的目的吗?有没有人用过这个?这如何适用于代码和数据闪存?有人可以精心解释这个吗? 提前致谢。 麦克风 以上来自于谷歌翻译 以下为原文 I am using SPC560D MCU along with SPC5Studio. I am using PLS UDE for flash programming and debugging. I want to protect the device flash memory - code and data both from read and writing once final version is programmed. Has anyone tried this? Whether PLS UDE supports such kind of protections? I read about the Censorship topic (section 5.1.3/ page #75) in reference manual. Can this feature serve my purpose? Has anyone used this? How this works for code and data flash? Can someone explain this elaborately? Thanks in advance. Mike |
|
相关推荐
5个回答
|
|
|
你好迈克,
是的,你必须仔细阅读第5.1.3章 你必须更新:NVPWD0 = 0xFEED_FACE NVPWD1 = 0xCAFE_BEEF 你必须改变: BootPasswd0 = 0xFEEDFACE BootPasswd1 = 0xCAFEBEEF 在cfg文件中,UDE目录。 没有好的密码,就无法闪存。 最好的祝福 二万 以上来自于谷歌翻译 以下为原文 Hello Mike , yes you have to read carrefully the chapter 5.1.3 you have to update :NVPWD0 = 0xFEED_FACE NVPWD1 = 0xCAFE_BEEF you have to change : BootPasswd0=0xFEEDFACE BootPasswd1=0xCAFEBEEF in cfg file, UDE Directory. without the good password, it is not possible to flash. Best Regards Erwan |
|
|
|
|
|
谢谢Erwan的回复。
这可以保护闪存不被读取和写入吗?我想保护我的设备免受逆向工程的影响,即我想保护我的设备不读取闪存,并且还想保护错误的写入。这可以通过“审查”功能实现吗?能否请您提供这方面的更多细节?任何应用笔记都会很有用。 提前致谢。 麦克风 以上来自于谷歌翻译 以下为原文 Thanks Erwan for your reply. Can this protect the flash from reading as well as for writing? I want to protect my device from reverse engineering point of view i.e. I want to protect my device from reading the flash and also want to protect for false writing. Can this be achieved using the 'Censorship' feature? Can you please provide more details in this regard? Any app note will be useful. Thanks in advance. Mike |
|
|
|
|
|
你好迈克,
你有闪存启动吗? 如是 , 您的案例的最佳模式是使用删失模式。 私人闪存密码和审查 1)设置NVSCC0(CW),NVSCC1(CW)与0x55AA不同。 设置NVSCC0(SC),NVSCC1(SC)等于0x55AA。 2)定义NVPWD1,NVPWD2-您的64位密码(保密)。 除了定义好的密码之外,再也不可能使用PLS UDE了。 BootPasswd0 = NVPWD0(你的通行证) BootPasswd1 = NVPWD1(你的通行证) 最好的祝福 二万 以上来自于谷歌翻译 以下为原文 Hello Mike , Did you Flash memory boot ? if yes , The best mode for your case is to use the censored mode. Private Flash Memory Password and censored 1) Set NVSCC0(CW) , NVSCC1(CW) different to 0x55AA. Set NVSCC0(SC) , NVSCC1(SC) equals 0x55AA. 2) Define NVPWD1,NVPWD2- Your 64 bit passwords (keep them secret). it will not possible anymore to use PLS UDE except with the good defined password. BootPasswd0=NVPWD0 (your pass) BootPasswd1=NVPWD1 (your pass) Best regards Erwan |
|
|
|
|
|
你好迈克,
1)对于该工具,您可以在PLS目录中使用“GangProgrammer.exe”。 你可以并行闪存8块板。 我正在与专家核实什么是在SPC560D上闪存软件的最佳方法 这不是一个大众市场的问题;-) 要启用审查功能,您应该通过软件来完成。 2)是的,DFLASH的工作方式相同。 DFLASH也会受到谴责。 它与NVPWD1,NVPWD2中定义的密码相同。 CFLASH& DFLASH将受到谴责。 最好的祝福 二万 以上来自于谷歌翻译 以下为原文 Hello Mike , 1) For the tool you can use ''GangProgrammer.exe'' in PLS Directory. you can flash 8 Boards in parallel. I am checking with experts what is the best way to flash a software on SPC560D it is not a mass market question ;-) to enable the censorship feature, you should do by software. 2) Yes , it is worked in the same way for DFLASH. the DFLASH will be censured too. it is the same password defined in NVPWD1,NVPWD2. CFLASH & DFLASH will be censured. Best Regards Erwan |
|
|
|
|
|
你好,Erwan,
对于其中一篇帖子,您提到过设置以下寄存器。能否详细解释带下划线的陈述?如果CW和SC寄存器都应匹配值,那么语句1)如何成立? 您的案例的最佳模式是使用删失模式。 私人闪存密码和审查 1)设置NVSCC0(CW),NVSCC1(CW)与0x55AA不同。 设置NVSCC0(SC),NVSCC1(SC)等于0x55AA。 提前致谢。 麦克风 以上来自于谷歌翻译 以下为原文 Hello Erwan, For one of the posts, you mentioned about setting following registers. Can you please explain the underlined statement in detail? If both CW and SC registers should match for values, how the statement 1) can be true? The best mode for your case is to use the censored mode. Private Flash Memory Password and censored 1) Set NVSCC0(CW) , NVSCC1(CW) different to 0x55AA. Set NVSCC0(SC) , NVSCC1(SC) equals 0x55AA. Thanks in advance. Mike |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1453 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1502 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3649 浏览 1 评论
3842 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2461 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
727浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
661浏览 5评论
710浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
941浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
745浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 06:03 , Processed in 0.506067 second(s), Total 50, Slave 43 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
561