Arduino on Breadboard, USB to TTL DIY

Robin2:
I'm afraid I am completely confused with all this discussion about alternatives to USB.

Can you set out again what is the current problem with all of the connections and software clearly described?

...R

First I all, since I did not get a breakout board I have to settle with the http://arduino.cc/en/Main/StandaloneAssembly circuit for communication with my PC and Atmega8.

Now I come to the main problem at the moment, when I try to bootload my Atmega8 using the Parallel Programmer it gives the error message as follow,

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA8 is 1E 93 07

So how can I solve it. I am using an external 16 Mhz crystal btw.

Paul__B:
I might be just a trifle worried that the RS-232 interface is functioning as it should. Also whether you need to set the "handshake" on the RS-232 - generally looping RTS to CTS and DSR to DTR.

Loop Tx back to Rx through your two inverters with the chip removed, and see if the "Serial Monitor" echoes when you type something and "Enter".

And your results on this test were?

Paul__B:

Paul__B:
I might be just a trifle worried that the RS-232 interface is functioning as it should. Also whether you need to set the "handshake" on the RS-232 - generally looping RTS to CTS and DSR to DTR.

Loop Tx back to Rx through your two inverters with the chip removed, and see if the "Serial Monitor" echoes when you type something and "Enter".

And your results on this test were?

I haven't tried it cause it rained heavily here today and the port was with my friend, so could not test today. A day gone to waste, but tomorrow hopefully I will do the test and post the results.

Any help on the bootloading process would be helpful. Also please mention how can I use the optiboot bootloader instead of the default Atmega8 bootloader. Also please mention the fuse settings. I am using an external crystal @ 16 Mhz.

Have you seen this page http://arduino.cc/en/Tutorial/ArduinoToBreadboard

It's the process I have used to upload the bootloader to a 328. I don't think there is a whole lot of difference between an 8 and a 328.

If this process isn't suitable for some reason then I guess I have not realized that from among all the stuff you have posted which seems to involve a much more complex process. If it isn't suitable please explain why and it may be possible to provide more help.

...R

Robin2:
Have you seen this page http://arduino.cc/en/Tutorial/ArduinoToBreadboard

It's the process I have used to upload the bootloader to a 328. I don't think there is a whole lot of difference between an 8 and a 328.

If this process isn't suitable for some reason then I guess I have not realized that from among all the stuff you have posted which seems to involve a much more complex process. If it isn't suitable please explain why and it may be possible to provide more help.

...R

I have been trying to bootload my Atmega8 and do know it is not a lot different other than choosing your programmer and board. But the problem is I am trying to use a parallel programmer to upload the bootloader and when I try to upload the same I get the following error on the Arduino IDE,

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA8 is 1E 93 07

Please help!

I know it may be late in the day for this question but ... what is a parallel programmer?

Do you have a link to the product you are using?

Can you not use an Arduino?

...R

Robin2:
I know it may be late in the day for this question but ... what is a parallel programmer?

Do you have a link to the product you are using?

Can you not use an Arduino?

...R

arduino.cc/ParallelProgrammer gives the link to Parallel Programmer. I do not have an Arduino at hand, sorry.

I am trying to upload a bootloader through it, and I cannot and I get the error message in the Arduino IDE as I had pointed out earlier, Please help.

Is this the correct link - it's different from what you mentioned http://arduino.cc/en/Hacking/ParallelProgrammer. If this is wrong please post a link I can click.

If it's correct, what sort of PC are you using? Has it got a real parallel port? I have read that USB to Parallel cables do not fully mimic a real parallel port?

How is everything wired up?

...R

The AVR Dragon is a high-voltage parallel programmer. You connect a whole lot of wires up, it applies something like +12V to the Reset pin to force it into programming mode, and it can be programmed quite fast. However you need to be able to either isolate the chip, or remove it completely and put it into the programmer.

But the problem is I am trying to use a parallel programmer to upload the bootloader ...

Which programmer are you using?

Robin2:
Is this the correct link - it's different from what you mentioned http://arduino.cc/en/Hacking/ParallelProgrammer. If this is wrong please post a link I can click.

If it's correct, what sort of PC are you using? Has it got a real parallel port? I have read that USB to Parallel cables do not fully mimic a real parallel port?

How is everything wired up?

...R

Yup, this is the correct link, sorry for the typo. And it is connected as it is said in the picture. And yeah my pc have a real parallel port, which I am using to upload the programmer.

I am using the Parallel Programmer as demonstrated in http://arduino.cc/en/Hacking/ParallelProgrammer page.

I suspect your PC runs Windows - which I have mostly forgotten. I do have an old laptop with a parallel port that is loaded with Ubuntu Linux but I don't think I've ever done anything with the parallel port using Ubuntu. When Visual Basic was young I built a DIY digital oscilloscope that was connected to the parallel port - but that was a looong time ago.

This whole Thread has jumped all over the place and you may get a better response if you start a new Thread with a title something like "Help uploading Atmega 8 bootloader using PC parallel port" and then in your opening post give as much detail, links and diagrams as you can.

...R

So you are suggesting that I basically close this thread and start anew?

I thought that was what I said. Is it really necessary to have to confirm it?

Of course it's your decision.

...R

Is someone out there giving away Atmega8 DIPs for Halloween? I did a search just now and there is a generous amount of noise about Atmega8 and bootloaders. It's scary ]:smiley:

Serial Arduino

Whatever the "draw" is for these old platforms, Ops need to understand that these are artifacts of the past and most of the off-the-tongue knowledge is long forgotten. The old archives may contain information of benefit, but my personal opinion is that newbies should stick with current platforms until they have the knowledge & experience to venture down the dark halls of Arduino history.

When/If an Op can articulate a very narrow question with sufficient materials, maybe our time is warranted to assist; I know I am generally agreeable in such cases. The pix posted by the Op in #1 is one of my V-USB solderless breadboards from my post on V-USB revisited. It's cute, but not even relavent in this thread.

Ray