[mc1322x] "atoi" oversize

Jon Smirl jonsmirl at gmail.com
Sat Jul 3 22:18:20 EDT 2010


On Sat, Jul 3, 2010 at 8:35 PM, Mariano Alvira <mar at devl.org> wrote:
> 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.

Are you putting them into the Freescale reserved block where they keep
their factory tuned parameters? I thought that block was preserved
across an erase command.  We'd need enough of the ROM disassembled to
make sure were aren't stomping on Freescale data but I think they
hardly use any of the block.

My original dev boards didn't have addresses in them. Which program
are you using to write them?

>
> -Mar.
>



-- 
Jon Smirl
jonsmirl at gmail.com



More information about the mc1322x mailing list