Kirk Zurell's blog


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:

Fuzzy Logic at MIT

MIT is using Fuzzy Logic to analyze cell function.


Jack Ganssle on RS08


Jack Ganssle's latest column in 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.


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.


IEC 61131 and Fuzz-C

| |

We've just posted a new paper that compares IEC 61131 fuzzy logic constructs and Fuzz-C additions to C for embedded systems. If you're moving from programmable logic controllers to C for embedded systems, this paper shows the similarities and differences between the two.

Read the paper here.

C Traps

C Traps and Pitfalls by Andrew Koenig is an interesting compilation of C-isms: quirks of the C language that can impact the programs you write.

Reading C type declarations

This article gives a plain-language way to read type declarations.

A volatile topic

Here's an interesting writeup about the C keyword volatile.

Our demos: odd setup issue

Have you tried to install one of our demos only to find a completely different setup program starts to run?


When is a branch not a branch?

| |

I recently got an interesting code sequence out of the compiler.

Syndicate content