[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Snapshots etc

From: carl wall
Subject: Re: [avr-gcc-list] Snapshots etc
Date: Fri Jan 12 01:57:04 2001
User-agent: Mutt/1.2.5i

this is from an answer from the old mailing list.  As you can
see avr-objcopy is the program that converts between formats.

>I tihnk this should be a FAQ, it took me a while to find out... Basically
>you need the binutils set up, which gives you avr-objcopy. Then it goes
>something like:
>        avr-gcc -c prog.c -o prog.o
>        avr-gcc -o prog prog.o
>        avr-objcopy -O ihex prog prog.ihex
>... and you end up with an intel hex format that you can use with uisp:
>        uisp -v=2 -dstk200 --erase --upload if=prog.ihex
>       Hope this helps,
>       Simon.

The copy of uisp (Debian) that I have does not work with my parallel 
port, so I use the utilities from this page.  I have to be root to use 
them, could make them suid root, but figure Jason's pavr project 
is just about finished and that uses the serial port, and will work with
the STK200 board on any cpu platform with a serial port, that uisp has
been ported to.

   STK200 parallel port


   Jason' pavr project



On Thu, Jan 11, 2001 at 05:51:01AM -0600, Dale Seaburg wrote:
> Do you or others have an example makefile and perhaps a test C program
> that I could use?  I have an STK200, and a SIMM100 board that plugs into
> a DT003 board to test with (both have 8535's).  A few months back, when
> I just started to play, I used the STK200 kit's Windows 3.1 software and
> ISP dongle.  I assume I can still use the STK200 dongle with linux? 
> What software does everyone use to convert the avr-ld output to .hex and
> then download to the target?  Or, is a conversion to .hex needed? 
> Perhaps not.

Carl A. Wall    VE3APY                Toronto, Ontario, Canada
"Created on DEBIAN 2.2,  an alternative to Microsoft Systems
  and a GNU/Linux distribution of Open Source programming" 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]