Yahoo Groups archive

AVR-Chat

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

Message

Anybody used GCC with Tiny26?

2005-11-15 by Stefan Wimmer

Hi folks,

has anybody out there successfully used GCC to write programs for the 
Tiny26?

I tried this recently but ran into weird problems:
The first one was easy to find: GCC used the non-existend EEAH to 
address EEPROM and this didn't work. While wading thru the .lss file 
I discovered that the startup code also initializes the non-existend 
SPH. The data sheet says that writing to unimplemented registers 
leads to unpredictable results and that really seems to be the case.

When I took the assembler part of the .lss file, trimmed it to AVRA 
format and removed the forbidden accesses, the program ran as planned.

When looking at the sourceforge site I found that somebody else had 
already reported this in august, but unfortunately nobody felt a need 
to react. Does anybody know where to put the lever if I wanted to try 
to fix this myself? Where in the dungeon of the GCC directories is 
the source of the startup code burried?

BTW: Where did the AVR-GCC mailing list move to? I somehow lost track 
of it...

Stefan

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.