Offline
Full Member
Karma: 0
Posts: 168
|
 |
« on: July 18, 2011, 10:49:11 am » |
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?
|
|
|
|
|
Logged
|
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #1 on: July 18, 2011, 11:57:19 am » |
Yep if you follow these instructions, you should end up with an ICSP header, with you can use to program the AVR.
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 168
|
 |
« Reply #2 on: July 18, 2011, 12:13:48 pm » |
and i dont need a bootloader right, and i can use existing sketches without any change?
|
|
|
|
|
Logged
|
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #3 on: July 18, 2011, 12:19:48 pm » |
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
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 168
|
 |
« Reply #4 on: July 18, 2011, 12:21:26 pm » |
thanks, one more question pls, i just bought a usb to parallel but its a 36 pin port will it work??
|
|
|
|
|
Logged
|
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #5 on: July 18, 2011, 12:30:27 pm » |
 ... 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!
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 168
|
 |
« Reply #6 on: July 18, 2011, 12:44:32 pm » |
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?
|
|
|
|
|
Logged
|
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #7 on: July 18, 2011, 12:46:45 pm » |
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
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #8 on: July 18, 2011, 12:47:41 pm » |
p.s. all old sketches for atmega 8 should work.
baum
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 168
|
 |
« Reply #9 on: July 18, 2011, 01:01:58 pm » |
so i shouldnt be wasting my time using the usb to parallel converter?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 168
|
 |
« Reply #10 on: July 18, 2011, 01:18:45 pm » |
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 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
|
|
|
|
|
Logged
|
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #11 on: July 18, 2011, 02:33:28 pm » |
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
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
|