WRITE data to EEPROM on PIC18F8621


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Location
    Melbourne AUSTRALIA
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    No, that is not the case, I have checked over the code many times.

    One thing I did notice is when I program the PIC the fuse settings for 'EEPROM table write protect' and 'CONFIG table write protect' are both DISABLED, But when I read the HEX, EEPROM, and fuse data back to the PIC programer both of those setting are ENABLED.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    High likely it's down to your PIC programmer. Which one?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Mar 2007
    Location
    Melbourne AUSTRALIA
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    High likely it's down to your PIC programmer. Which one?
    I use the DIY K128 v141204

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    and which software?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Mar 2007
    Location
    Melbourne AUSTRALIA
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    and which software?
    MPLAB IDE v7.21

    The K128 programer has its own software

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    maybe it worth to visit their forum and ask?
    http://www.websitetoolbox.com/tool/mb/diykit
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  7. #7
    Join Date
    Mar 2007
    Location
    Melbourne AUSTRALIA
    Posts
    8


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by mister_e View Post
    maybe it worth to visit their forum and ask?
    http://www.websitetoolbox.com/tool/mb/diykit
    I think you're on the right track.

    Just tried loading the program again, both settings disabled.
    did not power up the PIC
    read rom, eeprom, fuse data, and both setting are already enabled.

    also tried inverting these settings as you sugested but they read the same (enabled)

    will look further at the programmer K128 possibly require updated firmware.

    Thanks for all the help, will let you know how I go.

  8. #8
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by dschafer View Post
    No, that is not the case, I have checked over the code many times.
    Of course it's never the program writer's fault, is it?

    Quote Originally Posted by dschafer View Post
    One thing I did notice is when I program the PIC the fuse settings for 'EEPROM table write protect' and 'CONFIG table write protect' are both DISABLED, But when I read the HEX, EEPROM, and fuse data back to the PIC programer both of those setting are ENABLED.
    So set them so that the 'protect' options are enabled, read them back, see if they're disabled, and try the program again. Maybe the software for the programmer is bass-ackwards...

Similar Threads

  1. Can't read sequential addresses in external EEPROM
    By tjkelly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2010, 14:46
  2. Data EEPROM gets clobbered during programming
    By BrianT in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th July 2008, 02:46
  3. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 14:50
  4. Internal EEPROM Read/write Addressing Errors with 18F PIC's
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 18
    Last Post: - 12th July 2005, 19:42
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 28th November 2004, 23:56

Members who have read this thread : 0

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