Show Posts
Pages: 1 [2]
16  Using Arduino / Microcontrollers / Re: Atmega8A-AU & Atmega328P-AU Optiboot Bootloading Help !!! on: December 17, 2012, 03:49:36 pm
Oops ! Yaa apologies there for the slip up, just been seeing your attribution everywhere and didnt read properly lol ! Mighty-fine work on everything all the same !

Yaa ive got the atmel datasheet open and i think ive got the pins sussed out right in regards to the adapter, any other way ive wired it up yield no results except the way ive got it now, but im now not sure about something, im looking at the datasheet, when you said that to look for pins 14 to 17 +29, yup im with you there but im afriad i havent connected up pin 14 to anything ??? what does this connect to ?

on Atmega8            TO          RBBB (with Optiboot Sketch)

14 = SS                                  ?
15 = MOSI                             Pin 11
16 = MISO                             Pin 12
17 = SCK                              Pin 13
29 = RESET                           Pin 10

So could this be why my setup is failing ? because i havent connected up pin 14 on the Atmega8A ?!?
17  Using Arduino / Microcontrollers / Re: ATMega 328P-PU on Breadboard with PL2303 USB>Serial on: December 17, 2012, 03:11:15 pm
 hahaha !!  smiley-grin  smiley-grin  smiley-grin  Absolutely Right @ RetroLefty !!  smiley-grin  smiley-grin  smiley-grin

Wouldnt ya know it, at the time i made these modded PL2303's i was completely oblivious to the CP2102 USB adapters and soooooooooo-WISH i would have known about them back then as it was alot of NECK-ACHE to tediously solder onto Pin 2 of the PL2303 chip - a serious amount of headache too lol  x 2 !!!

was indeed challenging to do but i think if i make anymore of these then ima definitely going to buy the CP2102 adapters and mod them easier lol !!

thanks so much for the heads-up too !!

why-o-why didnt i consult these forums back then lol ! well, some learn the hard (stupid!) way eh !!
18  Using Arduino / Microcontrollers / Re: Atmega8A-AU & Atmega328P-AU Optiboot Bootloading Help !!! on: December 17, 2012, 03:04:00 pm
also there is someone selling Atmega8A-AU chips here:

http://cgi.ebay.com.au/ws/eBayISAPI.dll?ViewItem&item=121022928704&fromMakeTrack=true&ssPageName=VIP:watchlink:top:en

with the Arduino UNO Optiboot Bootloader pre-loaded, this would be perfect for me too but cant find any reference to how its done !

i already have 10 blank virgin Atmega8A-AU chips & 10 of Atmega328P-AU chips to bootload lol !

What would be the best way to mass-bootload them brfore-soldering ?!?
19  Using Arduino / Microcontrollers / Re: Atmega8A-AU & Atmega328P-AU Optiboot Bootloading Help !!! on: December 17, 2012, 02:56:46 pm
Hi westfw !

OMG, the creator of Optiboot ! your work is LEGENDARY !!

i tried hooking up the Atmega8A-AU to an Arduino As ISP setup and simply selected board "Arduino NG or older w/ATmega8", selected the correct com port & Arduino As ISP in the programmer section, then when hit tools > Burn Bootloader i got:

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

Then tried one of your Optiboot loaders but im such a newbie for burning bootloaders im not entirely sure of what im doing, as long as ive got instructions saying to connect this pin to that pin and then hit the button, then im fine lol !

i found one of your optiboot bootloaders from here:

http://arduino.cc/forum/index.php?action=printpage;topic=87908.0

downloaded the files from github and slammed them into the libraries folder in my Arduino IDE (using 1.0.2 version), uploaded the sketch to an RBBB Arduino UNO Clone and hooked up the wires as directed to the SMD Atmega8A, powered it through USB Adapter and opened up the serial monitor to see what was going on and i hit the reset button, a few times, one after the other, not all at once, lol - just to see if i had the same error code come up but the error code changed each time and now im lost lol !

Error code was:

OptiLoader Bootstrap programmer.
2011 by Bill Westfield (WestfW)

Target power on! ...
Starting Program Mode - Failed, result = 0x7860

Target power OFF!

Type 'G' or hit RESET for next chip


second time i pressed reset:

OptiLoader Bootstrap programmer.
2011 by Bill Westfield (WestfW)

Target power on! ...
Starting Program Mode - Failed, result = 0x7070

Target power OFF!

Type 'G' or hit RESET for next chip


well i thought check a third time;

OptiLoader Bootstrap programmer.
2011 by Bill Westfield (WestfW)

Target power on! ...
Starting Program Mode - Failed, result = 0x7060

Target power OFF!

Type 'G' or hit RESET for next chip


so then tried as many files online through google searches that contained the words Atmega8A-AU + bootloader + Optiboot and i think i was really close on one of them where the signateure was expecting the DIP version of Atmega8A but now cant find that file and ive since deleted it from my computer, turned myself about a few times, sat in the corner, cried a bit and then thought about asking (begging!) for help lol !

Ive burned away a good bunch of Atmega328P-PU MCU's in PDIP flavor but cant seem to find an easy way of bootloading the SMT Atmega8A-AU sitting in the TQFP socket !

this is where i got the socket from: (just so you can see what sort of socket im using!)

http://www.ebay.co.uk/itm/220896147182?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649


thank you so very very much for trying to help me with this, i can surely tell you that i greatly appreciate any light you can shed on this subject !
20  Using Arduino / Microcontrollers / Re: ATMega 328P-PU on Breadboard with PL2303 USB>Serial on: December 17, 2012, 01:13:15 pm
hi & good day to you tack,

ive got good news for you !

its definitely possible to get the PL2303 Module you have to get setup for Auto-Reset as i have made a whole bunch of them for a few buddies but ended up modifying about 40 of them in total lol !

Your right from looking in the PL2303 datasheet, Pin 2 on the SMD chip is the one responsible for the Auto-Reset signal and its not connected to anything on that board so you got two choices here:
either get hold of a CP2102 which has an easily solder-able DTR pin or try modding the PL2303 adapter you already have like mine !

Here's a bunch of photo's taken of my modified one, this one was the prototype and soldering it was pretty easu but tedious and took a while just getting it right but after the many DAYS/HOURS of finding a method that worked i can hopefully save you some trouble if your looking to do the mod yourself !

The trick is to always use flux, as Guru crossroads said, dont overdo it and here's my method that worked for me:

Tin the tip of your fav soldering tip a little, only enough to cover 2 (TWO) pins of the SMD PL2302 !!!

Yup you read that right, TWO Pins, lol !

What i found out by Days of trying NOT to get solder on two pins was that it is actually easier to take solder AWAY from & UNBRIDGE two SMD pins than it is to only solder one-pin !

So...

Ingredients:

1 x 1 Male Pin Header
1 x 0.1uF Capacitor (100nF)

Method

1.
Get your 0.1uF Capacitor and trim the leads like so:
Pic 1


2. Get a fine file and gently shave down the back-side of the capacitor so that it sits right on the PL2303 chip, trust me, this works well lol !

Pic 2


Now these next photo's are from my really basic and cheap USB Microscope so the quality is not great but if you view these photo's in a small window (save to desktop etc !) then you will be able to see them better !

3.
Place the Capacitor in top of the PL2303 Chip with the short leg bent onto the top of Pin-2 and you might want to literally add a TINY amount of super-glue to the back shaved-down side of the capacitor so that it doesnt move when your soldering, but i mean the SMALLEST amount, just enough to 'Tack it down temporarily' !

Pic 3



4.
Apply Flux to Pin-1, Pin-2 & the Short Capacitor Leg, Tin your iron's tip with just enough solder to cover both Pins 1, 2 & the capacitor leg:

Pic 4


Pic 5


Now here's the trick !

As i found out, its imperitively much easier to bit-by-bit REMOVE solder from these two BREDGED SMD Pins by 1st getting rid of all the solder from the iron's tip, dipping the tip into some flux, i use a grease-like flux, NOT rosin-based, and remove the tip from dipping it in the flux quickly so that a drop of flux stays on the tip, touch the tip onto Pins 1 & 2 of the PL2303 chip and little-by-little remove the excess solder until the solder is only covering Pin 2 and the capacitor leg !!!

Heres a few pics in succession:

Pic 6


Pic 7


Pic 8


Pic 9


And then solder the 1 Male Pin-Header to the other side of the Capacitor and bend it so that it lines up with all the other pins of the module and tack it down with some more superglue OR get a hot-melt glue-gun involved, its not pretty but it will work b-e-a-utifully always AutoUploading sketches !!

btw i used a mold i had made to encase the module in casting resin and then sanded & polished it !

here's a few more pics !

PL2303 Modded:


PL2303 Mass-Modding, lol:


PL2303 Mass-Modding, lol (2):


The Finished Articles:


if anything isnt clear or you want me to explain anything just let me know & i'll be happy to help out !

have fun !
21  Using Arduino / Microcontrollers / Atmega8A-AU & Atmega328P-AU Optiboot Bootloading Help !!! on: December 17, 2012, 12:06:17 pm
Hi folks and good day to you all !

i'm back with yet more hair-raising help !!!

Ive really tried and failed so much on this already and after 3 weeks of trying out bootloader sketches for my two SMD atmega chips i keep failing miserably to get the Arduino NG bootloader onto the Atmega8 and UNO on the Atmega328 (unless we can get UNO on both then that will be much easier lol !)

But please could anyone point me out to working files for getting my two SMD chips bootloaded please please ?!?

Ive an SMD TQFP 32 to DIL adapter and i have a load of RBBB's configured as:

one for Arduino as ISP

one for Optiboot for Atmega328 UNO (DIP Package)

one for Optiboot for Atmega328 Duemilanove (DIP Package)

But i have gone and bought 10 Atmega8A-AU chips for small projects and wish to bootload them before soldering them and the same with the Atmega328P-AU chips !!

Please could anyone kindly help as im totally exhausted after download after download and a great many days of failed attempts, on my last hope here lol !

An even greater great many thanks in advance for help !!

kindest regards,

Anil !
22  Using Arduino / Microcontrollers / Re: atmega1284p/pu on: December 04, 2012, 08:57:11 am
 !!! DUDE !!!

Thank you so very very Very VERY MUCH !!!!!

Honestly speaking, i think i was about to break down and cry my eyes-out, lol !!!

Got the mighty-1284p bootloader with 16 Mhz crystal bootloaded and got the blink sketch blinking away and uploaded the sketch via TX0/RX0 (UART 0) !!!

 smiley-cool Your an absolute LEGEND !!!! !!!! !!!!  smiley-cool

Ive burned a good load of Atmega328P-PU's so kinda knew what i was doing but this Atmega1284 is a whole new type of animal, lol !

I really cant thank you enough ~ !!!
23  Using Arduino / Microcontrollers / Re: atmega1284p/pu on: December 03, 2012, 06:12:53 am
I've been using the atmega1284 without issue (you like I did got the atmega1284-PU, not the atmega1284P-PU - Note that the PU specifies a DIP package and is nothing to do with the device).

All I had to do is to find the definition for ATmega1284P (just using CTRL-F), and change the signature to:

    signature        = 0x1e 0x97 0x06;

Then I used the IDE to burn a version of optiboot bootloader compiled for the mega1284p

Then once the bootloader was burned I changed the signature back to:
    signature        = 0x1e 0x97 0x05;

It works a treat for me.


If you let me know what clock frequency you plan to use, I will compile an optiboot hex file for you. Note that the version I modified uses UART1 for programming.

Hi Tom, please please please could you help me with getting this bootloader onto my Atmega1284P-PU chips, i have 2 of them also and have been trying my very very best to figure out how to do this for the last 2 weeks but after failure after failure i really could do with your help!

I have the Atmega1284P-PU microcontroller, i had downloaded loads of different hex files, optiboot files and now im so confused, lost and disheartened by all these failures of mine.

Ive been using the Arduino as ISP sketch uploaded to a Breadboard RBBB and trying to burn any Sanguino-Type bootloader onto the Atmega1284P-PU with absolutely no results, please could you put out a quick step by step list of what needs to be done in order to burn a bootloader to this microcontroller, i really feel like ive lost the war over here, please please could you help. a Great-Many thanks in advance,

kindest regards,

Anil Sethi Jnr
24  Using Arduino / Microcontrollers / Re: building arduino using atmega8 on: October 19, 2012, 01:54:01 pm
Hi,
   I have been using optiloader running on an UNO to burn the bootloader onto 8's, it detects the 8 and burns a suitable version of optiboot. You do need to add a new board to boards.txt but its pretty simple to do.

Duane B

Okay so i found a great comparison page for the Atmega8 all the way to the Atmega328 here:

http://avrprogrammers.com/doc-atmega8-atmega328.php

But i would really appreciate your help on optiloader being able to burn bootloaders as it automatically does like with the Atmega328P-PU chips i have, but i would like it to be able to burn the bootloaders onto Atmega8 and Atmega16's, please help me do this ! please please please !!!

many thanks in advance too !

kindest regards,

Anil
25  Using Arduino / Microcontrollers / Re: building arduino using atmega8 on: October 19, 2012, 01:45:34 pm
Hi,
   I have been using optiloader running on an UNO to burn the bootloader onto 8's, it detects the 8 and burns a suitable version of optiboot. You do need to add a new board to boards.txt but its pretty simple to do.

Duane B

Hello and good day to you Duane,

So sorry to bother you about this but i am so very very interested to find out how to make optiboot burn the bootloader onto an Atmega8 chip but would optiboot also be able to burn the bootloader to an Atmega16 too the same way ?

I have burned the bootloader to many Atmega328P-PU chips but havent a clue where to start on changing this info to allow optiboot to burn Atmega8's - please please help if you can, i would be so very grateful for your assistance, also...

Please could you tell me the differences between an Atmega328 and an Atmega8/Atmega16 or a webpage link that shows the differences please please ?

I really have a thirst for learning about these microcontrollers and now and again always find a Grnius like you in the forums !

Please help !
26  Using Arduino / Microcontrollers / Whats The Difference Between The ATMEGA328-PU and the ATMEGA328P-PU ???? on: July 10, 2012, 11:04:32 am
hello & Good-Day to you all !!

I am looking to buy 5 microcontrollers but want the ATMEGA328 but there are two types and i can find any difference in the data sheets about them, please could anyone help me find out the difference ?

There is Either the:

ATMEGA328 PU                     OR:

ATMEGA328P-PU

and i am really struggling to find the list of differences as i did find a webpage that details all the differences (i think there was 4 or 5 differences but cant remember it was so long ago & didnt bookmark the page! )

Please could any of you legendary Arduino Guru's help me with this ???

Many many thanks in advance for any help given !
27  Using Arduino / General Electronics / Re: Help With Arduino 2009 SMD Bare PCB ! on: May 27, 2012, 06:26:46 pm
Ahhh yes, the good ol' Caveat Emptor !

ive been seeing this phrase pop up in mostly ALL the places ive tried to track down help on finding the correct/exact/similar components for this PCB...!

Its really difficult to get hold of surface mount components cheaply, i dont mind stocking up 100 of each but most of the big name online electronics stores offer them in 2000 unit reels and theres no way i'd need that many, 'cut tape' would also get quite expensive!

Honestly ! lol
28  Using Arduino / General Electronics / Re: Help With Arduino 2009 SMD Bare PCB ! on: May 27, 2012, 05:49:28 pm
Thats Absolutely Great ! Many many thanks for confirming this, i'm truly grateful !
;-)
29  Using Arduino / General Electronics / Help With Arduino 2009 SMD Bare PCB ! on: May 27, 2012, 05:06:40 pm
Hello & Good day to you all,

ive only started learning electronics this year but have been soldering all my life, only tinning wires and really simple desoldering/soldering stuff, nothing compared to soldering an Arduino Clone PCB !

Well, i'd bought 4 RBBB kits http://shop.moderndevice.com/products/rbbb-kit and soldered them together, worked 1st time and uploaded Blink Sketch to all of them, worked like a charm with some help from 'LOG' @ instructables,lol, but in error i had previously bought an Arduino 2009 Bare SMD PCB from ebay and thinking about giving it a try to solder SMD components on the 2 PCB'c i have but have 2 questions:

1. The 2009 Arduino (Duemilanove)http://arduino.cc/en/Main/arduinoBoardDuemilanove mainly began life with an ATMEGA168 but can i simply just use the ATMEGA328 instead as the pin-out pin connections are identical ???

2. EBAY is STILL Selling plenty of these 2009 Bare SMD PCB's http://www.ebay.co.uk/itm/USB-board-PCB-Arduino-Duemilanove-2009-AVR-ATmega328P-PU-168-DIY-Soldering-/170816324819?pt=UK_Computing_Other_Computing_Networking&hash=item27c57244d3 but there isnt much support for a full spec components list and/or alternative components, ive scoured this site but its got to 'info-overload' - lol - and i have been at-it for 5 weeks now trying to find anywhere that either sells all of the SMD components for this PCB as a 'Kit' of if such a kit doesn't exist (likely-story) the my 2nd question is, WHY ON EARTH are these people selling BARE SMD PCB's on ebay if there isnt much support for them ?!?

NOTE:
I really LOVE the fact that the 2009 version has the USB connectivity 'onboard' and really want to try my hand at surface-mount soldering, its going to take me a few weeks to collect up all the components anyway so if any of you Arduino-Jedi's out there have already soldered a 2009 PCB, please could anyone point me to a good few places that'll help me out on my SMD Adventure ?!!!!!?

NOTE 2:
I'd stumbled upon this post:   http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1273287995 which has helped me out immensely but its a 'read only post'
but thanks to everyone who already commented/helped there !

Many many thanks in advance for your time & help, i'd be most-grateful !
Pages: 1 [2]