I have just spent 2 days trying to get a simple test program that runs on a 16F876A to run on a 18F2525. I tracked it down to the XINST fuse being set
ie
#FUSES XINST //Extended set extension and Indexed Addressing mode enabled
The code would not run. In a simple fgetc and fputc test the value was always wrong. Removing this fuse corrected the problem. And yet, the new project wizard set this for me automatically. What am I missing here. Is this a IDE bug? I assume the compiler cannot make valid code with this set.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Wed Oct 17, 2007 5:42 pm
It's a bug in the Wizard. I emailed CCS about this a few months ago.
I explained to them how it's going to cause problems with whoever has
that version of the IDE. They didn't reply to me. That's all I can do.
Thanks.
I love the compilers but have been disappointed with the support. That little bug just cost my employer 2 days pay while I battled with it. If they could only list a known bugs list instead of relying on their users to provide the customer support.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum