ਪੰਜਾਬ
Offline
Edison Member
Karma: 4
Posts: 1221
WANTED! A Girl with LOVE for me and Arduino!
|
 |
« on: January 16, 2011, 02:38:02 am » |
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?
|
|
|
|
« Last Edit: January 16, 2011, 02:39:31 am by Nishant_Sood »
|
Logged
|
"Real Men can Accomplish Anything" - Website - skype : nishants5 ਫ਼ਤੇਹ ਕਰੂਂ !
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 116
Posts: 10137
|
 |
« Reply #1 on: January 16, 2011, 03:34:29 am » |
|
|
|
|
|
Logged
|
|
|
|
|
ਪੰਜਾਬ
Offline
Edison Member
Karma: 4
Posts: 1221
WANTED! A Girl with LOVE for me and Arduino!
|
 |
« Reply #2 on: January 16, 2011, 03:50:59 am » |
But these are not for UNO ,in these tutorials they say UNO is not able.
|
|
|
|
|
Logged
|
"Real Men can Accomplish Anything" - Website - skype : nishants5 ਫ਼ਤੇਹ ਕਰੂਂ !
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 116
Posts: 10137
|
 |
« Reply #3 on: January 16, 2011, 04:00:17 am » |
|
|
|
|
|
Logged
|
|
|
|
|
ਪੰਜਾਬ
Offline
Edison Member
Karma: 4
Posts: 1221
WANTED! A Girl with LOVE for me and Arduino!
|
 |
« Reply #4 on: January 16, 2011, 04:13:00 am » |
getting offline to try (into windows ,i use linux for internet as no antivirus overhead is there) will revert back in some time.
|
|
|
|
|
Logged
|
"Real Men can Accomplish Anything" - Website - skype : nishants5 ਫ਼ਤੇਹ ਕਰੂਂ !
|
|
|
|
ਪੰਜਾਬ
Offline
Edison Member
Karma: 4
Posts: 1221
WANTED! A Girl with LOVE for me and Arduino!
|
 |
« Reply #5 on: January 16, 2011, 04:37:08 am » |
ArduinoISP software sketch loaded successfully seems no problem as showed "Done-Uploading"
|
|
|
|
« Last Edit: January 16, 2011, 04:38:17 am by Nishant_Sood »
|
Logged
|
"Real Men can Accomplish Anything" - Website - skype : nishants5 ਫ਼ਤੇਹ ਕਰੂਂ !
|
|
|
|
ਪੰਜਾਬ
Offline
Edison Member
Karma: 4
Posts: 1221
WANTED! A Girl with LOVE for me and Arduino!
|
 |
« Reply #6 on: January 16, 2011, 06:36:38 am » |
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]
|
|
|
|
|
Logged
|
"Real Men can Accomplish Anything" - Website - skype : nishants5 ਫ਼ਤੇਹ ਕਰੂਂ !
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 116
Posts: 10137
|
 |
« Reply #7 on: January 16, 2011, 06:18:02 pm » |
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?
|
|
|
|
« Last Edit: January 16, 2011, 06:19:20 pm by bcook »
|
Logged
|
|
|
|
|
ਪੰਜਾਬ
Offline
Edison Member
Karma: 4
Posts: 1221
WANTED! A Girl with LOVE for me and Arduino!
|
 |
« Reply #8 on: January 17, 2011, 04:38:17 am » |
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?.
|
|
|
|
« Last Edit: January 17, 2011, 04:48:04 am by Nishant_Sood »
|
Logged
|
"Real Men can Accomplish Anything" - Website - skype : nishants5 ਫ਼ਤੇਹ ਕਰੂਂ !
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 116
Posts: 10137
|
 |
« Reply #9 on: January 17, 2011, 01:56:38 pm » |
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. should i give it external power then? No.
|
|
|
|
|
Logged
|
|
|
|
|
ਪੰਜਾਬ
Offline
Edison Member
Karma: 4
Posts: 1221
WANTED! A Girl with LOVE for me and Arduino!
|
 |
« Reply #10 on: January 17, 2011, 02:07:41 pm » |
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 !
|
|
|
|
« Last Edit: January 17, 2011, 02:10:13 pm by Nishant_Sood »
|
Logged
|
"Real Men can Accomplish Anything" - Website - skype : nishants5 ਫ਼ਤੇਹ ਕਰੂਂ !
|
|
|
|
Denver
Offline
God Member
Karma: 19
Posts: 776
Inactive - PM
|
 |
« Reply #11 on: January 17, 2011, 02:08:41 pm » |
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
|
|
|
|
« Last Edit: January 17, 2011, 02:10:21 pm by BroHogan »
|
Logged
|
"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom." ~ Clifford Stoll
|
|
|
|
ਪੰਜਾਬ
Offline
Edison Member
Karma: 4
Posts: 1221
WANTED! A Girl with LOVE for me and Arduino!
|
 |
« Reply #12 on: January 17, 2011, 02:11:50 pm » |
thank you !, I'll try it
|
|
|
|
|
Logged
|
"Real Men can Accomplish Anything" - Website - skype : nishants5 ਫ਼ਤੇਹ ਕਰੂਂ !
|
|
|
|
ਪੰਜਾਬ
Offline
Edison Member
Karma: 4
Posts: 1221
WANTED! A Girl with LOVE for me and Arduino!
|
 |
« Reply #13 on: January 17, 2011, 02:36:29 pm » |
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?
|
|
|
|
|
Logged
|
"Real Men can Accomplish Anything" - Website - skype : nishants5 ਫ਼ਤੇਹ ਕਰੂਂ !
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 116
Posts: 10137
|
 |
« Reply #14 on: January 17, 2011, 02:56:54 pm » |
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).
|
|
|
|
|
Logged
|
|
|
|
|
|