View previous topic :: View next topic |
Author |
Message |
matheusmestres28
Joined: 30 Apr 2013 Posts: 20
|
Compile error - unknown device type *** Locked - pirate |
Posted: Thu May 02, 2013 1:09 pm |
|
|
Hello guys, I'm trying to compile a code that usually works with different pics, usually family 18. It's a small code and I decided to transfer it to a 12f pic.
The error is in the first line: Unknown device type "pic12f1822.h"
Code: |
#include <12f1822.h>
|
I have already downloaded the header file, and CCS still don't recognize it.
My version of PCW is 4.057
Should I install a newer version??
Can someone help me?? tyty |
|
|
ezflyr
Joined: 25 Oct 2010 Posts: 1019 Location: Tewksbury, MA
|
|
Posted: Thu May 02, 2013 1:17 pm |
|
|
Hi,
You almost certainly will need to update your compiler version. Support for a
particular chip comes in the form of the supplied .h file, and support
internally in the compiler itself. If you did not receive the 12f1822.h file with
your compiler, you can be assured it's not supported in your version.
BTW, where did you download the .h file?
John |
|
|
matheusmestres28
Joined: 30 Apr 2013 Posts: 20
|
|
Posted: Thu May 02, 2013 1:24 pm |
|
|
The link was: [link removed]
Ok, I'll look for a latest version of CCS..
Could it be any other thing??
+++++++++++++++++
Locked.
Reason: Forum rule #9
9. No pirating
No discussions or attempts to illegally acquire or distribute works
(software, manuals, books, etc) that you are not legally allowed to acquire or distribute.
Forum rules:
http://www.ccsinfo.com/forum/viewtopic.php?t=26245
- Forum Moderator
+++++++++++++++++ |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Thu May 02, 2013 1:26 pm |
|
|
The link you point to is not an official CCS download website. Besides that, it is also a very, very, old version of the compiler with a lot of problems. The v4 compiler only started to work as expected again around v4.075
Save everybody a lot of time and get yourself a newer compiler version.
Please note that many of the pirated versions on the internet have a suspicious larger file size than my original downloaded version. You'll be installing some malicious software next to the compiler... |
|
|
matheusmestres28
Joined: 30 Apr 2013 Posts: 20
|
|
Posted: Thu May 02, 2013 1:46 pm |
|
|
Ok then, thank you a lot guys!! I'll search for a newer version.
++++++++++++++++++++++
Pirating CCS compiler not smart idea on CCS company forum.
- Forum Moderator
++++++++++++++++++++++ |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Thu May 02, 2013 2:08 pm |
|
|
If you have to search for a newer version it will be a pirated version.
The only place you need to look is the CCS website! _________________ Google and Forum Search are some of your best tools!!!! |
|
|
|