Using PonyProg to download the HEX fileDr Nathan
Scott & Dr Hiroyuki Kagawa · July 2002 ICCAVRIDE.exe
has a good "In System Programmer" which uses the parallel port on the
host PC. If that is not working for you, here is another way to download your
compiled HEX file. |
Hexファイルを転送するためのPonyProgの使い方ネーサン・スコット(訳:香川博之) · 2002年7月 「ICCAVRIDE.exe」はパソコンのパラレルポートを利用するユーザーにとって便利である。ここでは,このソフトでHexファイルを転送できないときのための別方法について示す。 |

Figure 1 Initial appearance of PonyProg
|
·
「Setup」メニューから「Interface Setup...」を選択する。 |

Figure 2 Interface Setup menu item

Figure 3 Settings for use with the SI Prog (serial 9 pin) cable
|
·
「Setup」メニューから「Calibration」を選択する。 |

Figure 2 Calibration
|
The
Calibration is an internal timing test which PonyProg uses to ensure that it sends
accurately timed data to the AVR.
|
PonyProgで実行する「Calibration」はAVRに同期したデータを正しく転送できることを保証するため内部テストである。
|

Figure 4 Open Device File menu item

Figure 5 You will have to select files of type *.hex
|
Note that
initially your HEX file will not appear in the list of files. You must select
"Files of type *.hex" in the Open dialog box (see Figure 5). The HEX data
will be displayed on the screen as shown in Figure 6. |
はじめはリストにHexファイルが表示されないことに注意が必要である。Openダイアログボックス(図5)で「Files of type *.hex」を選択しなければならない。 図6のようにHEXデータが画面上に表示される。 |

Figure 6: HEX file on screen, ready to download

Figure 7: Select Write All from the Command menu. If all is well
you will see...

Figure 8 PonyProg writing data to the AVR
|
I am sorry
that you may have to use PonyProg, it would have been simpler to use just
ICCAVR. However this does illustrate two important principles in
microelectronics:
Is your LED flashing?
If not, seek help to get it flashing. If it is
flashing, congratulations, you are now in the Debug Loop. |
「PonyProg」を利用しなければならないことは残念である。ICCAVRを使うだけのほうが簡単である。.しかし,マイクロコントローラの重要な二つの原理を例証することができる。
LEDが点滅するか?もし点滅しなかったらヘルプを参照する。 もし点滅したら,おめでとう。デバッグループに入っている。 |
|
The SIProg
web site has detailed instructions for many different cables. I used
those instructions to develop the following simplified version which only
works with the AVR series. The transistor and resistor are an inverter, which
is a circuit that takes a digital “0” and converts it to a “1” or vice-versa. |
[Dr Kagawa,
when you have time, please add a Japanese translation here] |

|
It is important that the RESET pin on the AVR must have a
10kohm pull-up resistor as shown in the first exercise. |
[Dr Kagawa,
when you have time, please add a Japanese translation here] |