Hi,
Could someone say how can I protect Block3 flash to write in PIC18F452?(address 0x6000-0x7FFF).
Thanks.
___________________________
This message was ported from CCS's old forum
Original Post ID: 13101
Tomi Guest
Re: Flash Block Protect
Posted: Thu Mar 27, 2003 3:14 am
In 16F series there was keywords like PROTECT_5\% and others. Maybe these settings are completely missing in 18F series.
Maybe there is a much simpler way but you can try the following:
Open the HEX file after compiling.
Find the following two lines:
:020000040030CA // this line sets the offset address to 0x300000
:0E00000000210C0F000181000FC000E00F4036 //config bytes
-------------------------!!------------
The two digits signed by "!" is the CONFIG5L (0x300008). Modify it to "07" to protect 0x6000-0x7FFF:
:0E00000000210C0F0001810007C000E00F4036
:=Hi,
:=Could someone say how can I protect Block3 flash to write in PIC18F452?(address 0x6000-0x7FFF).
:=Thanks.
___________________________
This message was ported from CCS's old forum
Original Post ID: 13125
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum