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.

The MSP430FR5969 default setting of CCSv6 MPU Access Management does not work correctly.

Other Parts Discussed in Thread: MSP430FR5969

I made MSP430FR5969 project with CCSv6, its default setting of MPU Access Management was as the bellow.
enabled : Enable memory …, marked : Let Compiler…

At the start of main(), MPU registers are not set, stay in initial value. Press hardware reset, it jump to #pragma CLINK(_c_int00_noargs_noexit), It does not call __mpu_init().

Once clear the setting of MPU Access Management and set it enable again, MPU Access Management works correctly. Could you please check this problem?
I used CCSv6 6.1.0.00104.

Regards,
Kazuo Yamauchi

  • Kazuo,

    Could you let me know what you expect to see for the register values?

    I have enabled the MPU here:

    I then launch the debug session and the register values look like this:

    I select hard reset

    and I end up here:

    The register values look like this:

    So for me I see the register values changing and I end up at a different point in the program.  I have not done anything special.  I simply started with the blinky example and then selected the option to enable the MPU.

    Are you changing the MPU setting prior to launching your debug session or after.  If you are changing it after the sessions is launched then the settings would not get applied.

    Regards,

    John

  • Hello John,
    Thank you for your help. 

    I create the LED project and build it, then do program-load. At the first of main, The  MPU registr is bellow.

    But once click OK in the properties windows, MPU register is set correctly. 

    Regards,
    Kazuo Yamauchi