Announcement

Collapse

Please Read this before posting a Bug Report

This forum is for reporting bugs in the PicBasic Pro compiler.
You will need to provide code and descriptions that clearly show the problem.

If you just have code that doesn't work but don't know why.
It is more likely to be a bug in your program instead of the compiler

Please don't post your entire program with a simple "It doesn't work".
Reduce it to the minimum amount of code required to show the problem.

Compiler bug reports get priority over anything else.
Be sure it's not in your program first.
See more
See less

Pic16f1503

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Pic16f1503

    I know Microchip likes to change things like-the-wind, but ;

    I got a load of errors when compiling for the 16F1503 series with PBPx 3.0.4.5
    until after I added;

    PWM1DCL VAR BYTE EXT
    PWM1DCH VAR BYTE EXT
    PWM1CON VAR BYTE EXT
    PWM1CON0 VAR BYTE EXT
    PWM2DCL VAR BYTE EXT
    PWM2DCH VAR BYTE EXT
    PWM2CON VAR BYTE EXT
    PWM2CON0 VAR BYTE EXT
    PWM3DCL VAR BYTE EXT
    PWM3DCH VAR BYTE EXT
    PWM3CON VAR BYTE EXT
    PWM3CON0 VAR BYTE EXT
    PWM4DCL VAR BYTE EXT
    PWM4DCH VAR BYTE EXT
    PWM4CON VAR BYTE EXT
    PWM4CON0 VAR BYTE EXT

    to your PIC16F1503.PBPINC file.
    Regards,

    Bruce
    http://www.rentron.com

  • #2
    I discovered this late last week and I've been in contact with Microchip. The issue affects (at least) the 16F1503, 16F1507, and 12F1501. There may be more parts affected, but the fix should cover everything.

    Microchip has supplied the necessary information and we'll release the fix in PBP 3.0.6 very soon.
    Charles Leo
    ME Labs, Inc.
    http://melabs.com

    Comment


    • #3
      On-the-ball as always - thanks for the great support & great products..;o)
      Regards,

      Bruce
      http://www.rentron.com

      Comment


      • #4
        Hi, Charles ...

        Code:
        WPUC                VAR BYTE EXT     ; BANK4 (Added )
        still missing in the file ...

        Alain

        Comment


        • #5
          Alain,

          The 16F1503 does NOT have a WPUC register.
          Adding it to the .pbpinc file will have no effect.
          PBP3 Manual : Microchip Datasheets - 10F, 12F, 16F, 18F
          Never download a PIC datasheet from anywhere but microchip.com

          Comment

          Working...
          X