DragonPIC
Joined: 11 Nov 2003 Posts: 118
|
PIC18F26J50 WPFP |
Posted: Mon Nov 08, 2010 1:42 pm |
|
|
How can I configure the WPFP besides just using WPFP or NOWPFP? I only want to write protect the beginning blocks of flash. I am using the following code to allocate a flash location for reading and writing parameters:
Code: | #org flash, 0xA3FF {}
#rom flash = {settings} |
Assuming all executable code is located before this location, how do I protect all flash before this?
Like (just example - doesn't work):
Code: | WPEND
WPFP 39
or
WPFP 0x27 |
Thanks,
-Matt _________________ -Matt |
|