Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Mega8535 bootloader issue

2009-11-08 by dlc

Hi all,

   I have a bootloader that I've used successfully on the MEGA168 that I 
modified slightly to work on a MEGA8535.  This wasn't all that difficult 
since the original bootloader had tons of ifdefs for just about every 
bootloader capable AVR there was to start with.  My issue is that 
AVRdude says that the programmer is not responding.  The only command 
that I know that I can do from an ASCII terminal is '1'<space> which 
returns "AVR ISP" as it should from the bootloader.  In looking at what 
AVRdude is sending (three sets of '0'<space>) when I do that my code 
sees the command and responds with 0x14 0x10, which I'm seeing.  I have 
AVRdude configured to run at 9600 baud, the bootloader speed as well. 
This all seems OK, but I don't know where to go next to look for what to 
check to see why AVRdude can't get a response.  Does anyone know of a 
test protocol that I can use to test out the bootloader with individual 
sequences?  I've looked at the STK500 protocol (which gives commands, 
but not the hex values the command syntax represents for some reason) 
and I don't see anything wrong there.  Others have clearly seen and 
solved this problem, is there something stupid obvious I'm missing here?

Thanks,
DLC
-- 
-------------------------------------------------
Dennis Clark          TTT Enterprises
www.techtoystoday.com
-------------------------------------------------

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.