18F1320 ... Strange Memory


Closed Thread
Results 1 to 40 of 44

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Sorry ...

    YES, I do confirm ... old versions are always thrown to the trash box ...

    PbP used version seen in the MPLAB / Output/ Build window too ...

    Alain
    Last edited by Acetronics2; - 6th April 2006 at 16:18.
    ************************************************** ***********************
    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 " !!!
    *****************************************

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Just because I'm a nice girl, I've ordered one... hopefully, I'll have a 18F1320-I/P tomorrow...

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


    Did you find this post helpful? Yes | No

    Wink Humour at the end

    Hi, Mel

    And you know why I tried to use the 18F1320 ???

    Just because 16F648 and 16F88 are not so easy to find by one part ...

    This gadget will be published this summer inside THE only FREE model Webzine ( http://aeronews.free.fr/index.html ) ... no money to earn for me .. or so little !!!

    .... Funny, I got This from Jeff Schmoyer ...

    " If it works well with the 16F88, you might want to stick
    to that device. You might also want to compare the
    erratas from Microchip on the devices you are using. "

    What to think of that ???

    Thanks for your Help,

    Alain
    ************************************************** ***********************
    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 " !!!
    *****************************************

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


    Did you find this post helpful? Yes | No

    Default

    That's maybe just another Microchip way of reinvent the wheel.... This may be another specific device who need another special method to write to eeprom and plah plah... BUT how about if you use the assembler method stated in the datasheet AND/OR errata to write to the eeprom?

    Could also be another MPASM problem... wich is still possible. Did you contact Microchip tech-Support http://support.microchip.com Usually they answer within 24 hours

    Sorry Alain i don't have any handy 18F1320 to test it. I'll order some sample for myself too to play with them when health permit to stay awake more than 1 hour steady.
    Steve

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

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


    Did you find this post helpful? Yes | No

    Wink Not a soft problem ...

    Quote Originally Posted by mister_e
    BUT how about if you use the assembler method stated in the datasheet AND/OR errata to write to the eeprom?
    Hi, Steve

    I looked at the 2 methods µchips proposes ( Sleep/ Wake on Interrupt or WR polling ) ...
    In fact the two methods are based on the WR bit clearing ... so why would one be better than the other !!!

    Writing time is given by the hardware ... no way to increase it !!!

    PbP uses the polling method, and I don't see anything hazadous in that the GIE bit is firmly set to 0 ... and I never set it to 1 in that program.

    Hope you'll soon be on your legs ...

    Amitiés from the " Maudit Français"

    Alain
    ************************************************** ***********************
    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 " !!!
    *****************************************

  6. #6
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    I'm thinking that swapping a $2 part for the most expensive item on the menu at Le Cinq next time I'm in Paris is a good investment *smiles*

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


    Did you find this post helpful? Yes | No

    Default

    Probably the only thing you'll have for your 2$ is a smile... and again LOL!
    Steve

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

  8. #8
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Alain,

    What is the manufacturing date code of your 18F1320?

    Luciano


    Picture from the internet:
    Last edited by Luciano; - 6th April 2006 at 18:37.

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


    Did you find this post helpful? Yes | No

    Default

    Hi,Luciano

    I have 05250SE as a code.

    I bought them at the end of last year ( 2005 ) from FARNELL.

    I've seen the errata giving an increasing EEPROM Writing time from 4 to 5.5 ms ...

    may be, MPLAB didn't follow ...

    something strange is I have to program it in 4 times ( ! ) to get 100% success

    1) Erase all
    2) Config words only( Ok only at second pass ...)
    3) Program only
    4) EEPROM only

    setting to "Auto select" fails at each trail ... " Erase all at first" too

    Alain
    ************************************************** ***********************
    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, 21:27
  2. Need the code to write to a memory
    By Hamlet in forum General
    Replies: 0
    Last Post: - 20th August 2007, 01:22
  3. Replies: 4
    Last Post: - 2nd March 2007, 07:12
  4. sample code for M25P32
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th January 2007, 03:37
  5. Use internal program memory like DATA memory
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th December 2006, 19: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