* [U-Boot-Users] Hello World application - Resets the CPU
@ 2005-08-24 12:35 Swapnil Ashok Narkhede
2005-08-24 14:09 ` Andreas Schweigstill
0 siblings, 1 reply; 3+ messages in thread
From: Swapnil Ashok Narkhede @ 2005-08-24 12:35 UTC (permalink / raw)
To: u-boot
I am working on pxa255 processor on Accelent board.
Being ARM architecture, i downloaded the hello_world.bin
using TFTP at 0x0c100000. The entry point is also same for
ARM.But when i try to execute
$ go 0x0c100000 Hello World! This is a test.
i get the following output
>## Starting application at 0x0C100000
>pc : [<0c140388>] lr : [<a30077cc>]
>sp : a2f9fe40 ip : ffffffff fp : 00000000
>r10: 00000000 r9 : 00000000 r8 : a2f9ffdc
>r7 : 00000000 r6 : 00000007 r5 : a2fe02e4 r4 : 0c100000
>r3 : 40100000 r2 : 00000001 r1 : a2fe02e4 r0 : e59ff014
>Flags: nZCv IRQs off FIQs off Mode SVC_32
>Resetting CPU ...
>
>resetting ...
and the cpu resets.
Please guide me what could be the reason for this.
2>Sorry for being stupid in previous posts. But,
where do i find the Netiquette for this mailing list.
Regards,
Swapnil Narkhede
Mob:- 0432025023
Email:- s3092131 at student.rmit.edu.au
School of Computer Science and Information Technology
RMIT University, Melbourne
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Hello World application - Resets the CPU
2005-08-24 12:35 [U-Boot-Users] Hello World application - Resets the CPU Swapnil Ashok Narkhede
@ 2005-08-24 14:09 ` Andreas Schweigstill
2005-08-25 9:42 ` Sam Song
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schweigstill @ 2005-08-24 14:09 UTC (permalink / raw)
To: u-boot
Dear Swapnil!
Swapnil Ashok Narkhede schrieb:
>>## Starting application at 0x0C100000
>>pc : [<0c140388>] lr : [<a30077cc>]
>>sp : a2f9fe40 ip : ffffffff fp : 00000000
>>r10: 00000000 r9 : 00000000 r8 : a2f9ffdc
>>r7 : 00000000 r6 : 00000007 r5 : a2fe02e4 r4 : 0c100000
>>r3 : 40100000 r2 : 00000001 r1 : a2fe02e4 r0 : e59ff014
>>Flags: nZCv IRQs off FIQs off Mode SVC_32
The contents of several registers don't look like typical data
pattern but like ARM instructions. These could either be there
from the copy operations or from improper initialisation of the
stacks or C runtime library. Especially R0 looks like code but
LR can be code, too. LR should always contain an address of
valid code memory; otherwise it really look like a stack
corruption. So please check your stack initialisation and sizes.
And you are aware that variables with function scope are being put
on the stack and not on the heap, are you?
I recommend picking a proper JTAG debugger and steps through your
initialisation code.
With best regards
Andreas Schweigstill
--
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstra?e 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Hello World application - Resets the CPU
2005-08-24 14:09 ` Andreas Schweigstill
@ 2005-08-25 9:42 ` Sam Song
0 siblings, 0 replies; 3+ messages in thread
From: Sam Song @ 2005-08-25 9:42 UTC (permalink / raw)
To: u-boot
> Swapnil Ashok Narkhede schrieb:
> >>## Starting application at 0x0C100000
Before a further debug, pls try "go c100004" first to
see
what would happen:-)
Regards,
Sam
___________________________________________________________
????G???????????????????
http://cn.mail.yahoo.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-08-25 9:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-24 12:35 [U-Boot-Users] Hello World application - Resets the CPU Swapnil Ashok Narkhede
2005-08-24 14:09 ` Andreas Schweigstill
2005-08-25 9:42 ` Sam Song
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox