2008-04-20 21:06:17     about the "hardware debug trace" information

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-04-20 21:06:17     about the "hardware debug trace" information

Young Kyle (CHINA)

Message: 54571   

 

I want to  used hardware trace infomation to find out the"mialigned access " fault in the source code.

But the hardware trace record was't show on the terminal ttyS0 on the host,when  my  program is error exit.

thus the document mentions that:

"One feature of the Blackfin that comes in handy is the hardware trace buffer. The cpu automatically tracks the last 16 code flow changes in this buffer. When an application crashes and the kernel catches it, the hardware buffer will automatically be displayed. "

 

I want to know how to configure the bf537 and kernel that can display the hardware trace buffer and using it .

what is the hardware trace buffer infomation related to?

 

Are  there other ways to debug the error "misaligned access"?

 

the kernel version is bf537_2005R3

the bfin-uclinux-g++ version is 3.4.4

and complie options is -g -elf2flt -O3

QuoteReplyEditDelete

 

 

2008-04-20 21:22:57     Re: about the "hardware debug trace" information

Mike Frysinger (UNITED STATES)

Message: 54572    the versions you're using are ancient (2005R3).  use the latest release (2008R1).

QuoteReplyEditDelete

 

 

2008-04-20 21:38:26     Re: about the "hardware debug trace" information

Young Kyle (CHINA)

Message: 54573    thanks for mike ,I try to  use the newly version but it's kernel image is  too big for me ,would you tell me the oldest version of uclinux dist which have 'hardware debug trace' function ?

QuoteReplyEditDelete

 

 

2008-04-20 21:50:22     Re: about the "hardware debug trace" information

Mike Frysinger (UNITED STATES)

Message: 54574    we dont track such information

 

the docs reflect the latest version and that is the version we support

QuoteReplyEditDelete

 

 

2008-04-20 22:00:20     Re: about the "hardware debug trace" information

Young Kyle (CHINA)

Message: 54575   

 

ok, so anohter question I want to ask you , Is it easy for  the version that you support  to be  cut down below 3M szie?

QuoteReplyEditDelete

 

 

2008-04-20 23:26:21     Re: about the "hardware debug trace" information

Mike Frysinger (UNITED STATES)

Message: 54581    any version can be slimmed down ... simply turn off the things you dont need

QuoteReplyEditDelete

 

 

2008-04-20 23:52:23     Re: about the "hardware debug trace" information

Young Kyle (CHINA)

Message: 54585    thanks ,I will try it as you said.

Attachments

    Outcomes