Hello,
Sorry if this gets posted twice I am trying to sort out hoew to use this forum.
I have been working on a project that uses the CME11E9-EVBU board, LCD, and keypad. I am
also currently coding in C with Micro-IDE.
I am very much a noob and have made a lot of progress but have been stuck now for a
couple weeks! I have exhausted all my tech supports as they no longer reply to my emails,
sadly :( .
I have a code that works fine with interrupts and everything when I ran it from RAM
(address $2000) but now that I need the system to be stand alone and run in EEPROM I am
having problems.
I first just changed the starting address to the new location ($E000) but then started
having problems with the LCD displaying garbage and nothing working. I tested the original
simple code I had and it loads ans runs fine into EEPROM, so I am pretty sure that the
EEPROM is working fine.
I have commented out most of my code and the problem seems to be with the interrupts. Once
I enable the respective TMSK1/2 and the enable the interrupts (CLI) everything goes wrong.
However, if I comment out the interrupt enable command the LCD and keypad all work great.
This would be fine except the interrupts are vital to my project. As far as which
interrupts I am using, I am using TOC2, IRQ, and RTI.
So my question is, what could I be doing wrong or what else would need to be address to
run in EEPROM instead of RAM?
I would post my code in its entirety but it is now well over 2000 lines but I will post
whatever or email it to anyone who thinks they can help.
I apologies if this ends up being trivial, as I mentioned previously this is all new to me
and this project has gone way beyond my training.
Thanks in advance,
-Bryan
------------------------------------

(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )
Wow, that took some time to post. Since then I have determined my problem is from not
properly vector mapping the interrupts into ROM.
I seem to have fixed this but I still randomly have garbage start scrolling onto my LCD
and I am not sure why yet. Sometimes the code works great then it will just start acting
acting up.
Any ideas or thought would be great.
Thanks.
------------------------------------

(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )