PIC16F1828 config/assembly problem


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jul 2012
    Posts
    7


    Did you find this post helpful? Yes | No

    Default Re: PIC16F1828 config/assembly problem

    When I installed PBP3, I did not installed MPLAB since it was already installed. It just occurred to me that perhaps MPASMWIN was not working because it might be an old version. So I uninstalled MPLAB and MPLABX and then reinstalled PBP3 using the installer that includes MPLAB 8.9.

    Well now MPASMWIN is working with other projects, but I still get this error message with the PIC16F1828 code in my previous post:

    Code:
    [ASM ERROR] PIC16F1828 BLINK.ASM (29) : Illegal character (,)
    [ASM ERROR] PIC16F1828 BLINK.ASM (29) : Symbol not previously defined (_CONFIG1)
    [ASM ERROR] PIC16F1828 BLINK.ASM (30) : Overwriting previous address contents (2007)
    [ASM ERROR] PIC16F1828 BLINK.ASM (30) : Illegal character (,)
    [ASM ERROR] PIC16F1828 BLINK.ASM (30) : Symbol not previously defined (_CONFIG2)
    So I still get the error message after a fresh install. All I can think is that the formatting of the config directive must be wrong. But the same format works with 16F88 which has two config words (albeit with different values). I do not know why it does not compile without errors.

    Any ideas?

    Thanks.

    Jonathan.

  2. #2
    Join Date
    Jul 2012
    Posts
    7


    Did you find this post helpful? Yes | No

    Default Re: PIC16F1828 config/assembly problem

    Problem solved.

    Well, well. That was a lot of effort for one small error: I had the wrong PIC selected in MicroCode Studio. I remember selecting it before but maybe it got unselected somehow. The whole new-to-PBP3 thing was just a decoy. I have obviously spent too many hours staring at a computer screen today..... Bed time.

    Jonathan.

Similar Threads

  1. Config problem PIC16F886
    By Bosse in forum mel PIC BASIC Pro
    Replies: 55
    Last Post: - 2nd January 2014, 07:24
  2. Context saving in assembly - 16F72 giving problem
    By financecatalyst in forum Off Topic
    Replies: 6
    Last Post: - 3rd August 2012, 21:30
  3. PIC18F4620 Oscillator Config problem
    By Andy Wood in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th October 2011, 04:21
  4. PIC16F887 Config problem
    By Agent36 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th November 2008, 23:38
  5. 877A AtoD config problem?
    By ttease in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 1st April 2007, 17:57

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