Yahoo Groups archive

AVR-Chat

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

Message

How to set up butterfly flash memory in studio?

2006-04-09 by scmikes03

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.