Author |
Message |
Topic: Flash memory erasing on power on/off |
milk3422
Replies: 2
Views: 3989
|
Forum: General CCS C Discussion Posted: Fri Feb 22, 2008 6:35 am Subject: Flash memory erasing on power on/off |
Thank you, problem solved!
Now, I know I was sitting down looking at this for way to long! |
Topic: Flash memory erasing on power on/off |
milk3422
Replies: 2
Views: 3989
|
Forum: General CCS C Discussion Posted: Fri Feb 22, 2008 12:38 am Subject: Flash memory erasing on power on/off |
I am compiling and running the example code ex_intfl.c to try and figure out how to use the flash memory on the 18f452.
The code compiles fine and I can run it. I can even select and change the ... |
Topic: Unknown device type |
milk3422
Replies: 19
Views: 23302
|
Forum: General CCS C Discussion Posted: Wed Feb 06, 2008 7:21 pm Subject: Unknown device type |
I did get the email with pch.crg attached and I placed it in the directory
C:\Program Files\PICC
The operating system I am using is Windows XP SP2 |
Topic: Unknown device type |
milk3422
Replies: 19
Views: 23302
|
Forum: General CCS C Discussion Posted: Wed Feb 06, 2008 7:09 pm Subject: Unknown device type |
Copying from my receipt:
Products
1 x PCH Command-line Compiler for PIC18 MCU parts
- Software Updates (Maintenance): 30 days of Maintenance
- Products: PCH Software (Windows)
I downloa ... |
Topic: Unknown device type |
milk3422
Replies: 19
Views: 23302
|
Forum: General CCS C Discussion Posted: Wed Feb 06, 2008 6:52 pm Subject: Unknown device type |
Thank you for the response, but I still get the same error:
C:\PROGRA~1\PICC\devices\18F458.h, Line 2
Unknown device type
I am developing for the 18F452, I was just trying to compile for an ... |
Topic: Unknown device type |
milk3422
Replies: 19
Views: 23302
|
Forum: General CCS C Discussion Posted: Wed Feb 06, 2008 6:18 pm Subject: Unknown device type |
Hey no problem.
I also tried to compile the examples for the PIC18F458 with the retail version of PCH. To do this I changed the # define statement in the example to:
#include <18F458.h>
... |
Topic: Unknown device type |
milk3422
Replies: 19
Views: 23302
|
Forum: General CCS C Discussion Posted: Wed Feb 06, 2008 6:06 pm Subject: Unknown device type |
1. I Installed PCHUPD then I installed the plugin.
2. This is not the demo version, I purchased the retail version of PCH earlier today. It is version 4.066 |
Topic: Unknown device type |
milk3422
Replies: 19
Views: 23302
|
Forum: General CCS C Discussion Posted: Wed Feb 06, 2008 5:59 pm Subject: Unknown device type |
I just want to reiterate that this is not a problem with MPLAB. I am trying to compile from the windows command prompt. The command I am entering is:
Ccsc.exe +P "\Program Files\ PICC\Exampl ... |
Topic: Unknown device type |
milk3422
Replies: 19
Views: 23302
|
Forum: General CCS C Discussion Posted: Wed Feb 06, 2008 5:40 pm Subject: Unknown device type |
Yes I did use the project wizard and yes I did select 18F452 from the configure menu.
The project is set up correctly.
I have even tried to compile the examples using the command line and ca ... |
Topic: Unknown device type |
milk3422
Replies: 19
Views: 23302
|
Forum: General CCS C Discussion Posted: Wed Feb 06, 2008 5:29 pm Subject: Unknown device type |
I am using PCH Compiler V4.066
When I compile any of the examples in the Example directory I get the following error:
C:\PROGRA~1\PICC\devices\18f452.h, Line 2
Unknown device type
I am usin ... |
|