Re: Bfill in memset
- From: karthikbalaguru <karthikbalaguru79@xxxxxxxxx>
- Date: Tue, 14 Aug 2007 09:45:12 -0700
Thx for the info provided . Looks very helpful.
1) does the target hang or crash?It Hangs. It goes to standstill. It does not reboot.
2) if crash, what exception occurs, and supply all information youOk.
know about the exception.
3) if hang, how do you know what the program counter is?Whenever i reboot my application once it goes in to deadlock or
unknown state, i print the corresponding
Program Counter values, Stack , Heap Memory details in a log
file .
I was able to get the Program Counter by downloading the log
from the external Flash Memory of my device.
After that, i searched for the same Program Counter value in
MAP file and identified the API or place at which my
application breaks.
4) as always, what version of vxworks are you using?5.2
5) your target is obviously a PPC, which one?Yes , It is PPC 862
What debug tools do you have available?Yes.
Just Tornado?
WRICE or other JTAG based debugger?Due to various technical reasons, Currently, I cannot JTAG .
So, Lets forget JTAG for this activity.
Do you understand your target memory map well enough to recognize anYes
invalid pointer if you see one?
If so, you could write your own memset function and check all incomingThis sounds interesting. Maybe, I can give a try in this
pointers.
If you find a bad one, branch to some code where you've planted a
breakpoint or force a stack trace to be printed to the terminal.
direction.
Ok, I will start writing my own memset function and check all
incoming pointers .
Thx for the info provided . Looks very helpful.
Any other ideas /links /pdfs /docs w.r.t this bfill in memset ?
Thx in advans,
Karthik Balaguru
.
- References:
- Bfill in memset
- From: karthikbalaguru
- Re: Bfill in memset
- From: gvarndell
- Re: Bfill in memset
- From: karthikbalaguru
- Re: Bfill in memset
- From: gvarndell
- Bfill in memset
- Prev by Date: Re: TCP/IP Stack in VxWorks
- Next by Date: Re: TCP/IP Stack in VxWorks
- Previous by thread: Re: Bfill in memset
- Next by thread: Question about PC exception
- Index(es):
Relevant Pages
|