This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MPU access violation in SysCtlClockFreqSet when changing from Tivaware 2.1.1 to 2.1.3

Other Parts Discussed in Thread: TM4C1294NCPDT

Hi,

Since upgrading Tivaware to 2.1.3 I have seen a strange and very rare crash that was not present earlier. It happens during a call to SysCtlClockFreqSet (this function was rewritten in Tivaware 2.1.3):

SysCtlClockFreqSet(SYSCTL_OSC_INT |
                   SYSCTL_USE_PLL |
                   SYSCTL_CFG_VCO_480,
                   120000000);

Our register dump looks like this:

[!] MPU access violation
Data access at 0xF8D4FCF5
FAULTSTAT: 0x00000082
R0  = 0x00F42400
R1  = 0x07270E00
R2  = 0x0000000C
R3  = 0x00000000
R12 = 0xF8D4FCF1
LR  = 0x0005C45F
PC  = 0x00008FF8
PSR = 0x21000000

We jump between two execution modes, the other being

SysCtlClockFreqSet(SYSCTL_XTAL_25MHZ |
                   SYSCTL_OSC_MAIN |
                   SYSCTL_USE_PLL |
                   SYSCTL_CFG_VCO_480,
                   120000000);

Are these valid usages of SysCtlClockFreqSet? I am thinking of downgrading to 2.1.1 again but there are some other fixes in the new version that are good for us.

Kind regards Per