Quote:
|
Originally Posted by Mike Betts
Two possibilities come to mind. Your student may have been using a byte index in RAM and did not change it to a word for ROM. The other is that, if he or she was using pointers, the pointer had to change to ROM CONST also...
At any rate, it sounds like a moot point now. If anyone else has problems, let us know...
|
Both suggestions are possible. It only took 5 minutes to debug which is why I don't remember the details, just that it occurred. I was helping him fix other errors at the same time, too. It's the kind of thing that can drive a student bonkers, but is just fun for us mentors.
I have on my "to do" list an off-season debugging workshop where the more advanced student programmers have to find what's wrong with a collection of misbehaving projects and code ranging from obvious MPLAB issues to subtle code problems.