Menu

Error with PIC18F452

2007-12-13
2013-05-30
  • Nobody/Anonymous

    Hi All..
    i have a problem compiling..
    try this and you se what i mean..
    with wizard make a PIC18F452
    compile..
    ad you get-
    error: gcasm: duplicate, conflicting definition for wr..
    please heol me as i have a lot of PIC18f452 i want to use..
    Claus

     
    • Hugh Considine

      Hugh Considine - 2007-12-15

      This bug is caused by an error in the chip data file, which in turn was caused by an error in the .inc file for the 18F452. The .inc file has 2 different definitions for WR, one stating that it is in PORTE.0, the other that it is EECON.1.

      The bug can be removed by opening 18f452.dat from the chipdata directory, and deleting this line from the [bits] section:

      WR,PORTE,0

      I will update the chip data file/s once I've fixed it and checked all of the other files for similar errors.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.