[En-Nut-Discussion] make burn errors

Ian Mcgraw XS (BA/ETL) ian.xs.mcgraw at ericsson.com
Wed Feb 16 10:04:20 CET 2005


/dev/ttyS0 is ok for WinAVR.

It could poss have failed to detect your hardware, it should print:

Firmware Version: 49.48
Atmel AVR ATmega128 is found.
Uploading: flash

Check your com1 port with something you know works. Also for Ethernut 2.1 you need the jtag part of the programming adapter connected.

-----Original Message-----
From: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de]
Sent: 16 February 2005 00:54
To: Ethernut User Chat (English)
Subject: RE: [En-Nut-Discussion] make burn errors


Looks like it is complaining about  /dev/ttyS0 and your not using linux.
I'd say that should be com1 or something like that. 

-----Original Message-----
From: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] On Behalf Of
qdg at physics.ubc.ca
Sent: Wednesday, February 16, 2005 8:29 AM
To: en-nut-discussion at egnite.de
Subject: [En-Nut-Discussion] make burn errors

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
_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion

_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion



More information about the En-Nut-Discussion mailing list