Go Down

Topic: Bootloader Uploading using Parallel or UNO? (Read 2 times) previous topic - next topic

NI$HANT

Jan 16, 2011, 08:38 am Last Edit: Jan 16, 2011, 08:39 am by Nishant_Sood Reason: 1
I have an Arduino UNO and also prepared a Parallel programmer from the http://arduino.cc/en/Hacking/ParallelProgrammer place and bought 2 ATmega 168 available here, so wanted to put a Bootloader into it so that after the Bootloader is in i could put the 168 in the space for 328 on UNO and put sketches into it,will it happen? ,Any guidlines would be much appreciated!

also is it possible to directly connect pins( absolutely nothing in between) with the atmega168 of the parallel programmer to put bootloader or sketches into it?
"Real Men can Accomplish  Anything"
- <a href="http://www.winacro.com">  <b><font color="red">Website</font></b> </a> 
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

Coding Badly


This might be a bit less work...
http://arduino.cc/en/Tutorial/ArduinoToBreadboard
http://arduino.cc/en/Tutorial/ArduinoISP

NI$HANT

But these are not for UNO ,in these tutorials they say UNO is not able.
"Real Men can Accomplish  Anything"
- <a href="http://www.winacro.com">  <b><font color="red">Website</font></b> </a> 
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

Coding Badly


http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1289761852/5#5
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1267120897/16#16

NI$HANT

getting offline to try (into windows ,i use linux for internet as no antivirus overhead is there) will revert back in some time.
"Real Men can Accomplish  Anything"
- <a href="http://www.winacro.com">  <b><font color="red">Website</font></b> </a> 
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

NI$HANT

#5
Jan 16, 2011, 10:37 am Last Edit: Jan 16, 2011, 10:38 am by Nishant_Sood Reason: 1
ArduinoISP software sketch loaded successfully seems no problem as showed "Done-Uploading"
"Real Men can Accomplish  Anything"
- <a href="http://www.winacro.com">  <b><font color="red">Website</font></b> </a> 
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

NI$HANT

Failed!,
used the instruction's @ http://arduino.cc/en/uploads/Tutorial/SimpleBreadboardAVR.png

Got the Following Error's :

Error no.1 for the first time :

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Error no.2 after exiting the arduino IDE and unplugging and replugging Arduino into USB :

avrdude: Expected signature for ATMEGA328P is 1E 95 0F
        Double check chip, or use -F to override this check.

Error 3 after again unplugging and replugging the Arduino from USB :

avrdude: Yikes!  Invalid device signature.
        Double check connections and try again, or use -F to override
        this check.

Using UNO i'm seeing such problem's,[glow]Any HELP![/glow]


"Real Men can Accomplish  Anything"
- <a href="http://www.winacro.com">  <b><font color="red">Website</font></b> </a> 
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

Coding Badly

#7
Jan 17, 2011, 12:18 am Last Edit: Jan 17, 2011, 12:19 am by bcook Reason: 1

Unfortunately, I don't have anything to suggest.  Hopefully, someone else can offer help.

...actually, there is one thing...

I think the auto-reset has to be disabled for the Arduino ISP to work correctly.  Have you determined that auto-reset needs to be disabled?  Have you disabled auto-reset?

NI$HANT

#8
Jan 17, 2011, 10:38 am Last Edit: Jan 17, 2011, 10:48 am by Nishant_Sood Reason: 1
No i haven't disabled the auto-reset!, The thread here shows that just insert a resistor 120ohm in the reset and 5volt pins and you have clogged auto reset but then how the 5v to the chip will be flowing should i give it external power then?.
"Real Men can Accomplish  Anything"
- <a href="http://www.winacro.com">  <b><font color="red">Website</font></b> </a> 
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

Coding Badly

Quote
but then how the 5v to the chip will be flowing

When RESET is high, the processor runs.  The resistor ensures the RESET line stays high when the reset circuitry fires.

Quote
should i give it external power then?

No.

NI$HANT

#10
Jan 17, 2011, 08:07 pm Last Edit: Jan 17, 2011, 08:10 pm by Nishant_Sood Reason: 1
Special thanks then, i mean't to say that the breadboard atmega would be needing power the UNO one would be ensured with power through resitor but the other atmega will need it !
"Real Men can Accomplish  Anything"
- <a href="http://www.winacro.com">  <b><font color="red">Website</font></b> </a> 
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

bHogan

#11
Jan 17, 2011, 08:08 pm Last Edit: Jan 17, 2011, 08:10 pm by BroHogan Reason: 1
If you have a TTL serial cable (~MAX232) you might try that and bypass the FTDI chip when loading. This works for me. Just connect Tx, Rx, Gnd, and VCC. You won't get a reset that way. It might be better than trying to cluge the reset pin.

It's a shame that this reset issue isn't mentioned in the Arduino ISP docs or sketch. It's essential that a reset shouldn't take place when loading a sketch using the Arduino ISP. /rant
"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom."
~ Clifford Stoll

NI$HANT

"Real Men can Accomplish  Anything"
- <a href="http://www.winacro.com">  <b><font color="red">Website</font></b> </a> 
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

NI$HANT

one thing more , I now will be inserting a 120 ohm resistor in the 5v and reset place  and POWERING the bread board Atmega168 with the external power source will it be OK?
"Real Men can Accomplish  Anything"
- <a href="http://www.winacro.com">  <b><font color="red">Website</font></b> </a> 
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

Coding Badly


Grounds must be connected.  I think the target (breadboard in you case) is supposed to be within 0.5 volts of the programmer (ArduinoISP in your case).

Go Up