problem in debugging in startup code

Hi All,

I have writen IPL & Startup code for PXA255 processor.I am able
to debug untill MMU is enabled.The flow of the code is correct.I am
able to debug upto the cstart.S where MMU is enabled.After this
nothing is coming.

So, anybody can help me out ,how to debug after MMU is enabled in
cstart.S


thanking you,

regards
Anthony

Anthony,

Hardware debuggers will not work after the MMU has been enabled;
however, there should be no need to debug the startup library
code that is not board-specific; you could try putting a
kprintf in your startup’s main.c, just after the call to
select_debug():

kprintf(“in startup main…\n”);

If you see that output, then you can start sprinkling kprintf’s
throughout your startup code, to figure out where things are
going wrong.

Dave


anthony <sashi_1432002@yahoo.co-dot-in.no-spam.invalid> wrote:

Hi All,

I have writen IPL & Startup code for PXA255 processor.I am able
to debug untill MMU is enabled.The flow of the code is correct.I am
able to debug upto the cstart.S where MMU is enabled.After this
nothing is coming.

So, anybody can help me out ,how to debug after MMU is enabled in
cstart.S



thanking you,

regards
Anthony

David Green (dgreen@qnx.com)
QNX Software Systems Ltd.
http://www.qnx.com