Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Extra Program Space

2005-12-21 by Jesper Hansen

Thread lightly here !

You can NOT run programs from external memory on the AVR's Harward 
architecture !

Unless, ofcourse, your "code" is in a format that the real program 
running on your CPU can parse/interpret.

/Jesper


Thomas Keller wrote:
> jme_cd wrote:
> 
> 
>>I am writing a program for my atmega8 but have gone over the limit,
>>that is my program is too big. Is there anyway that i can add an extra
>>eeprom chip or something that i can store all the code on and call it
>>from there?
> 
> 
> 
>    I haven't looked at the Mega8 specifically, but most AVRs (with 
> sufficient pin count) support external memory.  note that external 
> memory accesses take twice as many cycles as internal memory cycles, so 
> if any of your code is time critical at the operating speed of 
> yourprocessor, you'll want to be sure that code is loaded and run in the 
> internal FLASH.
> 
>    Check www.atmel.com, they offer a line of FLASH and RAM chips which 
> can be used thusly.
> 
> tom
> 
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
>

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.