Menu

a assembly error unlnown opcode config

Help
2007-11-22
2013-05-30
  • Joshua Wojnas

    Joshua Wojnas - 2007-11-22

    a assembly error  unlnown opcode config

    this is in compile.err
    compiled.asm:10:Error [174] Unknown opcode "CONFIG"
    what file do I load into the pic? x.hex? where is it found?

     
    • kent_twt4

      kent_twt4 - 2007-11-22

      What that is telling you is the config for your particular device is not valid.  You need to reconcile your configuration line in your code to agree with either the data sheet or the device file in the GCBasic/chipdata folder.  This happens to me all the time, is it BOREN or BODEN?, MCLRE or MCLR? etc.

      If your project meets the GCBasic standard configuration file, you can try skipping/eliminating the configuration line.

      If that doesn't work, get back with which device and the offending config line.

       
      • Joshua Wojnas

        Joshua Wojnas - 2007-11-22

        if I go to the command line everything works... im not shure why it works then...
        But now when I send the program to the microchip bootloader it does not work it is just a light blinking program. Also I changed the ORG destintation to 0x800 after it did not work to try to have it go in after the bootloader... still does not work...

         

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.