[mc1322x] Contiki hello-world example
Daniel Berenguer
dberenguer at usapiens.com
Tue Jun 8 11:57:13 EDT 2010
Thanks a lot Mar for your fast reply.
I've been able to make the hello-world work a couple of times thanks
to your remarks. However, after re-building the app with some minor
changes (now reverted to the original example) the hello-world app no
longer works. Mar, does the blink example work out of the box too? It
doesn't work in my case either...
Perhaps all this is due to some possible USB problems on my PC so I'm
going to do the test on a different PC and will try to flash the
example through JTAG too.
Daniel.
On 8 June 2010 15:49, Mariano Alvira <mar at devl.org> wrote:
> 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