Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
newtoneins10
PostPosted: Jun 10, 2012 - 12:36 AM
Newbie


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
 
 View user's profile Send private message  
Reply with quote Back to top
david.prentice
PostPosted: Jun 10, 2012 - 12:50 AM
10k+ Postman


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.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits