18F1320 ... Strange Memory


Results 1 to 40 of 44

Threaded View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653

    Question 18F1320 ... Strange Memory

    Hi all,

    I wrote a nice piece of code ( 3200 hex lines ...) for a 16F648 an a 16F88 : Everything works OK ! ... thank you.

    BUUUUUT, Trying to use it aboard a 18F1320 ... things become quite funny :

    Let's see:

    Program runs ... but...

    I have to memorize in the EEPROM 8 values "in a row" ( from 1 to 8 ) and then Three others, one by one, at locations 10,11, and 12.

    The first 8 are well Stored ... but the 3 others never want to be stored !!!

    Somewhere else, after that, I can modify values 1 and 2 ...

    They are properly modified and stored !!!!

    So, shortly ... my 18F1320 seems to have only 8 addressable EEPROM registers.
    I tried to push the 3 lonesome values to $11, 12 and 13 ... no more result.

    Anyone understanding that ???

    ( Setting WREN to 1 doesn't modify anything ... )

    Alain
    Last edited by Acetronics2; - 4th April 2006 at 17:53.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. Strange pic 16f877a memory loss
    By DavyJones in forum General
    Replies: 23
    Last Post: - 6th July 2009, 20:27
  2. Need the code to write to a memory
    By Hamlet in forum General
    Replies: 0
    Last Post: - 20th August 2007, 00:22
  3. Replies: 4
    Last Post: - 2nd March 2007, 06:12
  4. sample code for M25P32
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th January 2007, 02:37
  5. Use internal program memory like DATA memory
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th December 2006, 18:38

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