Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] How to set up butterfly flash memory in studio?

2006-04-09 by Kathy Quinlan

Ned Konz wrote:

>> How do I set the simulator to use the 4 meg flash memory.

> No;  the AVR can't execute instructions directly from external  
> memories like that.
> 
> There are a few (relatively rare) AVR parts that can execute from RAM  
> (one of the USB ones comes to mind), but no others that I know of  
> that can execute normal AVR instructions from external memory.  
> Especially serial flash memory like that, which takes quite a few  
> cycles to move a single byte.
> 
> This doesn't mean that you couldn't write a program that could  
> execute some kind of code from that memory; it just means that the  
> AVR itself can't do that.
> 
I was writing a "Basic Stamp" type app for the AVR, but realised it was 
going to be useless, it is just as easy to use BASCOM and compile and 
send the assembled code down as it would to run an interpreter on chip. 
BUT it is faster to compile once and download the assembled code :)

-- 
Regards,

Kat.
---------------------------------------------------------------
  K.A.Q. Electronics     Website: www.kaqelectronics.dyndns.org
  IM: Yahoo: PinkyDwaggy MSN: katinka@kaqelectronics.dyndns.org
  For Everything Electronics 		   Phone: 0419 923 731
---------------------------------------------------------------


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.0/305 - Release Date: 8/04/2006

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.