I have seem to found the problem with the RS-232 to USB, and that is the level shifter is actually powered by the devices Tx line. I still have had no success with the boot loader, should I just write my own? Is it difficult? stevech wrote: > Assembler2 - - I thought it was standard in the latter version of AVR > Studio. > > USB to RS232 - having bought and tosses a few of these, for reasons you > cite, the one I have now works quite well. It's a China no-name but uses > the FTDI chipset. You can end it all by buying a 4 or 8 port USB to > serial > box on eBay, really cheap, made by Edgeport. Super reliable. See item > 5788134094 on eBay > > > -----Original Message----- > From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf > Of Gustavo Goretkin > Sent: Monday, July 11, 2005 8:24 PM > To: AVR-Chat@yahoogroups.com > Subject: Re: [AVR-Chat] Bootloader troubles E2END > > Hmm, I don't have that directory, I have AVR studio 4, the most recent I > believe, and the help file mentions Avr Assembler 2. Anyways, I assume > that is the end of the Eeprom memory for the device since the Mega 8 > has 512k , like the Mega 16. > I assembled the code, and I tried the boot loader, and if didn't work > :(. It didn't even recognize the device. > > Anyways, I found the problem with the USB to RS232 converter, and the > actual level translator is powered from the TX line of the serial port, > and apparently the STK500's MAX232 isnt supplying enough power, im > getting + and - 6 volts on its TX line, any suggestions please? > > Thank you > > stevech wrote: > > > I found E2END in this directory and file: > > C:\Program Files\Atmel\AVR Tools\AvrAssembler2\Appnotes\m8def.inc > > It is NOT in this file > > C:\Program Files\Atmel\AVR Tools\AvrAssembler\Appnotes > > > > Note the "2" in the pathname for the former, not the latter. > > Go figure. > > > > Steve > > =========== > > > > Mega8 chip... > > > > ; ***** DATA MEMORY DECLARATIONS > > ***************************************** > > .equ FLASHEND = 0x0fff ; Note: Word > > address > > .equ IOEND = 0x003f > > .equ SRAM_START = 0x0060 > > .equ SRAM_SIZE = 1024 > > .equ RAMEND = 0x045f > > .equ XRAMEND = 0x0000 > > .equ E2END = 0x01ff > > .equ EEPROMEND = 0x01ff > > .equ EEADRBITS = 9 > > #pragma AVRPART MEMORY PROG_FLASH 8192 > > #pragma AVRPART MEMORY EEPROM 512 > > #pragma AVRPART MEMORY INT_SRAM SIZE 1024 > > #pragma AVRPART MEMORY INT_SRAM START_ADDR 0x60 > > > > ====================================================================== > > ' > > > > > > -----Original Message----- > > From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On > Behalf > > Of Kathy Quinlan > > Sent: Sunday, July 10, 2005 7:47 AM > > To: AVR-Chat@yahoogroups.com > > Subject: Re: [AVR-Chat] Bootloader troubles > > > > Gustavo Goretkin wrote: > > > Thank you for your reply. I'm trying to assemble the code, but im > > > experiencing some trouble, > > > ldi R26,low(E2END-1) ; increment Chip Erase > Counter > > > located at address E2END-1 > > > ldi R27,high(E2END-1) ; > > > > > > I don't quite understant what E2END is, and where it is supposed to be > > > defined/ equated > > > thanks again > > > > > > stevech wrote: > > > > > > I would hazard a guess that E2END is value equivalent to the last > > location of the EEPROM. I am not sure if this is an Atmel define or a > > complier one. > > > > Regards, > > > > Kat. > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > YAHOO! GROUPS LINKS > > > > * Visit your group "AVR-Chat > > <http://groups.yahoo.com/group/AVR-Chat>" on the web. > > > > * To unsubscribe from this group, send an email to: > > AVR-Chat-unsubscribe@yahoogroups.com > > <mailto:AVR-Chat-unsubscribe@yahoogroups.com?subject=Unsubscribe> > > > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > > Service <http://docs.yahoo.com/info/terms/>. > > > > > > ------------------------------------------------------------------------ > > > > > > > Yahoo! Groups Links > > > > > > > > > > ------------------------------------------------------------------------ > YAHOO! GROUPS LINKS > > * Visit your group "AVR-Chat > <http://groups.yahoo.com/group/AVR-Chat>" on the web. > > * To unsubscribe from this group, send an email to: > AVR-Chat-unsubscribe@yahoogroups.com > <mailto:AVR-Chat-unsubscribe@yahoogroups.com?subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > > ------------------------------------------------------------------------ >
Message
Re: [AVR-Chat] Bootloader troubles E2END
2005-07-15 by Gustavo Goretkin
Attachments
- No local attachments were found for this message.