[mc1322x] uart1-loopback example. Modification for mc1322x-SRB
Mariano Alvira
mar at devl.org
Mon Mar 29 08:47:09 EDT 2010
On Mon, Mar 29, 2010 at 12:47:39PM +0200, Manuel Macías wrote:
> Ok, I´ve loaded hello-world but it does nothing. Maybe it could be
> something related to the xtal? Can these redbee-dev examples work in the
> freescale mote?
> I´ve try to compile de blink example of the mc1322x-2.4 branch but it
> doesn´t. This is the one you tried to build?
>
As I mentioned before, the blink example doesn't build anymore on my
branches. Hello world should work, but I haven't tried it
recently. I've changed how the GPIO interface is working so I'm not
surprised that blink doesn't work anymore. It isn't part of mainline
contiki anyway so I'll probably remove it (same with the old
linux802154 driver).
I don't know off-hand if your boards have a 32KHz crystal or
not. Depending on you contiki configuration, it may be trying to
enable it. This will block if your board does not actually have the
crystal. See USE_32KHZ_XTAL.
I don't know how the GPIO hookups compare with your board. They are
easy to configure in the ~/board directory. I don't know which uart
you are trying to use. All the boards in there now use uart1.
I do most of my Contiki testing on rime/example-abc,
rime/example-mesh, rime/example-collect. In the WIP-2.4 branch:
udp-ipv6, and webserver-ipv6. I'm focusing on those since RIME and UIP
are the main reasons to use Contiki. I can help more if you try one of
those.
-Mar.
More information about the mc1322x
mailing list