Programming Notes

From Merlin Systems Wiki

Notes on programming Atmel Mega processors (as used in multiple Merlin products)

Contents

Connections

Most Merlin products use a standard 16-way pinout for processor programming and expansion i/o. For programming, this is compatible across multiple products. (But the mapping of special peripheral features to pins varies between products.)

The connector pinout is here - Standard Avr Expansion Pinout

Exceptions


Hardware connections

The commonest programming lead is our standard ' robot programming lead', which just plugs into a PC parallel port. This is supplied with all user-programmable systems (e.g. robot packages), and needs no additional external hardware.

For more serious use, we recommend the AVRisp serial programmer, which -

  • doesn't need a parallel port
  • is somewhat more reliable

Programming Software