PIC18 code protection bits

Status
Not open for further replies.

OskarDust

Newbie level 4
Joined
Apr 14, 2003
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
65
pic18f code protection

Anybody know the difference of Code Protection CP Bits and Write Protection WRT bits on PIC18 devices?

I thought CP bits inhibits external RD/WR and WRT inhibits internal WR only. However, I "code protect" CPD=0 and enable Writes WPD=1 on eeprom memory, and the cpu can not Write/read bytes of eeprom memory.

I have read the errata sheets and I haven't found anything wrong.

Thanks
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…