[mc1322x] Newbie Question
Mariano Alvira
mar at devl.org
Fri Dec 18 18:46:14 EST 2009
On Fri, Dec 18, 2009 at 06:32:58PM -0500, Andrew Ashworth wrote:
> Hey guys,
>
> I just started playing with the MC1322x in my spare time, and I was reading
> that the ROM code is modified by code in RAM. If I'm understanding this right,
> then whenever an interrupt is called some RAM values might be changed and there
> would be no way for the user to know about this. What does the ROM do if all
> the RAM is allocated? Or am I off base completely?
> http://www.gadgetworks.com/node/5
The way the rom "patching" works is the ROM functions have callbacks
in RAM. See this mail for details:
http://devl.org/pipermail/mc1322x/2009-July/000015.html
If you are just playing around then I wouldn't get in to it. Just set
up the patch vectors to return and you can use the ROM code as is. It
helps to have a debugger going if you are going to fool around with
the ROM stuff.
A good place to start playing is mc1322x-tests. There are bunch of
simple programs in there that use timers, interrupts, send data
with the radio, program the NVM.
-Mar.
More information about the mc1322x
mailing list