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.

TMS320F28069M: Tools Menu in Theia CCS layout

Part Number: TMS320F28069M
Other Parts Discussed in Thread: C2000WARE

Hi, newbie struggling to get started. In particular I need to write to two cells within the OTP and require the Flash API to do so. I am informed that it can be found in CCS in Degub perspective under the Tools menu. The new Theia layout does not have a Tools entry?. Am I missing something?

I've tried Toggling the Toolbar, but there is no Tolls entry in that Toolbar?

Is there some extra package that I need to import into CSS to get the Tools items?

Thanks

Craig

  • Hi Craig,

    Before diving in, there are some important points worth surfacing:

    • Which CCS version are you running? The Theia-based interface shipped with newer CCS versions and reorganized several menus, which is likely why you can't find the Tools entry.
    • What specific OTP cells are you targeting? (e.g., boot mode configuration at 0x3D7BFE, CSM passwords, or custom data?) This matters for how you set up your linker file.
    • OTP is irreversible — you get exactly one write. There's no undo [1][2]. Make sure your code is thoroughly tested before committing.

    The Key Misunderstanding

    You don't actually need a "Tools menu" Flash API tool to write to OTP. Here's what's going on:

    The "On-Chip Flash Programmer" you've heard about is a CCS plug-in historically accessed via Tools > On-Chip Flash Programmer in the older Eclipse-based CCS layout [3][4]. If it wasn't installed, it could be downloaded via the Update Advisor [3]. In the Theia-based CCS, this menu path has changed or may not be directly available — this is a known source of confusion.

    However, for your use case — writing to two OTP cells — you don't need that plug-in at all. The standard approach for the F28069M is to define your data in code and use the linker to place it in the OTP region. CCS then programs it just like flash during a normal download [5].

    How to Write to OTP on the F28069M

    Step 1: Define your data in a source file

    .sect "otp_data"
    .long 0x005A ; example: OTP KEY value

    Step 2: Map it to OTP in your linker command file (.cmd)

    otp_data : > OTP, PAGE = 0

    Where OTP is defined in your memory map as:

    OTP : origin = 0x3D7800, length = 0x000400

    Step 3: Program via standard CCS download

    When you load/download your project to the device, CCS programs the OTP region the same way it programs flash — no special tool required [5].

    Step 4: Comment out the OTP section afterward

    After programming, comment out the linker section to prevent CCS from attempting to re-write it on subsequent downloads, which would cause errors [5].

    If You Need Runtime Flash/OTP Programming

    If you need to program OTP at runtime (from your application code rather than at download time), you'll need the Flash API library:

    Item
    Detail
    Library file
    Flash2806x_API_wFPU_Library.lib (found in C2000Ware under device_support/f2806x/)
    Critical requirement
    Flash API functions must execute from RAM, not Flash [4][6]
    Linker setup
    Create a dedicated section for the API, load from Flash, run from RAM
    Before calling API
    Use memCopy() to copy the API from Flash to RAM [6]
    Hardware requirement
    3.3V must be applied to the VDD3VFL pin [4]
    Temperature
    OTP writes must occur between 0°C and 30°C ambient [2]

    Bottom Line

    For simply writing two OTP cells, the linker-based approach (Steps 1–4) is the simplest path — no Tools menu or special plug-in needed. Standard CCS project download handles it [5]. Just remember: test everything first, because OTP means one shot only.

    If you're still looking for the Flash Programmer plug-in specifically in CCS Theia, try checking Help > Install New Software or Help > Check for Updates — though I don't have confirmed documentation on its exact location in the Theia layout.


    1. TMS320F2806x Technical Reference Manual — OTP
    2. TMS320F28069M Datasheet — OTP Specifications
    3. SPRAAU8A — CCS On-Chip Flash Programmer
    4. SPRAAL3 — Flash Programming for TMS320F28xxx
    5. E2E: TMS320F28069M OTP Programming for Boot Modes
    6. E2E: TMS320F28069M Flash API Integration

    Best Regards,

    Zackary Fleenor

  • Hi,

    For CCS v20, the On-Chip Flash Tool was moved out of the Tools menu (which no longer exists) into the debug properties. Right-click the intended CPU in the Debug view and navigate to Properties > Flash Settings (Flash Settings is found under the Categories drop-down menu).

    Best,
    Matt