Thanks again for your help, i solved that problem but im still unable to compile and debug my aplication although i think im "almost there".
When i finally solved that problem my program compiled but while debuging it did nothing, (I loaded the program withouth problem but after running it the UART sent no info to the computer, also it never ended the execution), after checking your example (Mystarnetworkapp end device) I suposed (correct me if im wrong) that my problem is that i didnt initialiced Msg_Initqueue so i did it leaving my program as it is now:
-----------------------------------------------------------------------------------------------------------------------------------------
#include <hidef.h> /* for EnableInterrupts macro *//*not needed*/
#include "802_15_4.h"
#include "Uart.h" /* Defines the interface of the demo UART. */
#include "msgsystem.h"
anchor_t mMlmeNwkInputQueue;
anchor_t mMcpsNwkInputQueue;
void main(void) {
int i=0;
/* include your code here */
MSG_InitQueue(&mMlmeNwkInputQueue);
MSG_InitQueue(&mMcpsNwkInputQueue);
Uart_Init();
Uart_Print("Hello word!!!.\n\n");
i=i+1; /*this is only for checking variable value change in the debugger*/
}
-----------------------------------------------------------------------------------------------------------------------------------------
The problem is that now the program doesnt link properly, after clicking on "make" the codewarrior returns the following error: "L1822:List_Clearanchor in file c:zigbee/hola_mundo2/hola_mundo2_data/standard/objectcode/main.c.o in undefined" I have cheked the help in the help system but it doesnt helped me in any way since nor the NAMES or the PATH that is mentioned there is used in my functions or in the functions in your example.
"list_clearanchor" is defined in both my application and yours in MsgSystem.h.
Thanks in advance for any help you can give me regarding this problem