PIC32MZ Missing registers

mikroC, mikroBasic and mikroPascal PRO for Microchip’s 32-bit PIC MCUs
Post Reply
Author
Message
peini
Posts: 46
Joined: 28 Dec 2011 09:56

PIC32MZ Missing registers

#1 Post by peini » 04 Jul 2019 07:24

Why is the register "BF2SEQ0" missing in the definition files?

PIC32MZ2048EFH144:

Code: Select all

sfr unsigned long   volatile BF1SEQ0          absolute 0xBFC4FFFC;
sfr unsigned long   volatile ABF1SEQ0         absolute 0xBFC4FF7C;

BF2SEQ0 ??
sfr unsigned long   volatile ABF2SEQ0         absolute 0xBFC6FF7C;
PIC32MZ2048ECH144:

Code: Select all

sfr unsigned long   volatile BF1SEQ0          absolute 0xBFC4FFFC;
sfr unsigned long   volatile ABF1SEQ0         absolute 0xBFC4FF7C;

BF2SEQ0 ??
sfr unsigned long   volatile ABF2SEQ0         absolute 0xBFC6FF7C;
The alternative registers ABF2SEQ0 are still there.
Please add the missing registers and also check the other files.

EDIT:
I cannot even define it by myself. Address is taken from the datasheet page 67.

Code: Select all

sfr unsigned long   volatile BF2SEQ0          absolute 0xBFC6FFFC;
Results in "Bad absolute address 'BF2SEQ0'".
MCU is a "PIC32MZ2048ECH144". I'am using a EasyPIC Fusion v7.

EDIT2:
This are lines defined in XC32 compiler:

Code: Select all

extern volatile uint32_t   BF1SEQ0 __attribute__((section("sfrs"), address(0xBFC4FFFC)));
extern volatile uint32_t   BF2SEQ0 __attribute__((section("sfrs"), address(0xBFC6FFFC)));

Post Reply

Return to “PIC32 PRO Compilers”