Re: mc68332 embedded programming problems
- From: Rene Tschaggelar <none@xxxxxxxx>
- Date: Wed, 26 Apr 2006 23:29:09 +0200
Amateur.N7TZG@xxxxxxxxx wrote:
Hi all,
I am trying very unsuccessfully to load my code from my Flash into ram,
and then jump to ram. I am finding 2 issues:
1. I can only load so many bytes to ram before the system resets.
This is not understood. Why does the system reset ?
Is there a watchdog ?
2. when i make a jump to the code in ramspace, the chip wanders off
and gets lost, not knowing where it is going. I have examined ram
memory through the bdm port, and I find that the instructions are there
just before the jump, but it hangs up when I jump.
Yes, this stuff is tricky. Consider interrupts,
consider the stack, what code is loaded to RAM ?
Was the code linked to run at the specified location ?
With absolute or relative jumps within the code ?
Are there segment registers ?
Rene
--
Ing.Buero R.Tschaggelar - http://www.ibrtses.com
& commercial newsgroups - http://www.talkto.net
.
- References:
- mc68332 embedded programming problems
- From: Amateur . N7TZG
- mc68332 embedded programming problems
- Prev by Date: Re: 2N7000's Vgs
- Next by Date: Re: mc68332 embedded programming problems
- Previous by thread: mc68332 embedded programming problems
- Next by thread: Re: mc68332 embedded programming problems
- Index(es):
Relevant Pages
|