avr-chat
[Top][All Lists]
Advanced

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

Re: [avr-chat] avrdude : chip not responding


From: Duncan Bolt
Subject: Re: [avr-chat] avrdude : chip not responding
Date: Thu, 01 Sep 2005 16:20:28 +1000

Hi

Have you tried this SP12 stuff ?

http://www.xs4all.nl/~sbolt/e-index.html

and in particular

http://www.xs4all.nl/~sbolt/e-spider_prog.html

I got this talking to my AVR 90S8535, which I set up on a breadboard and it claimed to download a test program.

Which was written for a different chip, and did not flash the LEDs when I got to the next stage....

I was following the instructions from this page
http://www.kuro5hin.org/story/2003/4/15/124459/007

and trying to make them work with a different AVR chip.

However the circuit is slightly different, talking to a different set of wires on the parrallel port.

That is however the limit of my experiments with my AVR chip.

I work at a Research School, and some electronics techs were using them in some equipment, one of our programmers found out about it and told me.

I went to the local Dick Smiths (Australian version of Radio Shack) and bought one, put it in the top draw and ignored it for a year. The same programmer who told me about it has found a local manufacturer who makes a rather neat looking prototype board. But I decided that before I started buying any more I would see how I could get my existing one working.

Which sort of brings me to my questions.

I was sort of planning to give the BASCOM basic a try, but I seem to be getting similar responses to Vincent, it seemed to not quite be talking correctly.

Have I misconfigured BASCOM ? Or am I using an over simplified cable that will never work with the BASCOM utilities ?

And how much more work before I can make it into a Dalek ....

Duncan


At 02:41 PM 1/09/2005, you wrote:
On Wed, 2005-08-31 at 22:20 +0200, Peter wrote:
> Have you allready tried exchanging the resistor on MISO against 330 Ohms yet? > I had the EXACT same problem with uisp and an Atmega8 yesterday, and changing > the resistor from 1,5k to 330r fixed it. You might even try this line without > a resistor, as long as the PC is allways on while the Atmel is connected to
> it.

Hi Peter,

Yes, I undid my cable and replaced the 1K resistors with 330ohms ones,
still no joy. I think I will remove the resistors from the cable DB-25
connector, and simply implement them directly on the avr board so that I
can easily/quickly fiddle with them.
I then shortened the cable as much as I could, from 2.65 metre down to
one metre, but still no joy.

I am currently transferring the avr from the breadboard onto a
prototyping board, so all connections are tight and soldered, can only
help.
After that, I will try and add a line buffer on the avr board. This way
I could get a perfect signal from/to the avr while getting rid of the
resistors in all safety on the MOSI and SCK lines.
I have already tried swapping avr's (I bought two of them, thinking I
could get them to chat with each other), but again no joy.
Using the "-F" option with avrdude, I could "happily" ;-) do a flash
memory dump with the MISO line DISCONNECTED, and the avr was still send
ing stuff on this line ! So it's now 200% sure, the avr does "answer",
but apparently not appropriately ! Maybe the stuff he sends is just
garbage because it's read protected (somehow ?) and rejects all read
instructions and just "echos" on MISO whatever comes from MOSI/avrdude ?

If only I had someone around me with a "proper"/working avr programmer,
I could put my chip in it and see what it does ! Is there anybody in
France ? Or in a nearby country ? The AVR is very lightweight and small
so I could probably sent it by post for very little money. Since I have
two of them, I could still experiment on one while you see what's going
on with the second ?

If only I had a DSO with tons of memory to record exactly what's going
on on the SPI lines... :o(


Regards,

--
Vince, 6h40 AM, resuming experiments...



_______________________________________________
AVR-chat mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-chat





reply via email to

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