CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC18F422 and MPLAB Error

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ahmed



Joined: 07 Mar 2006
Posts: 19

View user's profile Send private message

PIC18F422 and MPLAB Error
PostPosted: Tue Apr 25, 2006 12:11 pm     Reply with quote

I'm using PIC18F442 and when i'm comipling the code from MPLAB i get the following error

Quote:
Executing: "E:\PICC\Ccsc.exe" biometrics_v3.c -CC -fINHX8M -p18F442 -IE:\PICC\Project Programs -a -L -Q -V -FM
Error[24] 18F442.h 2 : Unknown device type


when i use the PCM C Compiler IDE the code compiles as shown
Quote:
Compiling: biometrics_new.c
in e:\picc\project programs\
Lines: 1940
Linking
Writing biometrics_new.HEX
Writing biometrics_new.SYM
Writing biometrics_new.LST
Writing biometrics_new.COD
Writing biometrics_new.TRE
Writing biometrics_new.STA
Memory usage:
ROM=26%
RAM=7% - 18%
No Errors.


do anybody knew the reason of the error generated by the MPLAB or how can i download the code after compiling it using PCW IDE. (i'm using ICD2)

Thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Apr 25, 2006 12:30 pm     Reply with quote

Make sure you have CCS installed correctly, and that you have
selected the correct "Tool Suite", etc. See this FAQ article:
http://www.ccsinfo.com/faq.php?page=ccs_mplab6
Ahmed



Joined: 07 Mar 2006
Posts: 19

View user's profile Send private message

PostPosted: Tue Apr 25, 2006 12:44 pm     Reply with quote

MPLAB is working fine when i use the PIC16F877A. therefore, i think if it is not installed properly both will not work. i'm using MPLAB V7.31 and CCS PCW C Compiler, Version 3.124.

is it possible to use the ICD2 with the PCW IDE?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Apr 25, 2006 12:50 pm     Reply with quote

The CCS IDE only directly supports their own CCS ICD debugger.

You have to use MPLAB with ICD2.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group