Clone TMS320F2809ZGMA MCU Memory Program

The TMS320F2809ZGMA is the top of the hundred megahertz C28x range and the only member of it with a twelve point five million sample converter: eighty nanoseconds per conversion where its siblings take a hundred and sixty. A hundred and twenty-eight kilowords of flash, eighteen kilowords of RAM, six modulation units with six high-resolution channels, and a hundred-ball grid array under the ZGM suffix. The package and the converter are the two facts that decide how a clone of this device is planned.

The converter that identifies the die

Eighty nanoseconds against a hundred and sixty is not a configuration option. It is a different analogue subsystem, and it appears in firmware as a different set of timing constants around the sample-and-hold and the conversion start. When a customer sends an image and asks whether it came from a 2808 or a 2809, the answer is usually in those constants. This matters for cloning because the two parts are pin-compatible in the same package and a board may have been built with either, depending on what the purchasing department could find in 2009.

One block outside the perimeter

Eighteen kilowords of RAM is more than the security module covers. L0, L1, M0 and M1 are inside it; H0 is not. H0 is the largest single block on the device, and it is where a design that needs a big working buffer puts one: an acquisition window, a communication ring, a table staged at start-up. A locked 2809 therefore leaks more through its unprotected memory than any other part of its generation, and the first hour of a recovery project is spent working out whether the product used H0 and for what.

Ball grid array

A hundred-ball array is a different proposition from a leaded package. There are no leads to lift, the die is flipped or wire-bonded beneath a substrate, and the whole device is a sandwich that has to be thinned from the top before anything is visible. Preparation is slower, the risk of losing the sample is higher, and the imaging has to be planned before the first cut. This is why the ZGM suffix matters in a quotation: the same silicon in a hundred-pin quad flatpack costs less to open than the ball grid version, and a customer with a choice of donor boards should be told so.

Hundred and twenty-eight kilowords of flash

Two hundred and fifty-six kilobytes is a lot of code for a motor drive, and in practice it is never all code. It is the application, the library, the tables, the bootloader, and the two sectors reserved for emulated EEPROM. Recovering it means delivering a file whose sector map is annotated, because the customer’s production programmer will erase by sector and a mistake there costs a device. It also means that a partial read is a realistic outcome: if a physical preparation only yields three quarters of the array, the fraction that matters is usually inside it, and saying so honestly is more useful than promising a complete image and delivering a truncated one.

What a clone needs beyond the image

Three things. The password, if the new device is to be protected in the same way, which means a decision about whether the customer wants protection at all. The OTP block, which on a 2809 often holds a serial number and a build code that the firmware reads. And the emulated-EEPROM contents, which are not code and represent the state of one unit. A clone without the last two runs but reports the wrong identity and starts with default parameters, which in a drive means a commissioning visit.

Related devices

The sixty-four kiloword sibling with the slower converter is TMS320F2808, and the smaller members of the generation are TMS320F2806 and TMS320F2806PZS. The later Piccolo generation begins at TMS320F28035. For the cloning service see IC clone service, and for the package work IC decapsulation service.