처음‎ > ‎지식기반‎ > ‎

2. ICSP 10-to-8 Conversion and Programming Arduino Bootloader

게시자: Sundew Shin, 2015. 2. 26. 오후 8:30   [ Sundew Shin에 의해 업데이트됨(2016. 12. 6. 오후 6:38) ]
OLIMEX AVR-ISP-MKII porvides 10-pin ICSP while the most Arduino board has 6 pin ICSP. We need a converter.
Check out the pinout for the both 6-pin and 10-pin.

Something as simple as this:


Now connect to an Arduino compatible board:


On AVR Studio: select the menu, 'Tools>Device Programming'
Make sure the 'ISP Clock' speed is not too fast, or you will not get the device information.

[UPDATE 12/5/16]
MUST: Make sure you click 'Set' to apply, even for the default 125kHz.


Select a bootloader for the device of choice and program.


Last step: change the fuse register value as:
  • EXTENDED: 0xFD
  • HIGH: 0xDE
  • LOW: 0xC2

Congratulations!
You can disconnect AVR-ISP-MKII from the arduino board and program the chip using the Arduino IDE.


[Tip]
You can make a plug for Attiny85 (8-pin) programming.

  
  

ex) On-dev-board programming

Comments