How to Add the protection to internal Flash ??

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Add the protection to internal Flash ??

Jump to solution
1,514 Views
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

Labels (1)
0 Kudos
1 Solution
443 Views
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.

 

View solution in original post

0 Kudos
2 Replies
444 Views
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 Kudos
443 Views
OmarAI
Contributor I
I've read your post but can't understand it completely....can you be more specific?
0 Kudos