--- In AVR-Chat@yahoogroups.com, Ned Konz <bikenomad@...> wrote:
>
>
> On Apr 8, 2006, at 9:38 PM, scmikes03 wrote:
>
> > Hello All,
> >
> > I downloaded 4.12 and applied service pack 2.
> >
> > I created a winavr project
> >
> > I snagged some sample butterfly code from
> > http://www.siwawi.arubi.uni-kl.de/avr_projects/#bf_app
> >
> >
> > I set the device type to simulator, 169.
> >
> > How do I set the simulator to use the 4 meg flash memory.
> >
>
> > This makes sense since the Program memory is 129.3%
> >
> >
> >
> > Newbie Question: the 129.3% Full, shouldn't the 29.3% roll over to
> > the 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.
>
> --
> Ned Konz
> ned@...
>
>
>
>
> --
> Ned Konz
> MetaMagix embedded consulting
> MetaMagix@...
>
Ned,
Thank you very much for answering my newbie question. I am going back
to my ancient EE roots. I have been slinging code for 3d solid
modelers for the last 15 years, and am looking forward to the
challenges and rewards of programming the microcontrollers.
It is truly amazing of the capabilities of the microcontrollers, I
look forward to alot of fun.
Hopeful I will add some value to the group soon (after my learning the
microcontroller way :-).
My current motivation is to automate some woodworking tasks.
1) gear cutting for wooden clocks
2) simple CNC router
I used to do NC generation, so I have some comfort level in most of
this domain :-)
Thanks for you kind response to my newbie question,
Mike