Go Down

Topic: burning sketches writen in arduinoide through a parallel port without bootloader (Read 886 times) previous topic - next topic

adilmalik

my question is that can i upload sketches written in arduino ide, through a parallel programmer to an avr that DOES NOT have a bootloader?

baum

Yep if you follow these instructions, you should end up with an ICSP header, with you can use to program the AVR.

adilmalik

and i dont need a bootloader right, and i can use existing sketches without any change?

baum

Nope. The bootloader is actually a program that allows you to upload sketches over serial (RX/TX), but ICSP will work no matter what, bootloader or no bootloader.

baum

adilmalik

thanks, one more question pls, i just bought a usb to parallel but its a 36 pin port will it work??

baum

:(... I'm not sure. I think the idea of the parallel programmer was that you could bit-bang the ICSP over it... not sure if usb 2 parallel can do that. if you have an arduino, look into ArduinoISP. This works very well.

Good Luck!

adilmalik

oh ok, :( arduinoisp was my first try but sadly i failed, i couldnt get a suitable bootloader for my atmega8l.so then ill try parallel port from an old pc. just one question im not sure about, with this my old arduino sketches will work right?

baum

Quote
but sadly i failed


How?

Plug in atmega8, upload arduinoisp to arduino, disable autoreset (120 ohm resistor between RESET and 5V), then write sketch for atmega8, then choose "ATmega8" from the bottom of the board menu.

baum

baum


adilmalik

so i shouldnt be wasting my time using the usb to parallel converter?

adilmalik

no the problem is that im using atmega8-8pu (8mhz max) so ill need a new bootloader, it did work but i cant upload more than one sketch ,it was a fuse problem

Quote
but sadly i failed


How?

Plug in atmega8, upload arduinoisp to arduino, disable autoreset (120 ohm resistor between RESET and 5V), then write sketch for atmega8, then choose "ATmega8" from the bottom of the board menu.

baum

baum

Alrgiht. Try the ArduinoISP, but as for the parallel programmer, I have little experience with windows machines so I am afraid I can not be of much assistance.

baum

Go Up