Yahoo Groups archive

AVR-Chat

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

Message

Re: How to set up butterfly flash memory in studio?

2006-04-09 by scmikes03

Thank you,

It is an spi device. The butterfly is a fun starter kit.  Atmel did a
very nice job with this :-)

Mike

--- In AVR-Chat@yahoogroups.com, "ufo2joe" <ufo-joe@...> wrote:
>
> I don't think that's possible. 
> 
> The 4 Megabit DataFlash on the Buttrerfly is a serial SPI device 
> isn't it?
> 
> --- In AVR-Chat@yahoogroups.com, "scmikes03" <michaelschneider@> 
> 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.
> > 
> > ---------------------- build output ---------------
> > 
> > AVR Memory Usage
> > ----------------
> > Device: atmega169
> > Program:   21182 bytes (129.3% Full)
> > (.text + .data + .bootloader)
> > 
> > Data:        241 bytes (23.5% Full)
> > (.data + .bss + .noinit)
> > 
> > 
> > When I try to run the program:
> > 
> > The contents of the objectfile exceeds the maximum program memory of
> > the device
> > Error loading object file C:\work\avr\bf_proj\default\bf_proj.elf
> > 
> > 
> > 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?
> > 
> > 
> > Thanks 
> > Mike
> >
>

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.