[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] New Programmer, Small Program, F_CPU for Atmega644
From: |
Joerg Wunsch |
Subject: |
Re: [avr-chat] New Programmer, Small Program, F_CPU for Atmega644 |
Date: |
Sat, 22 Mar 2008 08:41:58 +0100 (MET) |
Robert L Cochran <address@hidden> wrote:
> Or, is there a standardized test program I could download from the
> Internet, compile with avr-gcc, and then download to the 644 that
> will make something turn on or off or whatever? I'm definitely in
> learning mode here.
If you've got AVR-GCC, then you've also got avr-libc, which contains a
few example programs. Among them is the "simle demo":
http://www.nongnu.org/avr-libc/user-manual/group__demo__project.html
It has been made compile for nearly all AVRs that feature a timer 1.
Since it's small enough to post, here's the hex file when compiling
for an ATmega644:
:100000000C9438000C9455000C9455000C94550039
:100010000C9455000C9455000C9455000C9455000C
:100020000C9455000C9455000C9455000C945500FC
:100030000C9455000C9455000C9455000C945700EA
:100040000C9455000C9455000C9455000C945500DC
:100050000C9455000C9455000C9455000C945500CC
:100060000C9455000C9455000C9455000C945500BC
:1000700011241FBECFEFD0E1DEBFCDBF11E0A0E065
:10008000B1E0ECE6F1E002C005900D92A030B107BE
:10009000D9F711E0A0E0B1E001C01D92A330B10793
:1000A000E1F70E94AB000C94B5000C9400001F9285
:1000B0000F920FB60F9211242F933F938F9380913D
:1000C0000001882379F420910101309102012F5F12
:1000D0003F4F309302012093010183E02F3F380707
:1000E000D9F417C0813029F020910101309102012B
:1000F00013C0209101013091020121503040309312
:100100000201209301012115310531F41092000103
:1001100003C081E080930001309389002093880020
:100120008F913F912F910F900FBE0F901F901895B8
:1001300083E880938000E1E8F0E080818160808343
:10014000109289001092880080E28AB981E0809341
:100150006F00789408950E94980083B7816083BFF0
:0C016000889583B78E7F83BFF8CFFFCF58
:00000001FF
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
- [avr-chat] New Programmer, Small Program, F_CPU for Atmega644, Robert L Cochran, 2008/03/21
- RE: [avr-chat] New Programmer, Small Program, F_CPU for Atmega644, Weddington, Eric, 2008/03/21
- Re: [avr-chat] New Programmer, Small Program, F_CPU for Atmega644,
Joerg Wunsch <=
- Re: [avr-chat] New Programmer, Small Program, F_CPU for Atmega644, Robert L Cochran, 2008/03/23
- Re: [avr-chat] New Programmer, Small Program, F_CPU for Atmega644, Joerg Wunsch, 2008/03/24
- Message not available
- Re: [avr-chat] AVR power supply current, Robert L Cochran, 2008/03/24