Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Product List
MSP430FR5969 LaunchPad Part 8 Slide 3

There are different methods to configure access management settings using the MPU. The most secure way is by using the linker command file, which pre-configures the settings at compile time and then writes it to the registers prior to the execution of C startup. Alternatively, the MPU can be configured at the start of application code and then reconfigured as needed during code execution. On this slide, there is a screen capture of the FR59 linker command file. This file with the extension “.cmd” can be found in the project folder, once the target device is configured as the FR5969. By default the MPU settings are commented out. Uncommenting these lines will allow the IDE to assign protection for read only and read/execute memories. Configuring the MPU using the CMD file is useful if a user does not intend to change it during code execution. If there is a need to change these settings during code run time, it is preferable to use application code for the configuration.

PTM Published on: 2014-06-24