|
楼主 |
发表于 2006-11-16 12:10:05
|
显示全部楼层
[5]无源代码下,商业用途人家要收费的,
有朋友发邮件问步骤,下面是
fireware:
点击此处下载armok01135415.rar
Step-by-Step Guide
Initial setup
Has to be done only once with new AVRs on the ispRE-board.
Build the board and double-check
Make sure the Update-Enable Jumper is open
Set the Reset-Select Jumper to "ISP mega8535"
connect external power supply if STK200-ppi is used (5V)
Set the ATmega8535-fuses: External high-freq-Crystal, CKOPT enabled ("programmed"), AT908535 compatibility. For avrdude-users: lfuse = 0xff, hfuse = 0x49, locks = 0xff
power down (turn off power supply)
Set the Reset-Select Jumper to "ISP tiny2313"
connect external power supply if STK200-ppi is used (5V)
Set the ATtiny2313-fuses. External Clock (everything else disabled: devided, brownout etc.). For avrdude-users: lfuse = 0xe0, hfuse = 0xdf, efuse = 0xff, locks = 0xff
Upload the ispRE update-firmware into the ATtiny2313's flash-memory using PonyProg or avrdude
power down
Set the Reset-Line-Selector to "normal/AVRISP-mode"
Programming-Firmware Update
Has to be done to update the ATmega8535 firmware with a new board or when Atmel delivers new firmware with AVRStudio.
power down
disconnect all targets from the ISP connectors
connect PC to the ispRE-board with serial/RS232 cable (or USB if FT232 or functional compatible device has been used)
close the Update-Enable Jumper
Supply power to the board
start AVRstudio->tools->avrprog
upload (write) the file STK500.ebn from the AVRTools/stk500-directory (set filter to *.* in file dialog). The ATtiny2313 will receive the firmware-code and transfer it to the ATmega8535
power down
open the Update-Enable Jumper
Operation
ispRE is fully compatible with the Atmel AVRISP (STK500 in low-voltage serial-programm/serial download). Connect a target-board to the ispRE board, make sure this target-board supplies power to the ISP connector or use an external power-supply. Connect PC to the programmer via RS232 (or USB if you have used a FT232 chip). Start AVRstudio->Tools->AVRISP/STK500 (Tools/connect in newer versions of AVRStudio). You should see the AVR-Studio AVRISP/STK500 plugin. The board can be used with avrdude (programmer stk500). Refer to the AVR-Studio online help for further information.
A 0,7MHz clock signal ist available at the RescueClock pin near the ATtiny2313. Can be used to clock target AVRs where the fuse bits do not match the hardware (i.e. when the target is programmed for external clock but should be programmed for external XTAL).
-----此内容被myjnj于2006-11-16,12:11:45编辑过
-----此内容被myjnj于2006-11-16,12:13:18编辑过 |
|