uisp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Uisp-dev] UART in Linux


From: Vitali S.
Subject: Re: [Uisp-dev] UART in Linux
Date: Wed, 05 Dec 2007 22:07:04 +0200
User-agent: Icedove 1.5.0.14pre (X11/20071018)

Hi Margarita,
thanks for reply!

1) Why ttyS1? Are you sure it's not ttyS0 ?
I've checked BIOS of Thinkpad 600E - not so much to play with HW.
BIOS COM port test said "Ok".

If I try to use ttyS0 I have an error:
Error: No such device
-> /dev/ttyS0

3) Try the same programmer+chip in a different computer, to make sure
that the programmer and chip are working.
Yes stk500 and chip are Ok under windows


5) Try avrdude, another avr programmer, see if you have more luck with it.
Same thing with avrdude: $ avrdude -t -P /dev/ttyS0 -c stk500 -e -p m16
avrdude: ser_open(): can't open device "/dev/ttyS0": No such device

$ avrdude -t -P /dev/ttyS1 -c stk500 -e -p m16
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_2_ReceiveMessage(): timeout


Br,
Vitali



Margarita Manterola wrote:
On Dec 4, 2007 7:23 PM, Vitali S. <address@hidden> wrote:

just have found UISP for Linux recently.
Trying to flash AVR via stk500 but it does not work:

 >$ uisp -dprog=stk500 -dserial=/dev/ttyS1 -dpart=Atmega16 --erase
--upload --verify if=rom.hex
 >Programmer is not responding.

Is this a problem of UART in my laptop (Thinkpad 600E)? Can I test it
somehow?

Things you can do:

1) Why ttyS1? Are you sure it's not ttyS0 ?
2) Check the laptop's bios to see what ports are enabled.
3) Try the same programmer+chip in a different computer, to make sure
that the programmer and chip are working.
4) Use the -dpart=auto option (and no --upload, --erase or --download
options) and see if uisp is able to detect your chip at all.
5) Try avrdude, another avr programmer, see if you have more luck with it.

Good luck with it.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]