USB HCS08/HCS12 MULTILINK how to protect flash from reading

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

USB HCS08/HCS12 MULTILINK how to protect flash from reading

2,627 次查看
Alex_RUS
Contributor I
"— MC13213/214 — a high block of 59348 bytes (115 pages of 512 bytes each plus 1 page of 468
bytes) and a low block of 1920 bytes. The high block can be protected and the low block left
unprotected for use as non-volatile parameters."
 
I need to protect high block () and live low block unprotected for volatile variables.
Is it possible to protect my software using this BDM. How?
标签 (1)
0 项奖励
回复
3 回复数

1,104 次查看
Alban
Senior Contributor II
Hi Alex,
 
S08 and S12 have registers to define the area to be locked against re-write/erase.
But you can still read it. This is called Flash Block Protection.
 
To allow people not to be able to read from BDM, you have to SECURE the device.
In this case all the memory is available to your application.
When the BDM is activated, the memory protected is removed from the memory map and therefore is inaccessible by BDM or the Software: it means you cannot run something in RAM to dump the content of the Flash.
 
These are two separated mechanisms.
 
Cheers,
Alban.
0 项奖励
回复

1,104 次查看
Alex_RUS
Contributor I
I mean SECURE mechanism of course.
 
Is it possible to apply security to flash of mc13213 using P&E UML-12?
0 项奖励
回复

1,104 次查看
peg
Senior Contributor IV
Hi Alex,
 
Turning on security is just a matter of programming two bits in a flash register.
You can arrange for this to be already done in the file you programme into the MPU or just programme this byte afterwards. It is not perculiar to a particular BDM adapter.
Bits 0 and 1 of NVOPT in a GB/GT
 
Regards
David
 
 

Message Edited by peg on 2006-11-1706:54 PM

0 项奖励
回复