Internal eeprom - erase block


Closed Thread
Results 1 to 33 of 33

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    Cebu, Philippines
    Posts
    14


    Did you find this post helpful? Yes | No

    Unhappy i'll try

    I also got problem writing the eeprom. I program it this way:

    lcdout $fe,1,"writing the eeprom"

    write 0,2
    write 1,3
    pause 2000

    lcdout $fe,1,"Successful!"

    end

    The output is terrible.It will just make the lcd display "writing the eeprom" and it will keep on refreshing...
    Please help me...

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


    Did you find this post helpful? Yes | No

    Default

    Use a STOP or an endless loop before the END statement.
    Code:
            pause 2000
            lcdout $fe,1,"Successful!"
    Here:   GOTO Here 
    end
    Steve

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

  3. #3
    Join Date
    Nov 2007
    Location
    Cebu, Philippines
    Posts
    14


    Did you find this post helpful? Yes | No

    Default thanks

    Thanks steve.
    I'll try this.

  4. #4
    Join Date
    Nov 2007
    Location
    Cebu, Philippines
    Posts
    14


    Did you find this post helpful? Yes | No

    Unhappy Still won't work

    Hi Steve!

    I placed an endless loop before the END, but still i got the same output.
    What should I do?
    Please help...

  5. #5
    Join Date
    Nov 2007
    Location
    Cebu, Philippines
    Posts
    14


    Did you find this post helpful? Yes | No

    Default error in my code

    Hi skimask!
    The DEC code will cause a compilation error.
    What shall I do?
    If you know other means please tell me...
    Thank you in advance.

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ria_river View Post
    Hi skimask!
    The DEC code will cause a compilation error.
    What shall I do?
    If you know other means please tell me...
    Thank you in advance.
    What shall you do?
    Read the manual, figure out how to use it for yourself.
    Jeez...try to do some of the legwork yourself for a change...
    I know of plenty of other 'means' to do what you want, but you want to be spoonfed like a little baby...

    Unless of course you don't have a manual because you've got a pirated copy of PicBasicPro.
    Which is entirely possible.
    You know that online PDF at MeLabs website isn't exactly up to date.
    Last edited by skimask; - 19th January 2008 at 08:15.

  7. #7
    Join Date
    Nov 2007
    Location
    Cebu, Philippines
    Posts
    14


    Did you find this post helpful? Yes | No

    Smile I see

    Thank you for all the help.

    I been reading the manual a lot of times. I even follow the codes and procedures provided by the manual.
    It's just simply won't work.

    Again, thank you very much for your time and ideas.

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, 15:46
  2. config bits
    By brianD in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 9th February 2010, 14:45
  3. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 01:55
  4. PortE problems (PIC18F4455)
    By RubenR in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 12th July 2006, 16:26
  5. 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, 20:42

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