BUG: Configuration Values 16F1937

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

BUG: Configuration Values 16F1937

Post 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
Martin

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: BUG: Configuration Values 16F1937

Post 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.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: BUG: Configuration Values 16F1937

Post by medelec35 »

Thanks Ben.
I was thinking its more of a issue if putting value in to a simulation package like Proteus.
Martin

Post Reply