Autor Tema: Error Stack Ethernet v3.02 Microchip HELP  (Leído 1563 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado schppcss

  • PIC10
  • *
  • Mensajes: 2
Error Stack Ethernet v3.02 Microchip HELP
« en: 10 de Octubre de 2010, 14:31:49 »
Hola a todos .... baje la version 3.02 del stack de microchip …
Tome como ejemplo el archivo mpnicpg.mcw el cual funciona con un PIC18F452 (32k memoria ó 16384 word) y guarda la pagina en la memoria interna del pic (lo compile y funciona todo ok.. la memoria que ocupa el programa compilado es 16056 word) … hice los siguientes cambios, modifique el ejemplo en Configure …. Select device… PIC18f4550, luego cambie el .lkr por el del PIC18F4550 … y configure los pines del spi …
Al compilar me tira el siguiente error ..   :5]

MPLINK 4.1, Linker
Copyright (c) 2006 Microchip Technology Inc.
Error – section ‘.idata_HTTP.o’ can not fit the section. Section ‘.idata_HTTP.o’ length=0×00000008
Errors : 1

y una advertencia….
PIC_WEB\MPFSImg.c:48:Warning [2054] suspicious pointer conversion

Este es el archivo MPFSImg.c “Que es el archivo de la pagina web,al convertirlo con el MPFS.exe (La pagina web es super simple solo dice Hello World, no tiene ninguna imagen) ”

/**************************************************
* This is a MPFS image for ‘C’ compiler,
* generated by MPFS.EXE utility.
* DO NOT MODIFY BY HAND.
* Always use MPFS.EXE utlity to create this file.
* This and MPFS.C file memory model must match.
* Generated on Sat Oct 09 22:07:35 2010

*************************************************/

#include “compiler.h”

/**************************************************
* Start Of ‘INDEX.HTM’ file…
*************************************************/
static ROM unsigned char MPFS_0000[] =
{
0x3c, 0×48, 0×54, 0x4d, 0x4c, 0x3e, 0×20, 0x3c, 0×48, 0×45, 0×41, 0×44, 0x3e, 0×20, 0x3c, 0×54,
0×49, 0×54, 0x4c, 0×45, 0x3e, 0×48, 0×65, 0x6c, 0x6c, 0x6f, 0×20, 0×57, 0x6f, 0×72, 0x6c, 0×64,
0x3c, 0x2f, 0×54, 0×49, 0×54, 0x4c, 0×45, 0x3e, 0×20, 0x3c, 0x2f, 0×48, 0×45, 0×41, 0×44, 0x3e,
0×20, 0x3c, 0×42, 0x4f, 0×44, 0×59, 0x3e, 0×20, 0×20, 0×09, 0x3c, 0x2f, 0×70, 0x3e, 0×20, 0×20,
0×20, 0×20, 0×09, 0x3c, 0×66, 0x6f, 0x6e, 0×74, 0×20, 0×66, 0×61, 0×63, 0×65, 0x3d, 0×22, 0×41,
0×72, 0×69, 0×61, 0x6c, 0×22, 0×20, 0×73, 0×69, 0x7a, 0×65, 0x3d, 0×22, 0×31, 0×30, 0×22, 0x3e,
0x3c, 0×70, 0×20, 0×61, 0x6c, 0×69, 0×67, 0x6e, 0x3d, 0×22, 0×63, 0×65, 0x6e, 0×74, 0×65, 0×72,
0×22, 0x3e, 0×20, 0×20, 0×20, 0×20, 0×20, 0×09, 0×09, 0x3c, 0×62, 0x3e, 0×48, 0×65, 0x6c, 0x6c,
0x6f, 0×20, 0×57, 0x6f, 0×72, 0x6c, 0×64, 0×21, 0×21, 0×21, 0x3c, 0x2f, 0×62, 0x3e, 0×20, 0×20,
0×20, 0×20, 0×09, 0x3c, 0x2f, 0×70, 0x3e, 0x3c, 0x2f, 0×66, 0x6f, 0x6e, 0×74, 0x3e, 0×20, 0x3c,
0x2f, 0×42, 0x4f, 0×44, 0×59, 0x3e, 0×20, 0x3c, 0x2f, 0×48, 0×54, 0x4d, 0x4c, 0x3e, 0×20,
0×04, 0xff, 0xff, 0xff
};
/**************************************************
* End Of ‘INDEX.HTM’ file…
*************************************************/

/**************************************************
* Start Of MPFS FAT.
**************************************************/
typedef struct
{
unsigned char Flags;
ROM unsigned char* Address;
unsigned char Name[12];
} FAT_TABLE_ENTRY;

ROM FAT_TABLE_ENTRY MPFS_Start[] =
{
{ 0×00, MPFS_0000, ‘I’, ‘N’, ‘D’, ‘E’, ‘X’, ‘.’, ‘H’, ‘T’, ‘M’, ‘ ‘, ‘ ‘, ‘ ‘ },
{ 0×04, 0xffffff, ‘E’, ‘N’, ‘D’, ‘ ‘, ‘O’, ‘F’, ‘ ‘, ‘F’, ‘A’, ‘T’, ‘ ‘, ‘ ‘ },
};

Si alguien puede ayudarme  :lol:
Saludos!