Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

issues with STK500

issues with STK500

2006-09-22 by debatem1

I won't lie to you- I'm totally new with the AVR line of processors,
but I've got a rather mystifying problem that just doesn't seem to be
addressed anywhere:
I order my STK500 and a set of ATMega32's, get them, run the test
program- works perfectly.
I then hooked up the serial cable, started programming (linux platform,
avr-gcc and avrdude), no problem. I got two or three small sample
programs to work, shut it down for the night, and go to bed.
I wake up the next morning and decide to run one of the programs I had
gotten working the night before, but lo and behold- no dice. All the
same indicators of success- avrdude gives me the paged access, failed
with 128 message, but it had done that before and the programs still
worked. The only difference was that now it wouldn't work. I tried the
windows IDE to no effect (recognized it, programmed it, no errors,
program still not working), and finally gave up and went to class,
turning it off on the way. I come back, and now the windows studio
can't recognize it- says something about no suitable board- while
avrdude still says it is programming it, but to no avail. 
I have worked with microcontrollers before, PICs and BX-24's, but must
admit that this is mystifying. What am I doing wrong?

Re: [AVR-Chat] issues with STK500

2006-09-22 by moemen issa

I think that the problem may be in the serial port of your PC or the cable itself or even the AVR chip itself ...I'm not trying to get you to a panic attack or something but when I was doing my image processing project I faced this situation lots of times and the result was that the cable wasn't pluged properly or the COMs of the PC are destroyed.....but I hope that it doesn't get that big and be in the serial cable(which is more disposable than the PC COM's )......

debatem1 <debatem1@yahoo.com> wrote:          I won't lie to you- I'm totally new with the AVR line of processors,
but I've got a rather mystifying problem that just doesn't seem to be
addressed anywhere:
I order my STK500 and a set of ATMega32's, get them, run the test
program- works perfectly.
I then hooked up the serial cable, started programming (linux platform,
avr-gcc and avrdude), no problem. I got two or three small sample
programs to work, shut it down for the night, and go to bed.
I wake up the next morning and decide to run one of the programs I had
gotten working the night before, but lo and behold- no dice. All the
same indicators of success- avrdude gives me the paged access, failed
with 128 message, but it had done that before and the programs still
worked. The only difference was that now it wouldn't work. I tried the
windows IDE to no effect (recognized it, programmed it, no errors,
program still not working), and finally gave up and went to class,
turning it off on the way. I come back, and now the windows studio
can't recognize it- says something about no suitable board- while
avrdude still says it is programming it, but to no avail. 
I have worked with microcontrollers before, PICs and BX-24's, but must
admit that this is mystifying. What am I doing wrong?



         



 				
---------------------------------
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.

[Non-text portions of this message have been removed]

Re: issues with STK500

2006-09-24 by debatem1

--- In AVR-Chat@yahoogroups.com, moemen issa <magnoun84@...> wrote:
>
> I think that the problem may be in the serial port of your PC or the
cable itself or even the AVR chip itself ...I'm not trying to get you
to a panic attack or something but when I was doing my image
processing project I faced this situation lots of times and the result
was that the cable wasn't pluged properly or the COMs of the PC are
destroyed.....but I hope that it doesn't get that big and be in the
serial cable(which is more disposable than the PC COM's )......

I had considered that, but when I performed the same steps on another
computer it still did not respond. The same was true when I switched
chips and serial cables, all repeated in combination. I really do not
understand this problem at all- to be truthful I had hoped it was a
stupid problem on my part. I will attempt a firmware rollback later
today again, but since the AVR prog portion of AVR studio does not
seem to recognize the board anymore, I may be in a tremendous amount
of trouble. Thank you for your time and effort, though...

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.