Sounds like a stack problem and returning to never-never land (random op-codes in un-initialized memory in the simulator) or just the program running into your .db statements thinking it was code. -----Original Message----- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of Thomas Keller Sent: Saturday, December 30, 2006 8:36 AM To: AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] now what? OK. Nope. That didn't help any. I am getting infinite looping at addresses beyond the end of my generated code (0x17 and 0x117), with errors of "illegal opcode" and "illegal instruction" (MUL and MULS) There are not looping instructions in the code. The last instructionof the code maps to 0x16. I am flambasted again. Thomas Keller wrote: > > > Alright, I am totally flumbasted by this one. > > The first line in my code is .include "tn25def.inc" which is > working. Yet, when I run the code in the simulator, the debugger is > dumping a gazillion errors at me, mostly begin geenrated by my .db > statements. > > The data are apparently being misinterpreted as instrcutiosn, and > creating illegal opcode and ilegql instruction errors. While I am > typing this, it occurs ot me that perhaps I need to put a .dseg in front > of my .db definitions, yes? i will try that, and get back to you all. > > tom > > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.16.0/610 - Release Date: 12/30/2006 > Yahoo! Groups Links
Message
RE: [AVR-Chat] now what?
2006-12-30 by larry barello
Attachments
- No local attachments were found for this message.