[mc1322x] ROM vars

Mariano Alvira mar at devl.org
Thu Apr 15 07:26:25 EDT 2010


On Thu, Apr 15, 2010 at 01:10:35PM +0200, Joaquín Cabezas wrote:
> I'm working with Manuel, he's out for lunch right now.
>
> We've checked out libmc1323 git, not the contiki branches. But seeing  
> both, the only difference is the TARGET_WITH_ROM_VARS variable.
>
> We came to this point because when using TARGET_WITH_ROM_VARS blink_led  
> wasn't working properly. So,
> we found out that the single line:
>
> bl _rom_data_init+.-base
>
>  is preventing our mc13224 from running.
>
> In the contiki branch, this line is allways being executed, and that's  
> why it does not work.
> In the libmc1323 branch, there is the option of disabling it if we don't  
> set TARGET_WITH_ROM_VARS, and that's why
> we are able to run some examples (blink, uart loopback..)

Ok, I understand. 

You probably have a different rev. of the silicon with different entry
points into the ROM. Does your chip have a version number on it (like
v2.0 or v2.1). When you test the freescale stuff which version do you
select?

There is also a revision register, but I don't remember off-hand where
(Probably in CRM or MACA.) The contents of that might be useful.

When I get into the office today I'll see if I can find the v2.0 entry
point for rom_init for you to try.

-Mar.



More information about the mc1322x mailing list