Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Data abort

Data abort

2005-04-12 by jones3hsu

I have project to use LPC2214 ,
but I found sometime i will got Data abort.
I use F10 to run the function call is ok ,
but if i use F8 to step the function,
i will got Data Abort when run return instruction,
I found the mechine code is ldmfd r13!,[r4,r10,sp],
and R13 is not correct , when occur data abort (it seems just shift 4 
bits),

anyone have this kind of experiance ?

Re: [lpc2000] Data abort

2005-04-14 by Michael Anburaj

Hi,

Do you have a proper initialization assembly code to
initialize the stack pointers in different processor
modes to valid RAM addresses??

If not check the code under LPC HAL in the ucos port
(works for ADS, SDT & GCC):
http://www.geocities.com/michaelanburaj/downloads/arm_ucos_1.14.zip


Cheers,
-Mike.

--- jones3hsu <jones3hsu@...> wrote:
> 
> I have project to use LPC2214 ,
> but I found sometime i will got Data abort.
> I use F10 to run the function call is ok ,
> but if i use F8 to step the function,
> i will got Data Abort when run return instruction,
> I found the mechine code is ldmfd r13!,[r4,r10,sp],
> and R13 is not correct , when occur data abort (it
> seems just shift 4 
> bits),
> 
> anyone have this kind of experiance ?
> 
> 
> 
> 
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

Re: [lpc2000] Data abort

2005-04-17 by 42Bastian Schick

jones3hsu

> I have project to use LPC2214 ,
> but I found sometime i will got Data abort.
> I use F10 to run the function call is ok ,
:-) Debugger ???

> but if i use F8 to step the function,
> i will got Data Abort when run return instruction,
> I found the mechine code is ldmfd r13!,[r4,r10,sp],
> and R13 is not correct , when occur data abort (it seems just shift 4
> bits),

To me the opcode looks strange. IIRC the base register should no appear in 
the
register-list if update is enabled. The result is unpredictable.


-- 
42Bastian Schick

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.