Pages: [1]   Go Down
Author Topic: Decided to build a dedicated dedicated programmer, advice needed :)  (Read 827 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Edison Member
*
Karma: 29
Posts: 2350
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Basically the prototype will consist of bare min parts, but instead of a shield (which is nice) it still lacks what's really needed, so here's my solution..

A Ziff socket (just ordered one).
A FTDI Basic breakout Arduino Board (Just ordered one)
1 20mhz crystal
2 27pf caps
1 USB female socket to connect and program your sketches.

a prototyping copper backed board to wire it all on
I'm going to use 3 blocks of 8 pin dip sockets to fit the Atmega328p on (spread across)
I'll program the atmega chip the IDE ISP sketch, but the chip can be lifted out and reprogrammed
i think i'll add an ISP header to solve that issue.

once the binary is on the chip, we're good to go.

End User (out of the box) -

Step 1. Plug your USB cable into this device .... done
Step 2. Pick up a Chip you wish to program with Arduino, place it into the ZIFF socket on this device, pull the leaver, so it sits in etc, done.
Step 3. Run Arduino.
Step 4. From the Menu, select "Tools" > "Programmer" > "Arduino AS ISP"
Step 5. From the Menu, Select "Tools" > "Board" > "Your Device" be an Uno, or Lilypad or an Atmega.
Step 6. Code a program for the chip you're programming.
Step 7. Upload.

Step 8, lift out your CHIP, it's been programmed.... if you need to upgrade the ISP program on the atmega firmware, it will (once made) be acced via 6 pins for the ISP.


So it's not a Shield, it's a dedicated programmer, all you need is atmega chip and Arduino to get programming....  anything missing, need to be added, I expect shipping delays 3 -4 weeks this time of year so it's going to give me a lot of time to think up of the design..

But if it came in a kit or board, who would be interested in this kind of device?

Logged

Valencia, Spain
Online Online
Faraday Member
**
Karma: 142
Posts: 5292
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I use a lot of ATtiny84s so I built this for that sort of thing:

http://arduino.cc/forum/index.php/topic,134673.0.html

It works for project prototyping and burning the final chips. Turned out very very useful. I can develop code for Tiny85s on it, too because they have a very similar structure (I'll get around to making a proper Tiny85 version one day...), and the screen is very very useful.


PS: It's "ZIF", only one 'f'  because it stands for Zero Insertion Force.

Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Leeds, UK
Online Online
Edison Member
*
Karma: 78
Posts: 1719
Once the magic blue smoke is released, it won't go back in!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Are you sure you want a 20MHz crystal? Would you not be better using 16MHz.
Logged

~Tom~

Windy City
Offline Offline
Jr. Member
**
Karma: 0
Posts: 90
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Having just bought a shield type programmer, I'm not too sure what things it lacks that are really needed.  I have not yet come across a case where it has let me down or did not work or has me wondering about what additional feature it needed to get the job done.
Logged

Dirt Biker

Canada
Offline Offline
God Member
*****
Karma: 7
Posts: 591
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I can develop code for Tiny85s on it, too because they have a very similar structure (I'll get around to making a proper Tiny85 version one day...)

Yeah, it's too bad the pin-out's between the x5s and x4s are so different.  It would be really nice if they had though to put the power and ISP pins in the same physical locations.  That way you could do the x4s, x5s in the same 14 pin socket.
Logged

Facts just don't care if you ignore them.

Valencia, Spain
Online Online
Faraday Member
**
Karma: 142
Posts: 5292
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I can develop code for Tiny85s on it, too because they have a very similar structure (I'll get around to making a proper Tiny85 version one day...)

Yeah, it's too bad the pin-out's between the x5s and x4s are so different.  It would be really nice if they had though to put the power and ISP pins in the same physical locations.  That way you could do the x4s, x5s in the same 14 pin socket.

Yep.

I thought of putting two ISP headers on it, one for each type of chip, but it seemed risky. Get it mixed up and kill a chip...

Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Brisbane, Australia
Offline Offline
Edison Member
*
Karma: 33
Posts: 1120
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I was going to try using a ZIF with a 4-way 6 pole switch to allow the pinouts to be changed to suit 28, 20, 14 & 8 pin variants that are supported by the various IDE cores available all in the same socket.  Has anyone tried this?

In my so-far nebulous idea there would be a 2nd ZIF for plugging in a programmed ATMega328 which would have the ISP code on it so the thing could be self-contained, with the programs for the ATTiny etc fed through the other ATmega via an FTDI link to the PC.  Or, having the first ATmega setup to flash bootloaders to ATMegas in the other socket at the press of a button.

I have the parts, it's just a matter of sneaking it up the priority list, giving it some more thought, and allocating the time...
Geoff
Logged

"There is no problem so bad you can't make it worse"
- retired astronaut Chris Hadfield

Offline Offline
Edison Member
*
Karma: 29
Posts: 2350
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, with that device, you still need an Arduino Board.

here's essentially the map of the board.


The idea is, I could take it with me anywhere, if i come across a chip, be an Attiny or Atmega3268p, I pull out this board, use the ZIFF socket, connect my usb cable and reprogram the chip, i'm going
to have to include a reset, because that ISP Arduino ISP sketch sometimes locks up and requires a reset! - hence the ISP header to reprogram the atmega without lifting it out.


* dedicatedprogrammer.png (13.19 KB, 877x539 - viewed 22 times.)
Logged

Scotland
Online Online
Edison Member
*
Karma: 24
Posts: 1207
Have you had your Arduino fix today?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I make these, the new ones have a zif socket, no 8 pin header (now duel support on the zif). Needs a Duemilanove or UNO, will not work on the mega 1280/2560 or leonardo.
I don't have a photo of the new one yet, my camera is at work.


* ISPDLX.jpg (69.57 KB, 366x305 - viewed 23 times.)
Logged

Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

Pages: [1]   Go Up
Jump to: