blogs

eTPU_C

Checking eTPU_C generated code

| |

Tools in your eTPU toolchain may support you by disassembling eTPU_C-generated code. If they report instructions different than eTPU_C's listing file shows, you may be inclined to verify eTPU_C's output by hand.

eTPU machine code is very complex compared to traditional machine language. As a result, we receive support questions from people who have encountered subinstructions they didn't expect.

Parallelism

|

parallelismIn the comp.arch newsgroup, we've been following a heated discussion about Parallelism. It's focused on the question of designing software to run on multiple cores, either with shared memory or message passing.

We're of the opinion that the compiler can assist the developer in this task. After all, the compiler knows what is (or could be) in memory at any one moment.

printf for embedded

|

There'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:

The stack controversy

|

picture of stacking plates
Just when you think an old misconception is dead...

The "stack/no stack" discussion has arisen again. We've heard renewed
claims that C programs require a hardware stack, and that a software
stack is unacceptably slow. Both ideas are patently false.

Alternative opcodes

|

A support question brought up an interesting optimization topic: alternative opcodes.

We've all heard stories of using undocumented or unofficial opcodes to squeeze out a few cycles' extra performance. It's much easier, not to mention safer, to work within the published instruction set but to approach it in novel ways.

Here's an example:

Fuzzy Logic at MIT

MIT is using Fuzzy Logic to analyze cell function.

A perfectly useful do-nothing statement

C macros are very useful, but a little taxing for both compiler writers and programmers.

C6808

Our view on RS08

|

I just read Jack's editorial on Embedded.com on the RS08 processor. This is a fun little processor.

We did some work on the instruction set design on this processor, and wrote a C compiler for the RS08. This is a remarkable little processor that, in the end, outperformed many people's expectations (including mine).

C6808

Jack Ganssle on RS08

|

Jack Ganssle's latest column in embedded.com reminds us that there is still life in 8-bit architectures.

He mentions the Freescale RS08, which is supported by our C6808 Code Development System.

UPDATE: Jack cites an article on Circuit Cellar by Tom Cantrell, who also talks about RS08.

MPC

Header File Customizations

|

We've started to get some requests for header file support for ICD3, Microchip's new In-Circuit Debugger. There are some differences between ICD3 and previous generations of ICD. These differences are reflected in the device header files Byte Craft Limited issues for MPC.

If you're using MPC with MPLAB and ICD3, please contact Byte Craft Limited for more information about obtaining updated header files.

Syndicate content