Page 1 of 1

BUG: Configuration Values 16F1937

Posted: Wed Nov 30, 2016 2:36 pm
by medelec35
Wrong values are entered within 16F1937.fcdx for configuration settings:

Code: Select all

<configuration address='1' mult='2' >
        <format >
            <word value='0xCFE2' />
            <word value='0xDEFF' />
Config bug.png
(115.23 KiB) Downloaded 1726 times
Configuration words look like they are 14 bit wide which makes maximum hex value: 2^14-1 = 3FFF

Martin

Re: BUG: Configuration Values 16F1937

Posted: Thu Dec 01, 2016 2:52 pm
by Benj
Hi Martin,

I think you're correct here, the config registers and I think the instructions are only 14-bits wide and the upper two bits being set doesn't make sense. I don't think it makes much of a difference as the top two bits should be masked off by the compiler but it may be confusing to a user trying to get to grips with the inner workings of the FCDs.

Re: BUG: Configuration Values 16F1937

Posted: Thu Dec 01, 2016 4:20 pm
by medelec35
Thanks Ben.
I was thinking its more of a issue if putting value in to a simulation package like Proteus.