--- In AVR-Chat@yahoogroups.com, "Dave VanHorn" <microbrix@...> wrote: > > > Why re-invent the wheel? > > :) I need a slightly differently shaped wheel. > > Source in ASM, and I need to talk to a linux embedded system, so PC > apps that speak odd protocols won't work. So I'm doing xmodem protocol > since we can get command line utils in linux to send the file. > Like Dave Hylands I prefer to use print statements if I need them. I usually start from a known place and then incrementally update and add to the code, testing as I go. Each increment is small and I always have working code at hand. It helps to have an overall plan so you know where you are going and don't leave all of the "hard stuff" to the end. If you break up the hard struff into small enough chunks, it isn't so hard anymore. A local CVS server can be useful for keeping track of the code levels as you make changes. You may have found this already. Piconomic Design already have an ATmega128 bootloader that uses the xmodem protocol - see http://www.piconomic.co.za/download/avr_bootloader_4.zip <http://www.piconomic.co.za/download/avr_bootloader_4.zip> . The source is shipped under the "Modified BSD" open source license which is not too restrictive. Mike oakmicros.com <http://oakmicros.com/> AVR, BasicX and ZBasic Microcontrollers [Non-text portions of this message have been removed]
Message
Re: Debugging Bootloaders
2007-07-10 by Mike
Attachments
- No local attachments were found for this message.