On Sat, Jun 26, 2004 at 05:48:17PM -0000, Dave Mucha wrote:
> I have a program that I want to try out for my brother in Florida.
> I'm in NJ. : ) he has the PALM and the collage he is in has a
> greenhouse that he is taking care of.
>
> I figured that with a bootloader, I can write a new program if needed
> and e-mail it to him.
See Jason Kyle's STK500Boot program:
http://www.avr1.org/stk500boot/stk500boot.html
It makes your AVR target look like a regular old STK500, thus you can
use the serial port of your PC and your favorite programming software
(I'm partial to AVRDUDE, of course :-)) to program your target board.
Just tell your programming software that it is programming a chip in
an STK500.
On the target device, one of the I/O lines is used to indicate that it
should enter programming mode. Normally one would attach a switch to
that pin and press it while the AVR boots up. It checks the switch
and if it is pressed, then it enters the bootloader code and waits for
STK500 commands from the PC. If it is not pressed, it runs the
application as normal.
I've used it - works nice. I needed to make some minor updates to
make it work with later versions of AVR-GCC, but those were pretty
minor.
Good luck!
-Brian
--
Brian Dean
http://www.bdmicro.com/Message
Re: [AVR-Chat] Re: sending code to a chip - Palm and bootloaders
2004-06-27 by Brian Dean
Attachments
- No local attachments were found for this message.