18F1220 programming problem


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    I get the "Overwriting previous address contents" (Error 118), but as I said, other programs also give these error messages and still compile and program correctly.

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hello jderson,
    It compiles perfectly for me after commenting out the STD configs in the 18F1220.inc file and finds my programmer too, loads the hex too, My money is on Darrel's code is NOT at fault. EDIT: LVDCON = %00000000 is listed twice too
    Last edited by Archangel; - 26th June 2008 at 06:21.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Thanks Joe! Indeed, the CONFIF1H line is the offender. I don't understand why, but I'll find out.

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by jderson View Post
    Thanks Joe! Indeed, the CONFIF1H line is the offender. I don't understand why, but I'll find out.
    CONFIF1H? Huh?

    I'm guessing here, 'cause I haven't/can't look at the 18f1220 inc file at the moment, but the link to the post above most likely will fix your problem.
    Last edited by skimask; - 26th June 2008 at 14:11.

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by jderson View Post
    I get the "Overwriting previous address contents" (Error 118), but as I said, other programs also give these error messages and still compile and program correctly.
    http://www.picbasic.co.uk/forum/showthread.php?t=543
    applies to the overwriting problem

Similar Threads

  1. 16F676 programming problem
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th May 2009, 17:39
  2. PIC18F4620 Programming problem
    By JavPar in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 6th December 2008, 04:21
  3. PIC 18f1220 EUSART Baud Rate Cache Problem
    By wklose99 in forum Off Topic
    Replies: 3
    Last Post: - 15th April 2008, 00:39
  4. Programming Problem with PIC16F819
    By Dick Ivers in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 24th July 2007, 18:42
  5. Problem programming the PIC16F648A
    By Edgardo_2 in forum General
    Replies: 2
    Last Post: - 29th December 2006, 00:02

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