first time use in 2 years.


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2005
    Location
    Up the bush, Western Plains, NSW Au
    Posts
    216

    Question first time use in 2 years.

    Hi all, from sunny Australia.
    I am attempting to resurrect my use of PBP 2.60 for the first time in a couple of years.
    I have loaded a program that worked perfectly when I last looked at it.
    It may have been written in PBP 2.47, so I am wondering if there have been any differences in the @ device config section.
    The 8 or so lines starting with @ DEVICE pic16F877 then some config stuff
    @ DEVICE pic16F877 then some config stuff
    @ DEVICE pic16F877 then some config stuff

    I haven't noted what the config stuff was, because, as I said it compiled perfectly previously. But now the compiler shows up errors for each of the @ DEVICE lines, so I am assuming that there are some differences between 2.47 and 2.60.
    And, yes I have hunted around but cannot find any references to any changes.

    Thanks in advance.
    Peter Moritz.
    Up the bush, Western Plains,
    New South Wales,
    Australia.

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,521


    Did you find this post helpful? Yes | No

    Default Re: first time use in 2 years.

    Hi,
    No change in that regard as far as I know.

    I'm a bit rusty on the older version but I believe the CONFIGs are specified differently depending on which assembler you choose (PM or MPASM). I think the syntax you have is for PM so if you have MPASM selected as your assembler that might be where the problem is.

    Also, if you have CONFIG or DEVICE directives in your source code file you have to comment the default ones out of the .inc file for the specific target, otherwise you'll get the Overwriting Previous Adress (or something like that) error.

    Without more details on the actual error message that would be my best guess.

    /Henrik.

  3. #3
    Join Date
    Jun 2005
    Location
    Up the bush, Western Plains, NSW Au
    Posts
    216


    Did you find this post helpful? Yes | No

    Default Re: first time use in 2 years.

    Yeah, that looks like the problem
    I turned off the "use MPASM" in the view menu, assembler section and then the program compiles just like it used to.
    Can't be sure how the MPASM got selected but all fine now. So I assume it switched over to PM assembler.
    Thanks for the heads up.
    Peter Moritz.
    Up the bush, Western Plains,
    New South Wales,
    Australia.

Similar Threads

  1. Replies: 0
    Last Post: - 3rd December 2012, 19:00
  2. How best to time a pin state for extended periods of time
    By Hylan in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 10th March 2011, 11:20
  3. Time Out ?
    By tazntex in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 19th January 2011, 02:55
  4. DS1904 RTC - How to Convert Binary Time into Real Time/Date?
    By Ioannis in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 2nd December 2010, 10:45
  5. Linx RF -> HSERIN time delay / time critical app...
    By batee in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 15th October 2004, 15:04

Members who have read this thread : 1

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