Jump to content

Bug In P16c84.h And Pic16c84.h


Recommended Posts

Bug description:

In the target-specific include-files for the PIC16C84 (the files p16c84.h and pic16c84.h in /SourceBoost/include) that come along with the SourceBoost 6.15 distribution the configuration bit for the power-on timer enable is not specified correctly. The files read:

 

#define _PWRTE_ON 0x3FFF

#define _PWRTE_OFF 0x3FF7

 

The correct specification is:

 

#define _PWRTE_ON 0x3FF7

#define _PWRTE_OFF 0x3FFF

 

This is an issue only with PIC16C84 devices, since the PWRTE bit is inverse to the PIC18F84.

 

Steps to reproduce:

Bug appears when compiling to PIC16C84 target (however not PIC16F84)

Look in the PIC16C84 manual on the Microchip webpage.

 

Is the problem 100% reproduceable: yes

 

IDE version: SourceBoost IDE version 6.15

Compiler: Compiler BoostC

Compiler version: Compiler version

Target device: PIC16C84

OS: Windows XP

Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...