TODOPIC

Microcontroladores PIC => Primeros pasos - Iniciación a los microcontroladores => Mensaje iniciado por: cocu3 en 12 de Noviembre de 2007, 11:36:50

Título: PROBLEMA CON MPLAB
Publicado por: cocu3 en 12 de Noviembre de 2007, 11:36:50
BUENOS DIAS, EL MOTIVO DE ESTE POST Y COMENTARLES UNA DUDA SOBRE UN CODIGO SENCILLO Q ESTOY SIMULANDO EN MPLAB Y EL CUAL NO SIMULA LO Q YO QUIERO...

EL CODIGO ES:

1  #include <p18f452.h>
2  #pragma config WDT = OFF
3  void main (void)
4  {
5  TRISB = 0;
6  while (1)
7  {
8  /* Reset the LEDs */
9  PORTB = 0X00;
10 /* Light the LEDs */
11 LATB = 0x01;
12 LATB = 0x02;
13 LATB = 0x04;
14 LATB = 0x08;
15 LATB = 0x10;
16 LATB = 0x20;
17 LATB = 0x40;
18 LATB = 0x80;
19 }
20 }

LE DOY SIMULAR PASO A PASO PARA VER EN UNA VENTANA LLAMADA WATCH EL VALOR DEL PORTB, PERO SOLO SALE EL VALOR CORRECTO PARA LAS LINEAS DE LA 16 A LA 18, DE LA LINEA 11 A LA 15 SALE CERO, Q SERA EL ERROR?

SALUDOS...
Título: Re: PROBLEMA CON MPLAB
Publicado por: cocu3 en 12 de Noviembre de 2007, 11:42:45
SEGUI SIMULANDO Y PARECE Q LOS PRIMEROS 5 BITS DEL PORTB ESTAN A CERO, NO CAMBIAN PARA NADA....

NO SE EN Q ME ESTARE EQUIBOCANDO
Título: Re: PROBLEMA CON MPLAB
Publicado por: MGLSOFT en 12 de Noviembre de 2007, 11:51:19
Es posible que los pines del PORTB esten configurados por default como interrupciones o modulos CCP o algo asi??
Mira bien la hoja de datos y tal vez sean los valores por defecto...
O tal vez queden configurados como entradas, sin cambio hasta que declares que quieres que hagan... :mrgreen:
Título: Re: PROBLEMA CON MPLAB
Publicado por: cocu3 en 12 de Noviembre de 2007, 11:59:11
PERO YA CONFIGURE EL TRISB CON 0X00 Q ES PARA Q TODOS QUEDEN COMO SALIDA? VOY A VER LO DE LAS INTERRUPCIONES...

GRACIAS...
Título: Re: PROBLEMA CON MPLAB
Publicado por: maunix en 12 de Noviembre de 2007, 17:48:33
PERO YA CONFIGURE EL TRISB CON 0X00 Q ES PARA Q TODOS QUEDEN COMO SALIDA? VOY A VER LO DE LAS INTERRUPCIONES...

GRACIAS...

Deja un retardo entre asignaciones al registro LATB o sino visualiza el LATB en vez del PORTB.

Título: Re: PROBLEMA CON MPLAB
Publicado por: cocu3 en 12 de Noviembre de 2007, 18:02:14
PERO YA CONFIGURE EL TRISB CON 0X00 Q ES PARA Q TODOS QUEDEN COMO SALIDA? VOY A VER LO DE LAS INTERRUPCIONES...

GRACIAS...

Deja un retardo entre asignaciones al registro LATB o sino visualiza el LATB en vez del PORTB.



amigo tienes razon, visualice en ves de port b el latb y si sale, pero porq no visualiza los primeros 5bits del portb?

otra pequeña duda, estoy compilando un codigo q me pasaron pero cuando compila no sale la ventana "out", nose si el codigo compilo bien o no, le doy en view-> out y ndaa...

Título: Re: PROBLEMA CON MPLAB
Publicado por: maunix en 13 de Noviembre de 2007, 12:28:59

amigo tienes razon, visualice en ves de port b el latb y si sale, pero porq no visualiza los primeros 5bits del portb?
Te dejo un link el cual a su vez tiene otros links.

http://www.todopic.com.ar/foros/index.php?topic=12372.msg69804#msg69804

La razón es que tu sobreescribes todo el tiempo el LATB, lo cual se ve reflejado en el PORTB luego de algunos useg.  Y eso es lo que te muestra el simulador.  No es buena idea hacer ese tipo de código que sobreescribes todo constanemente.

Otra pequeña duda, estoy compilando un codigo q me pasaron pero cuando compila no sale la ventana "out", nose si el codigo compilo bien o no, le doy en view-> out y ndaa...

Fijate si en las opciones de compilación del proyecto tienes  desactivados los mensajes.
Título: Re: PROBLEMA CON MPLAB
Publicado por: cocu3 en 13 de Noviembre de 2007, 20:05:38
ok men, gracias... ud sabe mucho
lo estare molestando despues

deberia crear un foro llamado "preguntale a maunix"

 :D
Título: Re: PROBLEMA CON MPLAB
Publicado por: maunix en 14 de Noviembre de 2007, 09:47:27
ok men, gracias... ud sabe mucho
lo estare molestando despues

deberia crear un foro llamado "preguntale a maunix"

 :D

jeje, no es para tanto.  Hace tiempo uso estas herramientas, es todo.
Título: Re: PROBLEMA CON MPLAB
Publicado por: Leon Pic en 14 de Noviembre de 2007, 13:46:01
Vamos maunix. No te achiques justo ahora  :mrgreen: :mrgreen:
Título: Re: PROBLEMA CON MPLAB
Publicado por: maunix en 16 de Noviembre de 2007, 09:05:57
Vamos maunix. No te achiques justo ahora  :mrgreen: :mrgreen:

No, no es por eso, pero es que no se gana nada diciendo "yo se todo"... no ganas amigos, no ganas compadres, no ganas compañeros de trabajo ni gente dispuesta a darte una mano cuando lo necesitas.

De hecho no se todo y el conocimiento ocupa lugar... si sabes de una cosa no sabes de otra entonces.. ¿porqué creerse la gran cosa?

En este caso puntual es un tema que me tocó lidiar hace un tiempo y por eso lo tengo bien conocido, nada más.   :) :)
Título: Re: PROBLEMA CON MPLAB
Publicado por: Leon Pic en 16 de Noviembre de 2007, 19:28:55
Si, es verdad. Tienes razón.
Título: Re: PROBLEMA CON MPLAB
Publicado por: cocu3 en 19 de Noviembre de 2007, 09:37:59
a alguien le ha salido este error en mplab??

Error - section '.code_Helpers.o' can not fit the section. Section '.code_Helpers.o' length=0x0000021c

busque en el directorio el archivo *.o y no hay ninguno
Título: Re: PROBLEMA CON MPLAB
Publicado por: maunix en 20 de Noviembre de 2007, 12:32:59
El error que tienes es que en algún lado de tu proyecto hay creada una sección de código o usas una librería que llama a esa sección de código la cual no tiene espacio definido en tu linker file.
Es un error específico de tu código, debieras revisar donde se puede estar declarando dicha sección
Título: Re: PROBLEMA CON MPLAB
Publicado por: cocu3 en 20 de Noviembre de 2007, 12:58:56
perdona maunix, pero no entendi muy bien...

me dices q el problema puede estar en el archivo del linker file?

lo revisare, pero de todas maneras te dice algo la palabra code_helpers??

El error que tienes es que en algún lado de tu proyecto hay creada una sección de código o usas una librería que llama a esa sección de código la cual no tiene espacio definido en tu linker file.
Es un error específico de tu código, debieras revisar donde se puede estar declarando dicha sección
Título: Re: PROBLEMA CON MPLAB
Publicado por: maunix en 20 de Noviembre de 2007, 16:06:43
perdona maunix, pero no entendi muy bien...

me dices q el problema puede estar en el archivo del linker file?

lo revisare, pero de todas maneras te dice algo la palabra code_helpers??


Tal vez no me expliqué bien.

El linker quiere colocar el código que está indicado como en la región code_helpers en la región definida para code_helpers en el linker file.  Esto puede ser o bien porque que code_helpers no esté definido en el linker file o bien porque esté definido pero el espacio asignado no es suficiente para el código que quiere ubicar allí.

Si code_helpers no es algo que TU agregaste entonces lo trae alguna librería o archivo que estés incluyendo en tu proyecto (un .inc, .asm, .o ).  Tal vez hayas usado el modulo maestro del mplab, eso lo desconozco.

Puedes comentar bien de qué trata el código y si no hay posibilidad de que parte del mismo sea hecha por otra persona?



Título: Re: PROBLEMA CON MPLAB
Publicado por: cocu3 en 20 de Noviembre de 2007, 21:32:22
:shock:

pues... el codigo q estoy intentando compilar es la modificacion del stack tcp/ip de microchip para el 18f452
el codigo le cambie algunas cositas para adaptarlo a mi proyecto

aca e error de nuevo:




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: Tue Nov 20 19:25:00 2007

aca coloco el enlace al proyecto:


http://www.4shared.com/file/29914656/83d30236/PIC_WEB_ver3.html

el proyecto llama "mpnicee"

saludos...
Título: Re: PROBLEMA CON MPLAB
Publicado por: maunix en 21 de Noviembre de 2007, 09:46:38
pues... el codigo q estoy intentando compilar es la modificacion del stack tcp/ip de microchip para el 18f452
el codigo le cambie algunas cositas para adaptarlo a mi proyecto
Me estas queriendo decir que es una modificación libre que hiciste al stack tcp/ip de microchip?   No te entnedí la frase que mencionas de que es la modificación de...




aca coloco el enlace al proyecto:


http://www.4shared.com/file/29914656/83d30236/PIC_WEB_ver3.html

el proyecto llama "mpnicee"


Ok, echaré un vistazo.
Título: Re: PROBLEMA CON MPLAB
Publicado por: maunix en 21 de Noviembre de 2007, 09:53:32
cocu3, bajé el proyecto e hice un 'build-all' (ctrl-f10) y me compiló todo sin el error que manifiestas tener.

Uso mplab 7.62 y C18 2.14

Te dejo el dump

Clean: Deleting intermediary and output files.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\ARP.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\ARPTsk.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\Helpers.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\HTTP.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\ICMP.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\IP.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\MPFS.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\StackTsk.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\TCP.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\Tick.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\FTP.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\UDP.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\SPIEEPROM.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\ENC28J60.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\Announce.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\MainDemo.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\DHCP.o" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\test.o" doesn't exist.
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\ARP.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\ARPTsk.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\Helpers.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\HTTP.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\ICMP.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\IP.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\MPFS.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\StackTsk.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\TCP.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\Tick.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\FTP.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\UDP.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\SPIEEPROM.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\ENC28J60.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\Announce.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\MainDemo.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\DHCP.o".
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\test.o".
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\mpnicee.cof" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\mpnicee.cod" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\mpnicee.hex" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\mpnicee.lst" doesn't exist.
Clean Warning: File "C:\Documents and Settings\user\My Documents\TestBoard\PIC_WEB\for_web\PIC_WEB_ver3\PIC_WEB\mpnicee.map" doesn't exist.
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\mpnicee.cof".
Clean Warning: File "D:\tmp\PIC_WEB_ver3\PIC_WEB\mpnicee.cod" doesn't exist.
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\mpnicee.hex".
Clean Warning: File "D:\tmp\PIC_WEB_ver3\PIC_WEB\mpnicee.lst" doesn't exist.
Clean: Deleted file "D:\tmp\PIC_WEB_ver3\PIC_WEB\mpnicee.map".
Clean: Deleted file "D:\tmp\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
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
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
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
D:\tmp\PIC_WEB_ver3\PIC_WEB\HTTP.c:662:Warning [2066] type qualifier mismatch in assignment
D:\tmp\PIC_WEB_ver3\PIC_WEB\HTTP.c:747:Warning [2066] type qualifier mismatch in assignment
D:\tmp\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
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
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
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
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
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
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
D:\tmp\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
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
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
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
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
D:\tmp\PIC_WEB_ver3\PIC_WEB\MainDemo.c:426:Warning [2066] type qualifier mismatch in assignment
D:\tmp\PIC_WEB_ver3\PIC_WEB\MainDemo.c:440:Warning [2066] type qualifier mismatch in assignment
D:\tmp\PIC_WEB_ver3\PIC_WEB\MainDemo.c:454:Warning [2066] type qualifier mismatch in assignment
D:\tmp\PIC_WEB_ver3\PIC_WEB\MainDemo.c:468:Warning [2066] type qualifier mismatch in assignment
D:\tmp\PIC_WEB_ver3\PIC_WEB\MainDemo.c:521:Warning [2066] type qualifier mismatch in assignment
D:\tmp\PIC_WEB_ver3\PIC_WEB\MainDemo.c:589:Warning [2066] type qualifier mismatch in assignment
D:\tmp\PIC_WEB_ver3\PIC_WEB\MainDemo.c:730:Warning [2066] type qualifier mismatch in assignment
D:\tmp\PIC_WEB_ver3\PIC_WEB\MainDemo.c:827:Warning [2066] type qualifier mismatch in assignment
D:\tmp\PIC_WEB_ver3\PIC_WEB\MainDemo.c:832:Warning [2066] type qualifier mismatch in assignment
D:\tmp\PIC_WEB_ver3\PIC_WEB\MainDemo.c:963:Warning [2066] type qualifier mismatch in assignment
D:\tmp\PIC_WEB_ver3\PIC_WEB\MainDemo.c:998:Warning [2066] type qualifier mismatch in assignment
D:\tmp\PIC_WEB_ver3\PIC_WEB\MainDemo.c:1060:Warning [2066] type qualifier mismatch in assignment
D:\tmp\PIC_WEB_ver3\PIC_WEB\MainDemo.c:1062:Warning [2066] type qualifier mismatch in assignment
D:\tmp\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
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
Executing: "C:\MCC18\bin\mplink.exe" /l"c:\mcc18\lib" /k"c:\mcc18\lib" "D:\tmp\PIC_WEB_ver3\PIC_WEB\18f452.lkr" "D:\tmp\PIC_WEB_ver3\PIC_WEB\ARP.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\ARPTsk.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\Helpers.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\HTTP.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\ICMP.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\IP.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\MPFS.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\StackTsk.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\TCP.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\Tick.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\FTP.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\UDP.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\SPIEEPROM.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\ENC28J60.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\Announce.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\MainDemo.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\DHCP.o" "D:\tmp\PIC_WEB_ver3\PIC_WEB\test.o" /m"mpnicee.map" /w /o"mpnicee.cof"
MPLINK 4.14, Linker
Copyright (c) 2007 Microchip Technology Inc.
Errors    : 0

MP2HEX 4.14, COFF to HEX File Converter
Copyright (c) 2007 Microchip Technology Inc.
Errors    : 0

Loaded D:\tmp\PIC_WEB_ver3\PIC_WEB\mpnicee.cof.
BUILD SUCCEEDED: Wed Nov 21 09:54:17 2007


Lo que sí, puedes ver que hay algunos warnings de tipado de datos, pero eso depende el contexto son importantes o no.

Título: Re: PROBLEMA CON MPLAB
Publicado por: cocu3 en 21 de Noviembre de 2007, 11:02:33
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...
Título: Re: PROBLEMA CON MPLAB
Publicado por: maunix en 22 de Noviembre de 2007, 09:56:10
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 problema es que el C18 student no te habilita la optimizacion "procedural abstraction" que es una de las que más optimiza el código...

Y por ello el código generado no te entra :(

Tal vez si lo compilas para un pic más grande, pin a pin compatible te funcione!  No he buscado pero tal vez algun 18F6xx
Título: Re: PROBLEMA CON MPLAB
Publicado por: cocu3 en 22 de Noviembre de 2007, 12:59:54
ok amigo, me sacaste de una duda enorme, entonces lo q veo es problema de la version student del c18

gracias, buscare un micro de 40 patas con  mas memoria haber si me sirve, pero este deberia ser identico en la configuracion de patas? y en cuanto a los demas registros de conf no hay problema?
Título: Re: PROBLEMA CON MPLAB
Publicado por: maunix en 22 de Noviembre de 2007, 14:53:34
gracias, buscare un micro de 40 patas con  mas memoria haber si me sirve, pero este deberia ser identico en la configuracion de patas? y en cuanto a los demas registros de conf no hay problema?

Y, no lo puedo decir ahora.  En general cuando se respeta la cantidad de patas tienen mayor cantidad o menor de módulos pero los pines de cada puerto se respetan.

Lo que debieras hacer en todo caso es 'deshabilitar' los módulos que el nuevo pic tenga y el 18f452 no de manera que no interfieran con su funcionamiento.

Título: Re: PROBLEMA CON MPLAB
Publicado por: cocu3 en 23 de Noviembre de 2007, 21:28:25
amigo, no me puede enviar el archivo .hex del proyecto q pudiste compilar  :P?? es que no he podido compilar el mio, he cambiado el micro por otro de 40 patas y me sigue generando errores

saludos
Título: Re: PROBLEMA CON MPLAB
Publicado por: maunix en 24 de Noviembre de 2007, 11:17:38
amigo, no me puede enviar el archivo .hex del proyecto q pudiste compilar  :P?? es que no he podido compilar el mio, he cambiado el micro por otro de 40 patas y me sigue generando errores

saludos

Si, no tengo inconvenientes.  No lo hice antes porque supuse que querias hacer pruebas, y si quieres hacer pruebas debes modificar el programa a cada rato y de poco serviría que te mande el .hex de la primer prueba.

Saludos
Título: Re: PROBLEMA CON MPLAB
Publicado por: cocu3 en 24 de Noviembre de 2007, 13:57:04
ok amigo, es q ese proyecto esta muy comleto, me serviria muchisimo probar con el, mientras soluciono el problema del c18

saludos
Título: Re: PROBLEMA CON MPLAB
Publicado por: maunix en 28 de Noviembre de 2007, 22:55:31
ok amigo, es q ese proyecto esta muy comleto, me serviria muchisimo probar con el, mientras soluciono el problema del c18

saludos

cocu3 te lo envié por mail, no te llegó?