How to Add the protection to internal Flash ??

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

How to Add the protection to internal Flash ??

跳至解决方案
2,182 次查看
Harlen_CHen
Contributor I

Hello,

We use the MC908GT16 for 3 years. Currently, we find the internal flash to be changed. The program can not run correctly. Originally, we dont add the protection to the internal Flash. We want to know:

1. How to add protection to the entire Flash?

2. If protection , We can read the program of Flash? How to read?

3. If protection, the Flash can be re-program ?

 

Best regards

harlen

标签 (1)
0 项奖励
回复
1 解答
1,111 次查看
peg
Senior Contributor IV

Hello Harlen,

 

What you want can be achieved by using Flash block protection.

See section 4.4.6 of the manual. Maybe look at the GT16A manual for a better description.

You just programme NVPROT with the appropriate value and that's it. ($BE)

 

This only provides protection from internal access.

When you connect via a BDM adapter the software will un-protect the flash so it may be then modified.

Note that this un-protecting can only be done through the BDM.

 

If still not clear on this perhaps you can narrow down your area of concern.

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,112 次查看
peg
Senior Contributor IV

Hello Harlen,

 

What you want can be achieved by using Flash block protection.

See section 4.4.6 of the manual. Maybe look at the GT16A manual for a better description.

You just programme NVPROT with the appropriate value and that's it. ($BE)

 

This only provides protection from internal access.

When you connect via a BDM adapter the software will un-protect the flash so it may be then modified.

Note that this un-protecting can only be done through the BDM.

 

If still not clear on this perhaps you can narrow down your area of concern.

 

0 项奖励
回复
1,111 次查看
OmarAI
Contributor I
I've read your post but can't understand it completely....can you be more specific?
0 项奖励
回复