担心里面的内容会很容易读出

[复制链接]
678|10
 楼主| zyf部长 发表于 2018-5-18 09:37 | 显示全部楼层 |阅读模式
我有个样机给客户试用,但是我担心里面的内容会很容易读出来,请问各位是不是有什么加密设置的
chuxh 发表于 2018-5-18 09:41 | 显示全部楼层

然后呢?你是怎么应对这个的呢         
 楼主| zyf部长 发表于 2018-5-18 09:43 | 显示全部楼层
我用PSOC MiniProg 和 PSOC Programmer 3.12 灌程序的。
stly 发表于 2018-5-18 09:45 | 显示全部楼层
PSoC Designer 中project file里有一个flashsecurity.txt文件
 楼主| zyf部长 发表于 2018-5-18 09:48 | 显示全部楼层

都能设置哪些保护级别?
dingy 发表于 2018-5-18 09:50 | 显示全部楼层

Unprotected
Factory upgrade
Field upgrade
Full protection
 楼主| zyf部长 发表于 2018-5-18 09:53 | 显示全部楼层
不懂,如何设置?

Unprotected
Factory upgrade
Field upgrade
Full protection

分别是什么功能?

; @Id: flashsecurity.txt#2 @
;
; Edit this file to adjust the Flash security for this project.
; Flash security is provided by marking a 64 byte block with a character
; that corresponds to the type of security for that block, given:
;
; W: Full (Write protected)
; R: Field Upgrade (Read protected)
; U: Unprotected
; F: Factory

; Note #1: Protection characters can be entered in upper or lower case.
; Note #2: Refer to the Flash Program Memory Protection section in the Data Sheet.

; Comments may be added similar to an assembly language comment, by
; Using the semicolon (;) followed by your comment.  The comment extends
; to the end of the line.

; 0 40 80 C0 100 140 180 1C0 200 240 280 2C0 300 340 380 3C0 (+) Base Address

  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address 0
  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address 400
  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address 800
  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address C00
  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address 1000
  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address 1400
  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address 1800
  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address 1C00
  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address 2000
  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address 2400
  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address 2800
  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address 2C00
  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address 3000
  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address 3400
  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address 3800
  W  W  W  W  W   W   W   W   W   W   W   W   W   W   W   W ;    Base Address 3C00
; End 16K parts
renyaq 发表于 2018-5-18 09:56 | 显示全部楼层
你现在是W,就是 Full (Write protected)
 楼主| zyf部长 发表于 2018-5-18 09:58 | 显示全部楼层
如果允许重新多次灌程序,但不能让其他人读出我的代码,我该设置成那种呢?
supernan 发表于 2018-5-18 10:01 | 显示全部楼层

除了U以外,其他都不能外部读
R可以内部写,F可以内部和外部写
 楼主| zyf部长 发表于 2018-5-18 10:04 | 显示全部楼层
好的,我明天去单位试一下,多谢各位大侠了哈,结贴了先
您需要登录后才可以回帖 登录 | 注册

本版积分规则

694

主题

7102

帖子

8

粉丝
快速回复 在线客服 返回列表 返回顶部