atmel-programmer
所属分类:硬件设计
开发工具:KiCad Layout
文件大小:0KB
下载次数:0
上传日期:2016-06-11 18:33:35
上 传 者:
sh-1993
说明: PCB,用于从Arduino Micro(KiCAD)编程各种ATtini ATmega,
(PCB to program various ATtiny ATmega from an Arduino Micro (KiCAD),)
文件列表:
Arduino_Micro.kicad_mod (4221, 2016-06-11)
LICENSE (11357, 2016-06-11)
atmel_programmer-cache.lib (8498, 2016-06-11)
atmel_programmer.dcm (89, 2016-06-11)
atmel_programmer.kicad_pcb (214515, 2016-06-11)
atmel_programmer.lib (1086, 2016-06-11)
atmel_programmer.pro (1224, 2016-06-11)
atmel_programmer.sch (8906, 2016-06-11)
atmel_programmer.zip (70828, 2016-06-11)
fp-lib-table (16, 2016-06-11)
gerber/ (0, 2016-06-11)
gerber/atmel_programmer-B.Cu.gbr (167995, 2016-06-11)
gerber/atmel_programmer-B.Mask.gbr (4037, 2016-06-11)
gerber/atmel_programmer-B.SilkS.gbr (283, 2016-06-11)
gerber/atmel_programmer-Edge.Cuts.gbr (487, 2016-06-11)
gerber/atmel_programmer-F.Cu.gbr (157305, 2016-06-11)
gerber/atmel_programmer-F.Mask.gbr (4037, 2016-06-11)
gerber/atmel_programmer-F.SilkS.gbr (60226, 2016-06-11)
gerber/atmel_programmer.drl (2293, 2016-06-11)
images/ (0, 2016-06-11)
images/oshpark_back.png (28224, 2016-06-11)
images/oshpark_front.png (40999, 2016-06-11)
images/programmer1.png (48154, 2016-06-11)
images/programmer2.png (216497, 2016-06-11)
images/programmer3.png (135724, 2016-06-11)
images/programmer4.png (52675, 2016-06-11)
# arduino micro as isp attiny/atmega programmer
a simple pcb with a few sockets to program attiny/atmega microcontrollers from
an arduino micro used as isp programmer
# supported atmel chips
| Microcontroller | |
|-------------------------|----------------------------------------------|
| ATtiny 24/44/84 | http://www.atmel.com/devices/ATTINY84.aspx |
| ATtiny 25/45/85 | http://www.atmel.com/devices/ATTINY85.aspx |
| ATmega 48/88/168/328 | http://www.atmel.com/devices/ATMEGA328.aspx |
| ATmega 164/324/644/1284 | http://www.atmel.com/devices/ATMEGA1284.aspx |
# usage
all steps below include the use of the Arduino IDE: https://www.arduino.cc/en/Main/Software (1.6 or higher).
Add the following URLs in `File > Preferences` for the setting `Additionals Boards Manager URLs`:
## ATtiny25/45/85 & ATtiny24/44/84 families:
(Supports only 45/85 & 44/84)
https://raw.githubusercontent.com/damellis/attiny/master/package_damellis_attiny_index.json
## ATmega48/88/168/328 family:
(Supports only 168/328)
https://raw.githubusercontent.com/stackmagic/atmega/master/package_carlosefr_atmega_index.json
Note: Once the PR at https://github.com/carlosefr/atmega/pull/4 is merged, use the official URL: https://raw.githubusercontent.com/carlosefr/atmega/master/package_carlosefr_atmega_index.json)
## ATmega164/324/644/1284 family:
https://mcudude.github.io/MightyCore/package_MCUdude_MightyCore_index.json
If you want to program a `Non-P` version (for example an `ATmega1284` instead of an `ATmega1284p`), you need to open your avrdude.conf and add a Section like below. The non-P versions are essentially the same as the P versions and they can be cloned. The plain 644 is supported out of the box (with avrdude 6.0.1).
```
#------------------------------------------------------------
# ATmega1284
#------------------------------------------------------------
part parent "atmega1284p"
id = "m1284";
desc = "ATmega1284";
signature = 0x1e 0x97 0x06;
;
#------------------------------------------------------------
# ATmega324
#------------------------------------------------------------
part parent "m324p"
id = "m324";
desc = "ATmega324";
signature = ???????????????????????;
;
#------------------------------------------------------------
# ATmega164
#------------------------------------------------------------
part parent "m164p"
id = "m164";
desc = "ATmega164";
signature = ?????????????????????????
;
```
## prepare the programmer
* plug in your arduino micro and connect it to the pc
* start up the arduino IDE
* connect your arduino micro
* open up the programmer sketch: `File > Examples > ArduinoISP`
* change the line `#define RESET SS` to `#define RESET 10`
* select `Tools > Board > Arduino Micro`
* burn the programmer to your Arduino Micro with `File > Upload`
* verify the RDY led is pulsing
* select your micro as programmer `Tools > Programmer > Arduino as ISP`
once this is done, you can program as many chips as you want
## burn it
* plug in the chip to program (make sure there's just 1 chip on the board ;))
* open the sketch to program to the chip
* select the correct target board through `Tools > Board > ...`
* burn the sketch using `File > Upload using Programmer`
* the PRG led should light while the program is written
* you're done!
# kicad screenshots
![board](https://github.com/stackmagic/atmel-programmer/blob/master/images/programmer1.png "board")
![board](https://github.com/stackmagic/atmel-programmer/blob/master/images/programmer2.png "board")
![board](https://github.com/stackmagic/atmel-programmer/blob/master/images/programmer3.png "board")
![board](https://github.com/stackmagic/atmel-programmer/blob/master/images/programmer4.png "board")
# oshpark rendering
![board](https://github.com/stackmagic/atmel-programmer/blob/master/images/oshpark_front.png "board")
![board](https://github.com/stackmagic/atmel-programmer/blob/master/images/oshpark_back.png "board")
# further reading
## arduino micro ISP
* http://forum.arduino.cc/index.php?topic=156863.15
* http://www.arduino.cc/en/uploads/Main/arduino-micro-schematic.pdf
* https://camo.githubusercontent.com/87e06ff5c55ebb9498f5a3f7f232796a69259489/68747470733a2f2f7261776769746875622e636f6d2f426f756e692f41726475696e6f2d50696e6f75742f6d61737465722f41726475696e6f2532304d6963726f25323050696e6f75742e706e67
近期下载者:
相关文件:
收藏者: