ICD2 Problem...I think. New guy question.


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2005
    Posts
    15

    Default ICD2 Problem...I think. New guy question.

    I recently started using PBP with an ICD2/Picdem2 system. When I try to compile(in the MPLAB 7 enviroment) it say it can't find the file for the p18f252.
    My question is this, if you use the "Include ICDDEFS4.BAS" for the ICD2 and 18f is the "PBP -p18f252" line in the code even needed?
    I have been using the Stamp for a while and want to now get the speed and variability of the PIC. Thanks
    Ian

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Looks like a PATH search problem here... be sure that your PATH definition in Environement Variable (MY COMPUTER) is good. MUST include PicBasic directory and MPLAB (MPASM) directory
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Jan 2005
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Per the melab instructions online, I set up the Envirorment Variable- "%SystemRoot%\System32\;C:\PBP;C:\MPASM". Now, being somewhat new at messing with the computer, does there need to be a second Path just for PBP?
    Also, for clarification, the command line- "PBP -p18f252" does go right into the code right? I have been reading the manual and I don't mean to be thick, just trying to get it right.
    Thanks

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Be sure that MPASMWIN files is really at c:\MPASM

    in my case i find
    • 1. MPASMWIN at C:\Program Files\Microchip\MPASM Suite.
      2. PBP at c:\PBP
      3. my path is ....... C:\PBP;C:\Program Files\Microchip\MPASM Suite

    also do a search for the p18f252.inc file... that will give you the right path.

    Actually, under MPLAB 7.00, you don't need any kind of "PBP -p18f252" line. Using the project wizard will give you the chance to choose your pic and, after, save your project/workspace. That will keep everything in the project file, including the PIC choice.

    Be sure you have install and downloaded the Language toolsuite files path at :http://microengineeringlabs.com/support/mplab.htm
    Last edited by mister_e; - 2nd January 2005 at 19:28.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Jan 2005
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Thanks! Makes sense.
    The path is C:\MPASMWIN and the inc file is there. I did use the Project Wizard to set up the project for the first time so that explains why the programming would still work. Just without the "PBP..." line.
    Thanks for your help.

Similar Threads

  1. Pickit2 / ICD2? advice please?
    By karenhornby in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th May 2008, 18:27
  2. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  3. Microcode Studio 18f2455 problem?????
    By volkan in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 21st May 2007, 21:04
  4. 1 slave 1 master 1 MAX232 1 problem ?
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 31st July 2005, 22:59
  5. weird 12F629/675 problem
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 7th October 2004, 01:08

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