Flash Block Protection / Vector Redirection

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

Flash Block Protection / Vector Redirection

2,536 Views
gueggi
Contributor I

Hi,

i will used the 'FLASH Block Protection' and 'Vector Redirection' functionality of the MC9S08GB60A controller.

 

Questions:

- It is possible with this configuration to re-program the protected area?

- Is the 'Vector Redirection' available without 'Flash Block Protection'?

 

Thanks for your help.

 

Regards ...

Labels (1)
0 Kudos
2 Replies

312 Views
Alban
Senior Contributor II
Hi Again,
 
Q2- Is the 'Vector Redirection' available without 'Flash Block Protection'?
A2- in datasheet, answer is no.

Whenever any block protection is enabled, the reset and interrupt vectors will be protected. Vector redirection allows users to modify interrupt vector information without unprotecting bootloader and reset vector space. Vector redirection is enabled by programming the FNORED bit in the NVOPT register located at address $FFBF to zero. For redirection to occur, at least some portion but not all of the FLASH memory must be block protected by programming the NVPROT register located at address $FFBD. All of the interrupt vectors (memory locations $FFC0–$FFFD) are redirected, while the reset vector ($FFFE:FFFF) is not.
 
Alban.
0 Kudos

312 Views
Alban
Senior Contributor II
Hello !
 
Q1- It is possible with this configuration to re-program the protected area?
A1- Only after a mass-erase and un-secure of the Flash.
 
Cheers,
Alban.

Message Edited by Alban on 2006-11-06 04:17 PM

0 Kudos