by Ess » Thu Apr 16, 2009 11:57 am
by Ess
Thu Apr 16, 2009 11:57 am
I have some problems with c programs and i think it´s because bad compiling.
This is how i´m doing:
I use win avr, instaled on "c:/WinAVR-20081205/
I open a made project, i modify the make file (using example.c project from robotis) :
- Code: Select all
# List C source files here. (C dependencies are automatically generated.)
SRC= Example.c
- Code: Select all
# Define directories, if needed.
DIRAVR = c:/WinAVR-20081205
DIRAVRBIN = $(DIRAVR)/bin
DIRAVRUTILS = $(DIRAVR)/utils/bin
DIRINC = .
DIRLIB = $(DIRAVR)/avr/lib
(I also dont modify DIRAVR)
Then i compile, no errors.
I connect cm5 with direct serial, robot terminal, enter boot loader, load example.hex, go....
and
I dont know what is happen, i always get the timeout error, with ax12, without it...
Please help!!!
I have some problems with c programs and i think it´s because bad compiling.
This is how i´m doing:
I use win avr, instaled on "c:/WinAVR-20081205/
I open a made project, i modify the make file (using example.c project from robotis) :
- Code: Select all
# List C source files here. (C dependencies are automatically generated.)
SRC= Example.c
- Code: Select all
# Define directories, if needed.
DIRAVR = c:/WinAVR-20081205
DIRAVRBIN = $(DIRAVR)/bin
DIRAVRUTILS = $(DIRAVR)/utils/bin
DIRINC = .
DIRLIB = $(DIRAVR)/avr/lib
(I also dont modify DIRAVR)
Then i compile, no errors.
I connect cm5 with direct serial, robot terminal, enter boot loader, load example.hex, go....
and
I dont know what is happen, i always get the timeout error, with ax12, without it...
Please help!!!