[CCC DEV] The transterpreter and die(..)

Omer Kilic omer at concurrency.cc
Wed Jul 14 21:30:59 BST 2010


Hi Drew,

Michael Pirrone-Brusse wrote the following on/at 14/07/2010 21:23:
>     My gut reaction - and a solution Matt seemed to think of and dismiss 
> faster than I did - was using serial to print those message. Obvious 
> problem is if serial hasn't been setup, nothing gets printed. Even worse 
> is if a device that isn't your computer is hooked up to the serial port, 
> and all of a sudden it gets clobbered by a fun little string while 
> you're trying to figure out why the lights stopped blinking...
> 
>     If anyone has any better thoughts on getting them die messages 
> printed, I'd greatly appreciate a shout,

Not sure how useful this will be but a very common solution to this in 
the embedded world is to use a single output pin, which can be hooked up 
to an LED (i.e: Pin 13), to 'signal' messages in the form of blinks.

It's not as verbose as a serial output, but as long as you define a few 
distinct 'signals' you should be able to debug things easily.


HTH,
Omer.




More information about the developers mailing list