[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] invalid ram address
From: |
David Kelly |
Subject: |
Re: [avr-gcc-list] invalid ram address |
Date: |
Thu, 13 Dec 2007 09:34:03 -0600 |
User-agent: |
Mutt/1.4.2.3i |
On Thu, Dec 13, 2007 at 03:36:56PM +0700, andi wrote:
> Hi ,
>
> I make a program for atmega32, and i compile it using WinAVR version
> 20070525. But when i want to simulate in AVRStudio, the variables that
> i declare are "invalid location". I check the SRAM address and in
> outside the maximum address (example : 0xA64) Is it a bug ? Or maybe I
> have to configure something ?
Yes its a bug in your software. The ATmega32 has 2k of RAM, 0x0800
bytes. Starts at 0x0060 and ends with $0x085f. 0x0a64 is way out of
range.
--
David Kelly N4HHE, address@hidden
========================================================================
Whom computers would destroy, they must first drive mad.