[mc1322x] Contiki hello-world example

Mariano Alvira mar at devl.org
Tue Jun 8 09:49:38 EDT 2010


On Tue, Jun 08, 2010 at 03:14:34PM +0200, Daniel Berenguer wrote:
> Should the Contiki (MASTER) examples work out of the box for the EconoTag?
> 
> I've compiled the hello-world example with make
> TARGET=redbee-econotag. The compilation completes just fine. However,
> loading the binary (hello-world.redbee-econotag) 

That's not the binary, that's the elf. Do:

make TARGET=redbee-econotag hello-world_redbee-econotag.bin

and use the .bin.

I tested hello-world yesterday --- it should work.

> produces no output on UART1 or UART2 (115200 bps). I've also tried
> to blink the green led from a second process_thread but no luck. I'm
> obviously missing some important step so any help is
> appreciated. I've got null knowledge about the code so I'm feeling
> myself

It's on UART1. If you have a single econotag hooked up, JTAG is the
first device (e.g. /dev/ttyUSB0) and UART1 is the second
(e.g. /dev/ttyUSB1).

> unable to find the custom implementation of printf for the
> econotag...

I'm using the stuff in the arm cpu:

contiki-mc1322x/cpu/arm/common/dbg-io

> I've also tried to browse the mailing list but, as far as it's not
> searchable, it's been difficult to find anything there.

In google, this should work:

site:http://devl.org/pipermail/mc1322x/ foo

Good luck!

-Mar.



More information about the mc1322x mailing list