打印

PSOC1 的加密

[复制链接]
3178|11
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
huwr|  楼主 | 2012-11-13 19:34 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我有个样机给客户试用,但是我担心里面的内容会很容易读出来,请问各位是不是有什么加密设置的
沙发
huwr|  楼主 | 2012-11-13 19:34 | 只看该作者
我用PSOC MiniProg 和 PSOC Programmer 3.12 灌程序的。

使用特权

评论回复
板凳
huanghuac| | 2012-11-13 19:37 | 只看该作者
PSoC Designer 中project file里有一个flashsecurity.txt文件

使用特权

评论回复
地板
huwr|  楼主 | 2012-11-13 19:39 | 只看该作者
都能设置哪些保护级别?

使用特权

评论回复
5
huanghuac| | 2012-11-13 19:41 | 只看该作者
Unprotected
Factory upgrade
Field upgrade
Full protection

使用特权

评论回复
6
huwr|  楼主 | 2012-11-13 19:43 | 只看该作者
不懂,如何设置?

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


; Copyright (c) Cypress Semiconductor 2009. All Rights Reserved.

使用特权

评论回复
7
huanghuac| | 2012-11-13 19:45 | 只看该作者
你现在是W,就是 Full (Write protected)

使用特权

评论回复
8
huwr|  楼主 | 2012-11-13 19:47 | 只看该作者
如果允许重新多次灌程序,但不能让其他人读出我的代码,我该设置成那种呢?

使用特权

评论回复
9
huanghuac| | 2012-11-13 19:55 | 只看该作者
除了U以外,其他都不能外部读
R可以内部写,F可以内部和外部写

使用特权

评论回复
10
huwr|  楼主 | 2012-11-13 19:57 | 只看该作者
哦,懂了,多谢你啊

使用特权

评论回复
11
huwr|  楼主 | 2012-11-13 19:57 | 只看该作者
可惜只有20分,呵呵

使用特权

评论回复
12
Go_PSoC| | 2012-11-13 22:56 | 只看该作者
相信大家是不会太在意分数的:)

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

780

主题

8627

帖子

5

粉丝