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.

RM42L432: PIL setup for RM42

Part Number: RM42L432
Other Parts Discussed in Thread: HALCOGEN

Hi Everyone.

I read some posts about the PIL setup for RM48 and TMS570, the instructions for installation and customization, and still not clear the understanding of how should I proced in such a situation where my device target is a RM42L432PZ. My issues are: why the al the functions and folders name refer to RM48? Does the RM48 include all ARM Cortex-R Processors? Should I worry about it?

Another doudt is, Have I just  make the customizations below or I'm suposed to target my device like the example on Targetting a TMS570? If are just the customization What directories I should change in step 1? 

I have the Mathworks licenses required and already make the setup changes.

Customizing the Device Initialization Code

If you wish to make changes to the device initialization code, (e.x. flash wait states, CPU clock frequency) then you might do the following:

  • Hello Marco,

    We are reviewing you post and will get back to you soon.
  • Hello Marco,

    In addition to the changes you mentions, for TMS570 target or RM42 target, you also need to other changes:

    1. device frequency, PLL(using HalCoGen in your new folder /MY_HERCULES)

    2. configure SCI, GIO, HET, and pinmux (using HalCoGen in your new folder /MY_HERCULES)

    3. Change the compiler options

         --TMS570: add -BE32 for LDFLAGS, and change LDOUTPUTFLAG to include rtsv7R4_T_be_v3D16_eabi.lib

        -- RM42: remove the floating-point option, and change the library to rtsv7R4_T_le_eabi.lib

    4. Generate new target configuration file using CCS, then modify the TI_HERCULES_RM48_setup.m, and run this script:

         TCONF   = fullfile(TARGETDIR,'src','TI_HERCULES_RM48PilSerial', 'TI_RM48HDK.ccxml'); 

    Regards,

    QJ