modiallen wrote on Friday, February 24, 2012:
thank you a lot for your reply.
i declare the variable as extern in the hal_usb.c and i write the defintion in the other c file.
now it works for the first sending and receiving and then it stops for abother problem due to micro controller i think.
thanks again.
Regards.
Mohammad