- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Access to BAR0 freezes PC?!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-10-2009 08:33 AM
Hello,
I'm using the PCI Bridge core to interface microblaze with my PC via PCI. I have created a simple EDK software app that simply writes a value to the PLB register that is translated to the PCI BAR0 address. I want to read this value with my computer. So, after I have my design in PROM, i connect the board to my PC and it's recognized as CoProcessor. Everything ok untill here. The problem is that when I run PCI Tree or WinDriver to read the contents of the BAR0, the computer freezes.
Have any1 got this problem?
Best,
JM
Re: Access to BAR0 freezes PC?!
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-11-2009 12:05 PM - edited 11-11-2009 12:06 PM
Hi
I have concluded that the problem is in my SW. I'm writing to bar0 using an integer pointer:
int *address_wr = XPAR_PCI_BRIDGE_IPIFBAR_0;
*address_wr = 0x0000000F;
If I DO remove these lines, i can read the PCI BAR0 with PCITree in my PC without freeze, however it returns zero (as it should).
Why can't I write to the PCI port this way? How should I do it?
Best,
JM











