Unlock TMS320F28075 Microcontroller Firmware

The TMS320F28075 is where the C2000 security model changed shape. Five hundred and twelve kilobytes of error-correcting flash, a hundred kilobytes of RAM, a hundred and twenty megahertz, a trigonometric unit, a control law accelerator, an external memory interface and a USB port, and a dual-zone code security module that behaves nothing like the single password of the previous generation. Everything that was one question on a 2808 is now three, and the answers live in one-time-programmable memory rather than in the array.

Two zones and what each owns

Zone one and zone two each have their own hundred and twenty-eight bit password and their own protected resources. Each zone owns certain flash sectors, certain RAM blocks, the accelerator, and its own secure read-only memory. A resource belongs to exactly one zone, and the assignment is made by link pointers programmed into one-time memory rather than by wiring. That is the crucial difference: the same silicon can be configured at production time with a partition chosen by the customer, and the partition cannot be changed afterwards because the pointer is in OTP.

Why a third- party model needs this

A product that incorporates a licensed motor-control library has two secrets that must not leak into each other. The library vendor does not want the customer reading its algorithms; the customer does not want the vendor reading its application. Dual zones make that possible on one die, and the OTP link pointers record which is which. When such a device arrives for recovery, the two zones may have different owners and different passwords, and work cannot begin until someone establishes who is entitled to which zone. That conversation happens before any tool is connected.

Error correction changes what a dump means

The flash on this device is protected by error-correcting codes, and the RAM can be configured for correction or for parity. Reading the array returns data words with their check bits handled by hardware, which is convenient until it is not: a cell that has drifted produces a corrected word and a flag, and a cell that has failed produces an uncorrectable error that stops the access. A recovered image from a device that has been in the field for years may therefore contain regions that read correctly and regions that refuse, and the difference has to be reported rather than smoothed over. A binary with silent corrections is a binary that will fail differently on a new device.

The unique identifier

This generation introduced a per-device identifier, readable by software. It is used for licence binding, for key derivation and for the kind of anti-cloning measure that makes a copied image useless on a different die. Any recovery on this part has to account for it: firmware that checks the identifier will run on the original and refuse on a clone, and the check is usually a comparison followed by a branch that is easy to find and easy to defeat once it has been identified. Customers who intend to build replacements need to know that this step exists before they budget for it.

Practical unlocking

Each zone is unlocked independently by the standard match flow: dummy reads of that zone’s password words, then the eight values into the key registers with write protection lifted. Because the key registers are shared, unlocking zone one and then resetting does not help zone two; the flows have to be run per zone, in the right order, without an intervening reset. Where a password is lost, the link pointers in OTP tell you which sectors are out of reach, and that map is the first deliverable of any physical approach. The work is described at IC decapsulation service.

Related parts

The next generation down in memory is TMS320F28069, and its accelerator-equipped sibling is TMS320F28035. The dual-zone idea first appeared in this family at TMS320F28050, and the single-zone hundred megahertz parts that preceded it are at TMS320F2808. For the surrounding service see microcontroller unlock service and chip reverse engineering service.