mikmac
- 20th April 2009, 01:56
Hi,
I'm new to pic programming and I need help wth this assignment.
I bought an picKit 2, and now I can't prog an PIC 16F627,
i'm programming in c.
I'm using MPLAB v8.10, and I don't know if it is bad configuration
about set language tool location... or what...
I can't produce a hex file with MPLAB v8.10 for PIC 16F627,
it appears those errors below. I have tried many ways to alter this
but it is allways the same errors :(.
I set those configurations when I initiated the project programming
Active Toolsuite:
Toolsuite Contents:
C:\..\PICC\Ccsc.exe
MPLAB IDE v8.10
Active Toolsuite:
CCS C Compiler for PIC10/12/14/16/18/24/dsPIC30/dsPIC33
Toolsuite Contents
CCS C Compiler (ccsc.exe)
C:\..\PICC\Ccsc.exe
Executing: "C:\progPICS\PICC\Ccsc.exe" +FM "teste_01.c" +DF +LN +T +A +M +Z +Y=9 +EA
*** Error 24 "C:\PROGPICS\PICC\devices\16F627.h" Line 2(9,18): Unknown device type
1 Errors, 0 Warnings.
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
when I altered to HI-TECH programming
Active Toolsuite:
Toolsuite Contents:
C:\..\PICC\PRO\9.65\bin\picc.exe
Active Toolsuite:
HI-TECH Universal ToolSuite
Toolsuite Contents:
HI-TECH ANSI C Compiler
C:\..\PICC\PRO\9.65\bin\picc.exe
If anybody can help me I would appreciate it.
I'm new to pic programming and I need help wth this assignment.
I bought an picKit 2, and now I can't prog an PIC 16F627,
i'm programming in c.
I'm using MPLAB v8.10, and I don't know if it is bad configuration
about set language tool location... or what...
I can't produce a hex file with MPLAB v8.10 for PIC 16F627,
it appears those errors below. I have tried many ways to alter this
but it is allways the same errors :(.
I set those configurations when I initiated the project programming
Active Toolsuite:
Toolsuite Contents:
C:\..\PICC\Ccsc.exe
MPLAB IDE v8.10
Active Toolsuite:
CCS C Compiler for PIC10/12/14/16/18/24/dsPIC30/dsPIC33
Toolsuite Contents
CCS C Compiler (ccsc.exe)
C:\..\PICC\Ccsc.exe
Executing: "C:\progPICS\PICC\Ccsc.exe" +FM "teste_01.c" +DF +LN +T +A +M +Z +Y=9 +EA
*** Error 24 "C:\PROGPICS\PICC\devices\16F627.h" Line 2(9,18): Unknown device type
1 Errors, 0 Warnings.
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
when I altered to HI-TECH programming
Active Toolsuite:
Toolsuite Contents:
C:\..\PICC\PRO\9.65\bin\picc.exe
Active Toolsuite:
HI-TECH Universal ToolSuite
Toolsuite Contents:
HI-TECH ANSI C Compiler
C:\..\PICC\PRO\9.65\bin\picc.exe
If anybody can help me I would appreciate it.