Best way to debug GPIF application
Anonymous
Not applicable
Sep 12, 2011
03:39 AM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Sep 12, 2011
03:39 AM
Question: What is the best way to debug GPIF application?
Answer:
The recommended way to debug any GPIF application is to use a logic analyzer to examine the peripheral interface. Also, turn on the GSTATE bit in the IFCONFIG register to allow you to use PA[2:0] as a way of monitoring the state of the GPIF engine. This in conjuction with monitoring the DONE bit in the IDLECS register will tell you what state the GPIF is locking up in, etc. It's also a good idea to use vendor commands that return the value of the xTC registers, IDLECS, etc. This is a less intrusive way of monitoring register values than the Keil debugger.
- Tags:
- usb controllers
Rate this article:
Contributors
-
This widget could not be displayed.Anonymous