Picmate


Closed Thread
Results 1 to 7 of 7

Thread: Picmate

  1. #1

    Default Picmate

    Hi all,

    Does anyone know why picmate does not compile lines such as :

    @ __CONFIG _CONFIG1, _CP_OFF & _CCP1_RB3 & _DEBUG_OFF & _WRT_PROTECT_OFF & _CPD_OFF & _LVP_OFF & _BODEN_ON & _MCLR_ON & _PWRTE_ON & _WDT_ON & _INT_OSC


    @ __CONFIG _CONFIG2, _IESO_OFF & _FCMEN_ON

    If i include these lines it will generate an error while compiling.

    Thanks

  2. #2
    Join Date
    Oct 2004
    Location
    North Norfolk UK
    Posts
    146


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Have a look at Melanie's post about Presetting Configuration Fuses in the frequently asked questions section.

    what reference to the error is given?, sometimes that helps to search the forum by a specific error code

    HTH

    Duncan

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Hello Duncan,

    thanks for the help

    the error i get is :

    [235] Opcode expected instead of '_Config'.

    I'm sure that this line is working since i copyed from a sample program for the same pic ( 16F88 ).

  4. #4
    Join Date
    Oct 2004
    Location
    North Norfolk UK
    Posts
    146


    Did you find this post helpful? Yes | No

    Default

    Hi
    I'm sure that this line is working since i copyed from a sample program for the same pic ( 16F88 ).
    but the line is clearly not working for some reason, because it produces an error


    if you type this Opcode expected site: picbasic.co.uk into google then you should get a bunch of references to this.

    have a look I am pretty sure one of the previous posts will help answer your question.

    HTH

    Duncan

  5. #5
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    Random thoughts ...

    Have you told PICMATE to use MPASM rather than PM?
    If yes, have you commented out the __CONFIG stuff in the 16f88.inc file in PBP folder?
    Have you tried not setting the __CONFIG stuff in the program but rather in the inc file or at hex load time?
    Does PICMATE offer any more on the errors? 235 does not show up on the MPASM list so it may be coming from PM or PICMATE.
    Have you tried compiling directly (without PICMATE)?
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

  6. #6


    Did you find this post helpful? Yes | No

    Default

    Thanks all,

    Strange that, when i enter the FAQ - Frequently Asked Questions section i only see 3 threads.

    BUT

    i did find Melanie's thread about fuses ( using the search option ) and read it.

    And it turns out that Pic mate needs to have a diferent type of code to work.

    All i have to do is to stick with the PM code structure for fuses.

    Thanks again

    .

  7. #7
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ruijc View Post
    Thanks all,

    Strange that, when i enter the FAQ - Frequently Asked Questions section i only see 3 threads.
    At the bottom of the FAQ section you should see DISPLAY OPTIONS - pick 'from the beginning'

    to see all.

    OH, that pesky PM - glad you found it
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

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