Configure a Model for Texas Instruments Hercules RM57Lx LaunchPad

Configure a Simulink® model to deploy to the Texas Instruments™ Hercules RM57Lx LaunchPad hardware board.

  1. Open an existing Simulink model, such as arm_cortex_r_gettingstarted, or create a new model.

  2. Create a working copy of your Simulink model using File > Save As. Keep the original model as a backup copy.

  3. In the copied Simulink model, select Simulation > Model Configuration Parameters.

  4. In the Configuration Parameters dialog box, click Hardware Implementation.

  5. Set the Hardware board parameter to TI Hercules RM57Lx LaunchPad. The parameters in the Build options, Clocking, Serial connectivity, and External mode groups are automatically assigned their default values for the Texas Instruments Hercules RM57Lx LaunchPad hardware board.

  6. In the left pane, click Code Generation.

    Selecting the TI Hercules RM57Lx LaunchPad in the previous step automatically sets the System target file parameter to ert.tlc. The ert.tlc updates the model configuration parameters. For example, the Toolchain parameter now specifies TI ARM Code Generation Tools v5.2x | gmake as the toolchain for the build process.

  7. In the left pane, click Hardware Implementation. Under Groups, select Build options.

  8. By default, the Build action parameter is set to Build, load, and run. Later, when you Build Model, this setting runs the .elf file on the Texas Instruments Hercules RM57Lx LaunchPad hardware board.

    To build, or generate, code without loading and running it on the emulator, change Build action to Build.

  9. Click OK and save the changes to your model.

See Also

|