avr-chat
[Top][All Lists]
Advanced

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

[avr-chat] Help with STK500


From: Kitts
Subject: [avr-chat] Help with STK500
Date: Sat, 21 May 2005 18:53:50 +0530
User-agent: KMail/1.8

Hi all,

After a while now i am back to burning my code to an AVR. Between the 
last time i programmed a device about a month and a half now the change 
is that i moved to debian linux exclusively from my previous dual boot 
with WinXP. I used to use avrstudio for all programming and always had 
my avrstudio and stk500 firmware version up to date.

Now i am on linux and am unable to connect to the device with either 
uisp or avrdude (5.0 beta)

$ avrdude -c stk500 -p atmega16 -U flash:r:flash.hex:i
avrdude: stk500_recv(): programmer is not responding

$ uisp -dserial=/dev/ttyS0 -dprog=stk500 -dpart=atmega16 --rd_aref
Programmer is not responding.

I am confident that there is nothing wrong with the stk500 as i have 
used it till the last day that i scrapped windows XP. Can anybody help 
me out here? If it is the version of the firmware causing the problem, 
where can i get the older firmware and how can i reprogram it?

I would prefer using uisp as it provides access to all of the stk500 
features.

I went into programming mode on the stk500 and then tried this;

address@hidden avrdude -c avr910 -p AT90S8535 -U flash:r:flash.hex:i

Found programmer: Id = "AVR ISP"; type = S
    Software Version = 3.1; Hardware Version = 1.1
Programmer supports auto addr increment.

Programmer supports the following devices:
    Device code: 0x68 = AT90S8535

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 
0.00s

avrdude: Device signature = 0x020100



avrdude: current erase-rewrite cycle count is -50462977 (if being 
tracked)
avrdude: reading flash memory:

Reading | ################################################## | 100% 
20.27s



avrdude: writing output file "flash.hex"

avrdude: safemode: Fuses OK

avrdude done.  Thank you.

This tells me that the device is able to communicate and the problem is 
with the stk500 firmware. How do i tackle this issue?

-- 
Cheers!
Kitts





reply via email to

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