I am running now on 4 MHZ and its still happening im 99.9% sure the fuses were set to turn off 103 compatibility ill go and do it again to be 100% sure (should I be setting the DDRE for port D in a specific way to deal with this compatibility issue? thanks for all the advice Brendan --- In AVR-Chat@yahoogroups.com, <volkmar.dierkes@w...> wrote: > > Are you using both the Mega128? Did you switch off the Mega103 emulation > mode in the fuses? If not, the compiler will locate the stack in an > area where the Mega103 has no RAM! > > HTH > > Volkmar > > inpactmicro <brendan.oflynn@n...> schrieb am 11.02.2004, 14:20:54: > > exactly whats happening to me! > > i tried using codevision AND iCC as my C compiler but the same thing > > is happening > > im using ICE JTAG to program > > > > it simulates fine but emulates/runs bizarrly > > > > if You find out whats wrong, let me know!! > > > > some suggestions Ive been give are > > is the watchdog disabled > > is it running too fast (im trying 20 MHz, but at lo voltage 8 is > > recommended > > > > stack being overwritten somewhere............ > > > > --- In AVR-Chat@yahoogroups.com, "Theo Maryonovich" > > wrote: > > > Hello to all, > > > > > > I am a bit new to the AVR world. I recently purchased a STK- 500 > > and 501 development kit with a mega128 and am using WinAVR for my C++ > > compiler. Having some trouble returning from function calls (like > > not returning at all). I am assuming I need to link to the program > > stack somehow to allow this to happen. Does anybody out there have > > any insight on how I might accomplish this? Thank you for your time. > > > > > > > > > Ted
Message
Re: program stack linker
2004-02-12 by inpactmicro
Attachments
- No local attachments were found for this message.