Loading ...
Sorry, an error occurred while loading the content.

Re: [softrock40] Re: Programming the ATtiny85 chip

Expand Messages
  • Jeff Blaine
    Thanks Bob, Yes, I have seen the basic programmer like what you mentioned. I suppose that is the way to go. SImple enouhg. Given the popularity of this chip,
    Message 1 of 5 , Mar 28, 2009
    • 0 Attachment
      Thanks Bob,

      Yes, I have seen the basic programmer like what you mentioned. I
      suppose that is the way to go. SImple enouhg.

      Given the popularity of this chip, I was assuming there would be a
      complete solution readily available.

      73/jeff/ac0c

      g8voip wrote:
      >
      > Hi Jeff,
      >
      > The only experience I have with any USB programmer is the Adafruit
      > USBTinyISP, but you do need to make up a very simple target circuit to
      > run the chip in. Only takes a few minutes, essentially just an 8 pin
      > IC socket and 5V supply. Limited to ICP programming only.
      >
      > I did look at the Atmel AVR Dragon development board, that uses a USB
      > port and provides both ICP and HVS programming modes. You still have
      > to do a little bit yourself, there is a prototyping area on the board
      > that you can fit a socket or zif to and connect jumpers across to
      > headers. If cost is no object, that would be a good solution, but I
      > personally thought it was over-kill for what I needed.
      >
      > The 'AVRDOPER' programmer has been mentioned before on this group,
      > also provides HVS and ISP programming modes, but I could not find any
      > source of kits or PCB's, appears to be a DIY job, which also requires
      > a programmed AVR device.
      >
      > Sorry I cannot help much more.
      >
      > 73, Bob G8VOI
      >
      >
      > --- In softrock40@yahoogro ups.com
      > <mailto:softrock40%40yahoogroups.com>, Jeff Blaine <keepwalking188@
      > ...> wrote:
      > >
      > > Bob,
      > >
      > > Your comments are great. Thanks for sharing all this detail.
      > >
      > > Would you have a recommendation on a programmer that connects to the
      > USB
      > > port (not parallel port) - and has a socket for the 8-pin attiny chip
      > > (as a minimum) so that no seperate target board is required?
      > >
      > > I'm hoping to find an assembled or kit type of solution as I do not
      > want
      > > to spend much time on this. Just want to buy a sleve of these attiny
      > > chips and then when Fred comes out with more magic, or Dave has
      > > something cool - I can just burn a chip a new chip and not have any
      > > waiting time.
      > >
      > > Command line work is not a problem at all.
      > >
      > > Thanks!
      > >
      > > 73/jeff/ac0c
      > >
      > > g8voip wrote:
      > > >
      > > > Hi Terry,
      > > >
      > > > There are a number of choices for programming and reprogramming the
      > > > ATtiny chips. If you have a 'decent' PC, i.e. one that still has a
      > > > parallel printer port :-), then there are a few simple cheap options.
      > > >
      > > > In the few weeks I have been playing with programming these chips, I
      > > > have built up a few different bits of hardware and now tried several
      > > > methods.
      > > >
      > > > Take a look at Fred PE0FKO's firmware page, there are some links to a
      > > > couple of sites with the basics on programming hardware, and the
      > chips.
      > > >
      > > > http://home. ict.nl/~fredkrom /pe0fko/SR- V9-Si570/
      > > > <http://home. ict.nl/%7Efredkr om/pe0fko/ SR-V9-Si570/
      > <http://home.ict.nl/%7Efredkrom/pe0fko/SR-V9-Si570/>>
      > > >
      > > > The simplist method of programming new chips is ICP (In Circuit
      > serial
      > > > Programming) , and the adaptor can be as simple as just 4 resistors
      > > > using a parallel port, and a simple 'target circuit' consisting
      > just 8
      > > > pin socket for the chip, 5V supply and a pull-up resistor on the
      > reset
      > > > line.
      > > >
      > > > PonyProg can be used for this, and I created a simple 'script' file
      > > > (on Fred's site), which can be used to program the chip in steps,
      > > > before finally programming the last fuse bit.
      > > >
      > > > AVRDUDE software also supports this simple type of programmer.
      > > >
      > > > The limitation of this type of programming is that the once the chip
      > > > is programmed, the 'Reset' line is changed to act as an output pin by
      > > > changing the 'fuse' bits. Once this is done, you cannot reprogram the
      > > > chip using ICP as that needs the reset function. As the chips are
      > > > cheap you could just treat them as 'one time programmable' to start
      > > > off with.
      > > >
      > > > An alternative way for ICP is to use a USB adapter like the Adafruit
      > > > USBTinyISP, that works very well, again you need a simple target
      > > > circuit to run the ATtiny in.
      > > >
      > > > Again AVRDUDE supports this USB ICP device.
      > > >
      > > > The more versatile option is to use HVS (High Voltage Serial)
      > > > programming, that allows the fuse bits to be reset and the chip
      > > > completely cleared, and programmed, (also makes ICP possible again).
      > > >
      > > > There was a simple parallel port design by Loftur TF3LJ posted on
      > this
      > > > group and a link on Fred's site, that works very well.
      > > >
      > > > The AVRXtools software supports the HVS programmer using the AVRPP
      > > > program.
      > > >
      > > > As long as you are happy working with DOS, none of these are too
      > > > difficult to use. I have made a few simple batch files to automate
      > the
      > > > process.
      > > >
      > > > If you want any help, drop me an email off list,
      > > >
      > > > 73, Bob G8VOI
      > > >
      > > > --- In softrock40@yahoogro ups.com
      > > > <mailto:softrock40% 40yahoogroups. com>, "Terry" <terry@> wrote:
      > > > >
      > > > > I have some experience programming PIC processors using the EPE TK3
      > > > kit but none at all of the ATTiny . I would welcome suggestions as to
      > > > all the bits (and sources )I would need to reprogram my ATTINY 85 as
      > > > the newer programs are developed.
      > > > >
      > > > > Terry G3WDI
      > > > >
      > > >
      > > >
      > >
      >
      >
      T
    Your message has been successfully submitted and would be delivered to recipients shortly.