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 support@ccsinfo.com

Unknown device type

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



Joined: 02 Jan 2009
Posts: 8

View user's profile Send private message

Unknown device type
PostPosted: Mon Jan 05, 2009 11:17 am     Reply with quote

Hi Guys...

I know this topic was discussed several times before in this forum, but i have not found exactly my problem.

I'm using MPLAB IDE 8.10 and I tried a simple program:
Code:
#include <18F4550.h>
void main()
{
  while(1)
    printf("Test");
}


And the Compiler Log only says:
Executing: "C:\Programme\PICC\Ccsc.exe" +FH "main.c" +DF +LN +T +A +M +Z +Y=9 +EA
*** Error 24 "C:\Programme\PICC\devices\18F4550.h" Line 2(9,19): Unknown device type


So when I change my device to 18F4520 and also change the header, the Compiler log says:
*** Error 24 "C:\Programme\PICC\devices\18F4520.h" Line 2(9,19): Unknown device type Limited compiler version

And that is OK because I know I have a limited version!

Further I have to say that i use the PCH-Compiler (and it is the Compiler for the PIC18-Devices... Isn't it?)

So where is the problem? Why isn't it working?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Jan 05, 2009 11:54 am     Reply with quote

Quote:
And that is OK because I know I have a limited version!

Where did you get your compiler ? Do you have the demo ?

The demo only supports the 18F458 in the 18F-series. It does not
support 18F4550 or 18F4520.
http://www.ccsinfo.com/ccsfreedemo.php

Read this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=34957
Guest








PostPosted: Mon Jan 05, 2009 7:17 pm     Reply with quote

PCM programmer wrote:

Where did you get your compiler ? Do you have the demo ?


I have an educational Single Chip IDE Compiler actual for the PIC18F4550.
Because of that I think it is right when i choose the PIC18F4520 in MPLAB that there is the message: "Unknown device type Limited compiler version".

But why does the PIC18F4550 not work?
Tolorio



Joined: 02 Jan 2009
Posts: 8

View user's profile Send private message

PostPosted: Mon Jan 05, 2009 7:23 pm     Reply with quote

ups...forgot to Log In...

And I am using the PCH Compiler and I have chosen the Device under: Configure -> Select Device
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jan 06, 2009 2:08 pm     Reply with quote

You have the full CCS IDE, except that it's limited to the use of the
18F4550 only. Now you want to use MPLAB as the IDE, perhaps so
you can use the simulator or one of the Microchip programmers or
debuggers.

CCS has a brief FAQ article that says you can invoke MPLAB from
within the CCS IDE:
http://www.ccsinfo.com/faq.php?page=use_mplab

This thread has instructions by ckielstra on how to directly use MPLAB
as the IDE for PCWH, without having to first start-up PCWH.
https://www.ccsinfo.com/forum/viewtopic.php?p=37579
The "plug-in" that he refers to can be downloaded on this page:
http://www.ccsinfo.com/downloads.php
Tolorio



Joined: 02 Jan 2009
Posts: 8

View user's profile Send private message

PostPosted: Wed Jan 07, 2009 3:22 pm     Reply with quote

ok

I will try this tomorrow and will then tell you if it works or not!
Tolorio



Joined: 02 Jan 2009
Posts: 8

View user's profile Send private message

PostPosted: Thu Jan 08, 2009 3:25 pm     Reply with quote

Great!

Now it works...

Thank You
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