05.08.2014 Views

In System Programming (ISP) for ATMEL chips

In System Programming (ISP) for ATMEL chips

In System Programming (ISP) for ATMEL chips

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>In</strong> <strong>System</strong> Programmer (<strong>ISP</strong>) <strong>for</strong> <strong>ATMEL</strong> micro controllers<br />

http://www.ikalogic.com/isp.php<br />

Page 2 of 29<br />

26-02-2008<br />

"The Code memory array can be programmed using the serial <strong>ISP</strong><br />

interface while RST is pulled to VCC. The serial interface consists<br />

of pins SCK, MOSI (input) and MISO (output). After RST is set<br />

high, the <strong>Programming</strong> Enable instruction needs to be executed<br />

first be<strong>for</strong>e other operations can be executed. Be<strong>for</strong>e a<br />

reprogramming sequence can occur, a Chip Erase operation is<br />

required.<br />

The Chip Erase operation turns the content of every memory<br />

location in the Code array into FFH.<br />

Either an external system clock can be supplied at pin XTAL1 or a<br />

crystal needs to be connected across pins XTAL1 and XTAL2. The<br />

maximum serial clock (SCK) frequency should be less than<br />

1/16 of the crystal frequency. With a 33 MHz oscillator clock, the<br />

maximum SCK frequency is 2 MHz. "<br />

Pins used <strong>for</strong> <strong>ISP</strong><br />

This is as deep as i got in the <strong>ISP</strong> process, as i am using a ready made software that will handle<br />

the transfer protocol. some more detailed in<strong>for</strong>mation about the <strong>ISP</strong> functioning can be found at<br />

www.8052.com and at www.avrfreaks.net. but this is all you need to know to build and<br />

use this extra simple programming device. Now that you know some theory about the <strong>ISP</strong>,<br />

you should be ready to build the hardware interface. As you will soon discover, it maybe the<br />

simplest circuit that will find in this web site!<br />

The Circuit:<br />

AVR <strong>In</strong>-<strong>System</strong> Programmer<br />

Four-port in-system programmer <strong>for</strong> Atmel<br />

AVR Microcontrollers<br />

ezTools USB to I2C<br />

Let you to do I2C debugging in Easy Way

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!