q mal q te halla compilado porq ahi si q quede mas confundido...
nose, de pronto es que la version demo estudiantil del C18 no me permite compilar...
o sera alguna configuracion q me falta por ahi?
el mplab es la version v7.62 y el C18 no se q version sea. aqui dejo lo que me genera a mi:
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\ARP.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\ARPTsk.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\Helpers.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\HTTP.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\ICMP.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\IP.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MPFS.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\StackTsk.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\TCP.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\Tick.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\FTP.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\UDP.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\SPIEEPROM.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\ENC28J60.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\Announce.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\DHCP.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\test.o".
Clean: Deleted file "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\mpnicee.mcs".
Clean: Done.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "ARP.c" -fo="ARP.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "ARPTsk.c" -fo="ARPTsk.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "Helpers.c" -fo="Helpers.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "HTTP.c" -fo="HTTP.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\HTTP.c:662:Warning [2066] type qualifier mismatch in assignment
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\HTTP.c:747:Warning [2066] type qualifier mismatch in assignment
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\HTTP.c:759:Warning [2066] type qualifier mismatch in assignment
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "ICMP.c" -fo="ICMP.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "IP.c" -fo="IP.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "MPFS.c" -fo="MPFS.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "StackTsk.c" -fo="StackTsk.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "TCP.c" -fo="TCP.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "Tick.c" -fo="Tick.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "FTP.c" -fo="FTP.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\FTP.c:524:Warning [2066] type qualifier mismatch in assignment
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "UDP.c" -fo="UDP.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "SPIEEPROM.c" -fo="SPIEEPROM.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "ENC28J60.c" -fo="ENC28J60.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "Announce.c" -fo="Announce.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "MainDemo.c" -fo="MainDemo.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.c:426:Warning [2066] type qualifier mismatch in assignment
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.c:440:Warning [2066] type qualifier mismatch in assignment
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.c:454:Warning [2066] type qualifier mismatch in assignment
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.c:468:Warning [2066] type qualifier mismatch in assignment
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.c:521:Warning [2066] type qualifier mismatch in assignment
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.c:589:Warning [2066] type qualifier mismatch in assignment
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.c:730:Warning [2066] type qualifier mismatch in assignment
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.c:827:Warning [2066] type qualifier mismatch in assignment
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.c:832:Warning [2066] type qualifier mismatch in assignment
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.c:963:Warning [2066] type qualifier mismatch in assignment
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.c:998:Warning [2066] type qualifier mismatch in assignment
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.c:1060:Warning [2066] type qualifier mismatch in assignment
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.c:1062:Warning [2066] type qualifier mismatch in assignment
C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.c:1378:Warning [2066] type qualifier mismatch in assignment
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "DHCP.c" -fo="DHCP.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "test.c" -fo="test.o" -k -sco -DMPFS_USE_EEPROM -DSTACK_USE_HTTP_SERVER -DSTACK_USE_FTP_SERVER -DSTACK_USE_UDP -DSTACK_USE_ANNOUNCE -DSTACK_USE_DHCP
MPLAB C18 v3.14 (feature limited)
Copyright 1999-2005 Microchip Technology Inc.
This version of MPLAB C18 does not support the extended mode
and will not perform all optimizations. To purchase a full
copy of MPLAB C18, please contact your local distributor or
visit buy.microchip.com.
WARNING: This version of MPLAB C18 does not support procedural abstraction. Procedural abstraction will not be run.
Executing: "C:\MCC18\bin\mplink.exe" /l"c:\mcc18\lib" /k"c:\mcc18\lib" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\18f452.lkr" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\ARP.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\ARPTsk.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\Helpers.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\HTTP.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\ICMP.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\IP.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MPFS.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\StackTsk.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\TCP.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\Tick.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\FTP.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\UDP.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\SPIEEPROM.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\ENC28J60.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\Announce.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\MainDemo.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\DHCP.o" "C:\pcc 18\PIC_WEB_ver3\PIC_WEB\test.o" /m"mpnicee.map" /w /o"mpnicee.cof"
MPLINK 4.14, Linker
Copyright (c) 2007 Microchip Technology Inc.
Error - section '.code_Helpers.o' can not fit the section. Section '.code_Helpers.o' length=0x0000021c
Errors : 1
Link step failed.
BUILD FAILED: Wed Nov 21 09:00:10 2007
espero me pueda colaborar...
este stack tcp/ip es una modificacion del original de microchip para poder utilizar un micro de poca memoria flash como el 18f452
saludos...