[mc1322x] "atoi" oversize

Mariano Alvira mar at devl.org
Sat Jul 3 20:35:32 EDT 2010


On Sat, Jul 03, 2010 at 06:20:11PM -0400, Jon Smirl wrote:
> On Sat, Jul 3, 2010 at 5:02 PM, Joakim Eriksson <joakime at sics.se> wrote:
> 
> Mar, does Redwire own an 802.15.4 MAC address block? They are
> different than an Ethernet block since they are 8 instead 6 digits.

Yes. The EUI64 802.15.4 uses is derived from the OUI or IAB blocks the
IEEE hands out (the "ethernet" ones). I follow the method for
generating a EUI64 from the block redwire has. (see contiki-conf.h and
contiki-mc1322x-main.c in the econotag platform).

> 
> If so you could put them into the reserved area of the flash.

That's how it is working now. If you do not change the values in
contiki-conf.h you get a random Redwire EUI64 that is flashed. So it
won't change unless you erase the part. You can tell it not to flash
or you can use your own OUI or IAB.

-Mar.



More information about the mc1322x mailing list