eTPU_C
eTPU_C Product News
eTPU | eTPU_CeTPU_C Compiler Update V1.0.7.85
The eTPU C compiler V1.0.7.85 has been released and is available from the customer update depot on Byte Craft's website.
eTPU support for hybrid vehicle development
Submitted by Walter Banks on Wed, 2010-07-21 15:33. eTPU_C | eTPU_C | eTPU_C ProductByte Craft has for the last several months been developing new eTPU
support tools. The eTPU C Code Development System will continue to be
supported for use primarily in automotive engine controllers with
continuing support for eTPU2, new releases and updates.
The last few months we have be visiting customers and outlining some
directions we are adding to our support for the eTPU. Byte Craft is in
the release process of a separate eTPU based tool set that focuses on
other eTPU based applications. Essentially we have been looking at
Freescale eTPU Standard Function Libraries and Function Sets.
Submitted by Walter Banks on Tue, 2010-06-01 14:51. eTPU_C | eTPU_C | eTPU_C Product | Freescale eTPUThe Freescale eTPU standard library and eTPU function sets were developed using Byte Craft tools. Copies of these tools are available as part of Byte Craft eTPU support.
Checking eTPU_C generated code
Submitted by Walter Banks on Wed, 2010-01-27 22:47. assembly | eTPU | eTPU_CByte Craft's eTPU customers generally use several different tools in their eTPU toolchain. The eTPU has a microcoded instruction set that may display the disassembly of the eTPU's instruction in several ways. The following example came from a conversation with a customer about instruction display formats of various tools that support the eTPU.
Byte Craft chose to display the instructions in the listing file as a functional representation of the instructions. In the following example an add with one side of the alu complimented and incremented is displayed as a subtract in our listings which is both functionally correct and a more compact representation.
printf for embedded
Submitted by Kirk Zurell on Thu, 2009-09-24 20:25. C | C6808 | debugging | eTPU | eTPU_C | eTPU_C | RS08There's only so much debugging information an LED or LCD display can report. What's worse, embedding debugging code in the executable can provoke misuse, while stripping it out can cause heisenbugs.
Your C compiler can help manage debugging information for you in a way that doesn't interfere with your product. Here's how:
Some of my code was placed after a jump. Will it ever be reached?
Submitted by Kirk Zurell on Wed, 2009-06-10 15:21. eTPU_CeTPU_C is a pipelined processor. It can sometimes process instructions out of order. An jump takes time to process, so the following instruction can be loaded and executed before the jump takes place.
erta = 23;
020C 1C5F2FFE alu erta = #0x17.
0210 ertb = 45;
0210 1CBF3FBE alu ertb = #0x2D.
0214 channel.ERWA = 0;
channel.ERWB = 0;
channel.MTD = 0;
eTPU2 Support
eTPU2 | eTPU_CByte Craft Limited has supported the eTPU Enhanced Time Processing Unit since its initial release. Our eTPU_C Code Development System offers C language programming support for this high-performance peripheral processor.
The eTPU2 is a true superset of the eTPU. Programs compiled with eTPU_C will run unchanged on eTPU2. The subinstruction field extensions in the eTPU2 use bits marked "reserved" on the eTPU, which are generated with a default value of 1 by the eTPU_C compiler. We've followed the guidelines as defined by the eTPU's original design documents.



eTPU_C:
C6808: