[En-Nut-Discussion] make burn errors

qdg at physics.ubc.ca qdg at physics.ubc.ca
Wed Feb 16 01:29:14 CET 2005


hi,

I'm using WINAVR and tried to upload a copy of the tcps sample program
generated by the nut/os configurator.

It seemed to build correctly but it says cannot find the hex while when
trying to burn.

D:\QDG\Ethernut\build1\tcps>make clean
rm -f tcps.o
rm -f tcps.hex
rm -f tcps.eep
rm -f tcps.obj
rm -f tcps.map
rm -f tcps.lst
rm -f tcps.bak

D:\QDG\Ethernut\build1\tcps>make all
avr-gcc -c -mmcu=atmega128 -Os -Wall -Wstrict-prototypes
-Wa,-ahlms=tcps.lst -D_
_HARVARD_ARCH__ -ID:/QDG/Ethernut/build1/include
-ID:/QDG/Ethernut/nut/include
tcps.c -o tcps.o
avr-gcc tcps.o -mmcu=atmega128 -Wl,--defsym=main=0,-Map=tcps.map,--cref
-LD:/QDG
/Ethernut/build1/lib  D:/QDG/Ethernut/build1/lib/nutinit.o -lnutdev
-lnutnet -ln
utpro -lnutnet -lnutfs -lnutos -lnutdev -lnutcrt -lnutos  -o tcps.elf
avr-objcopy -O ihex tcps.elf tcps.hex
rm tcps.elf

D:\QDG\Ethernut\build1\tcps>make burn
uisp -dprog=stk500 -dserial=/dev/ttyS0 -dspeed=115200 -dpart=atmega128
--erase -
-upload if=tcps.hex
Error: No such file or directory
 -> /dev/ttyS0
make: *** [burn] Error 1

D:\QDG\Ethernut\build1\tcps>

Can anyone help? thanks



More information about the En-Nut-Discussion mailing list