 |
| Author |
Message |
|
|
Posted: Jun 10, 2012 - 12:36 AM |
|

Joined: Jun 05, 2012
Posts: 15
|
|
I have written a code which i burnt in atmega8. But when simulating in proteus it shows the following 2 messages:
1.simulation not running in real time due to excessive CPU load
2.PC=0x018E [AVR MEMORY] writing to memory location 0x04B6 outside of memory size 0x0460
are these messages shown because atmega8 does not have enoug memory to handle the code i have written? Should i go for atmega 32 which has got more memory in it? |
Last edited by newtoneins10 on Jun 10, 2012 - 12:54 AM; edited 1 time in total
|
| |
|
|
|
|
|
Posted: Jun 10, 2012 - 12:50 AM |
|

Joined: Feb 12, 2005
Posts: 16308
Location: Wormshill, England
|
|
Report the problem to your school.
They can ask for help from Labcenter.
I suspect your program may have too many strings for SRAM.
avr-gcc may be free, but it not not very clever for anonymous string storage.
AFIK, your project was originally written for CodeVision. And fitted within the 4kB flash limit of the free evaluation version.
David. |
|
|
| |
|
|
|
|
|
|
|