Login

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.

ARM Community: Monitor AXI bus lock-up? - ARM Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Monitor AXI bus lock-up? Rate Topic: -----

#1 User is offline   sigsegv11 

  • Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 20-September 11

Posted 20 September 2011 - 08:14 AM

Dear Friends,

For multi-master/multi-slave AMBA, Is it possible to detect AXI bus lock up? And how to do that (either by software or hardware)?

Thanks & Regards
Baojun
0

#2 User is offline   JD 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 260
  • Joined: 17-November 06

Posted 21 September 2011 - 10:11 AM

Baojun,

You would need to monitor the ready and valid signals on the various AXI buses to detect when transactions stop completing, which "might" then indicate the bus has locked up.

Note that I only say "might", the AXI spec doesn't state that a transaction must complete within a defined number of cycles, so the number of cycles you choose to indicate possible lock up would depend on what your masters and slaves normally take to complete transfers.

So this counting of cycles from valid being driven high to when ready is then sampled high and the transfer handshake completes could be implemented by a hardware block (some sort of watchdog timer) if you were worried about possible lock ups, and I guess you could also implement this in software.

JD
1

#3 User is offline   Vaibhav Malik 

  • Member
  • Pip
  • Group: Members
  • Posts: 24
  • Joined: 06-August 11

Posted 26 September 2011 - 05:32 AM

I agree and just to add a quick note, the dependencies between the channel handshake signals can be helpful to track. This helps to prevent a deadlock situation.

View PostJD, on 21 September 2011 - 10:11 AM, said:

Baojun,

You would need to monitor the ready and valid signals on the various AXI buses to detect when transactions stop completing, which "might" then indicate the bus has locked up.

Note that I only say "might", the AXI spec doesn't state that a transaction must complete within a defined number of cycles, so the number of cycles you choose to indicate possible lock up would depend on what your masters and slaves normally take to complete transfers.

So this counting of cycles from valid being driven high to when ready is then sampled high and the transfer handshake completes could be implemented by a hardware block (some sort of watchdog timer) if you were worried about possible lock ups, and I guess you could also implement this in software.

JD

1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic