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@bike-nomad.com -- Ned Konz MetaMagix embedded consulting MetaMagix@gmail.com
Message
Re: [AVR-Chat] How to set up butterfly flash memory in studio?
2006-04-09 by Ned Konz
Attachments
- No local attachments were found for this message.