Need help about host compiling
Posted: Sat Nov 13, 2010 11:24 pm
Hi !
My english not good. and I'm not a advanced C programmer. I made a simple AVR USB project with Atmega8. It includes a LCD
ADC, led, etc. My firmware program is running. First I tried simple EasyHID vb6 host program. It runs but
only views plug- onplug messages. there isn't any data transfer.
Firmware usbFunctionSetup has only data[0],1,2,.. controlling and writing to lcd. but only first time views. after not anything.
I tried Visual C++ 6.0 and Dev-C++ compiler. these are gives some compile errors.
in usb.c
> LIST_DEL(usb_busses,bus); // '=' : left operand must be l-value
> LIST_ADD(usb_busses, bus); // '=' : left operand must be l-value
These errors for example in Dev-C++ are about Compiler Settings. After deleting this lines or change compiler and project settings
I take some linker errors
for example in usbi.h
> undefined reference to 'usb_os_find_busses' like.. etc.
or windows.h, win**.h errors..
my Vusb capacitor was 4.7u and 220 nF. I change these as 10u and 100n.
thanks for your help.
My english not good. and I'm not a advanced C programmer. I made a simple AVR USB project with Atmega8. It includes a LCD
ADC, led, etc. My firmware program is running. First I tried simple EasyHID vb6 host program. It runs but
only views plug- onplug messages. there isn't any data transfer.
Firmware usbFunctionSetup has only data[0],1,2,.. controlling and writing to lcd. but only first time views. after not anything.
I tried Visual C++ 6.0 and Dev-C++ compiler. these are gives some compile errors.
in usb.c
> LIST_DEL(usb_busses,bus); // '=' : left operand must be l-value
> LIST_ADD(usb_busses, bus); // '=' : left operand must be l-value
These errors for example in Dev-C++ are about Compiler Settings. After deleting this lines or change compiler and project settings
I take some linker errors
for example in usbi.h
> undefined reference to 'usb_os_find_busses' like.. etc.
or windows.h, win**.h errors..
my Vusb capacitor was 4.7u and 220 nF. I change these as 10u and 100n.
thanks for your help.