SPRADR6 April   2025 F29H850TU , F29H859TU-Q1 , TMS320F2800132 , TMS320F2800133 , TMS320F2800135 , TMS320F2800137 , TMS320F2800152-Q1 , TMS320F2800153-Q1 , TMS320F2800154-Q1 , TMS320F2800155 , TMS320F2800155-Q1 , TMS320F2800156-Q1 , TMS320F2800157 , TMS320F2800157-Q1 , TMS320F280021 , TMS320F280021-Q1 , TMS320F280023 , TMS320F280023-Q1 , TMS320F280023C , TMS320F280025 , TMS320F280025-Q1 , TMS320F280025C , TMS320F280025C-Q1 , TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1 , TMS320F28075 , TMS320F28075-Q1 , TMS320F28076 , TMS320F28374D , TMS320F28374S , TMS320F28375D , TMS320F28375S , TMS320F28375S-Q1 , TMS320F28376D , TMS320F28376S , TMS320F28377D , TMS320F28377D-Q1 , TMS320F28377S , TMS320F28377S-Q1 , TMS320F28378D , TMS320F28378S , TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S , TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S , TMS320F28P550SG , TMS320F28P550SJ , TMS320F28P559SJ-Q1 , TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
    1. 1.1 Getting Started
  5. 2Overview
  6. 3Migration Support Feature
    1. 3.1 Project Detection
    2. 3.2 Setup Migration Settings Page
    3. 3.3 Migration Execution
      1. 3.3.1 Running Migration Check on a Standalone File
      2. 3.3.2 Running Migration Check on a Project
    4. 3.4 Quick Fixes
    5. 3.5 Migration Report
    6. 3.6 Bitfield Migration
  7. 4Summary
  8. 5References

Quick Fixes

The C2000 IDEA extension detects and highlights migration concerns when executing a migration run on a standalone file or an entire project. All major migration concerns in the file are underlined with a red squiggly line and all other migration warnings in the file are underlined with a yellow squiggly line.

 File View After Migration
          Execution Figure 3-12 File View After Migration Execution

Each highlighted migration concern includes a prompt message, along with View Problem and Quick Fix options:

  • View Problem: Displays a detailed description of the migration concern, explaining the differences between the current and migration device.
  • Quick Fix: Suggests available answers to address the migration concern efficiently.
 Migration Concern - View Problem and
          Quick Fix Figure 3-13 Migration Concern - View Problem and Quick Fix

This extension offers several options to help users efficiently resolve migration concerns and make sure of smooth transitions between devices. Users can choose from the following resolutions:

  • Review migration collateral for [current device] to [migration device]:
 Migration Collateral HTML Page Figure 3-14 Migration Collateral HTML Page
  • Wrap in device specific #IFDEF for [current device] and [migration device]
    • Automatically generates preprocessor conditionals (#IFDEF) around the line of code so that an updated version of the code can be compiled for the new device and add a #define for the current device somewhere in the file.
    • Allows users to define an alternate code implementation tailored for the new device. Inserts a placeholder comment (// Enter alternate code) where modifications need to be made.
    • This extension has capability to suggest code replacement for most of F28x-to-F29x migration concern.
 Wrap #IFDEF Quick Fix
          (F28x-to-F28x) Figure 3-15 Wrap #IFDEF Quick Fix (F28x-to-F28x)
 Wrap #IFDEF Quick Fix
          (F28x-to-F29x) Figure 3-16 Wrap #IFDEF Quick Fix (F28x-to-F29x)
  • Ignore code related errors
    • Suppresses the migration concern by adding to the Migration Check Exceptions section in the Setup Migration Settings page.
    • Typically used when user have implemented a different approach to handle the migration concern manually.
  • All Enum fixes Wrap in device specific #IFDEF for [current device] and [migration device]
    • Functions similarly to the #IFDEF prior quick fix but is specifically designed for enumeration-based migration concerns.
    • Appears only when migrating to F29H85x and if multiple enum-related changes exist on the same line.
    • Automatically applies #IFDEF wrappers for all relevant enum migration concerns in that line.
 All Enum Wrap #IFDEF Quick Fix
          (F28x-to-F29x) Figure 3-17 All Enum Wrap #IFDEF Quick Fix (F28x-to-F29x)

By leveraging these quick fix options, users can significantly reduce manual effort, simplify the migration process, and make sure iof code compatibility across devices.