F452 Code Protect


Closed Thread
Results 1 to 3 of 3
  1. #1
    onur's Avatar
    onur Guest

    Default F452 Code Protect

    Hi

    I m using pic18f452 and i want protect my code. f 452 Datasheet says 3 protect way. I try all of them.

    When I protect the code with CPB its working, but dataeeprom cant read and write.

    I want code protect only for program memory what must i do?
    Thanks.

  2. #2
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Leave the first 512byte

    Hi,

    Please leave the bootloader (the first 512bytes) unprotected. This might be a PBP limitation but I did not find any workarounds other than mentioned.
    Regards

    Sougata

  3. #3
    onur's Avatar
    onur Guest


    Did you find this post helpful? Yes | No

    Default

    I have solved my problem.Only cp0 and cp1 protected is enough.

Similar Threads

  1. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  2. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. Protect the code
    By oslinux in forum General
    Replies: 23
    Last Post: - 28th August 2007, 22:03
  5. Setting Code Protect and Data Protect
    By Peter1960 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 29th March 2006, 00:35

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts