[mc1322x] "atoi" oversize

Mariano Alvira mar at devl.org
Sun Jul 4 09:34:27 EDT 2010


On Sat, Jul 03, 2010 at 10:18:20PM -0400, Jon Smirl wrote:
> 
> 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.

No, they are using the entire 0x1F000 page. I've been using
0x1E000. It's 128kB. You need potentially 96kB for the image and the
cal data is 4kB. That leaves 28kB for your own use.

They "protect" the page they use with the set_svar call --- normally
you can't read or write it. They don't do that with any other pages so
I assume they are free to use. 

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

The econotag contiki platform does this. I haven't merged the dev
platform yet --- but you can just run the econotag build on the dev
board and it will flash an address.

-Mar.



More information about the mc1322x mailing list