[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pci] BUS Mastering & TRDY generation ?



Hi Gustaw

I will answer the second question first. The memory space reserved in the
BAR's should be on your own card.

As for your first question, look at signal DEVSEL#. First thing a PCI target
(mainboard) must do is assert that to claim transaction (if you don't get
that then address is no good). Note sometimes mainboards have a long latency
for reads, they tend to terminate transactions with a retry. The PCI card
must then retry (with same address), the second time the mainboard has data.
This scheme works well if PCI card reads a long burst.


----- Original Message -----
From: <Gustaw47@poczta.onet.pl>
To: <pci@opencores.org>
Sent: Monday, June 17, 2002 4:17 PM
Subject: [pci] BUS Mastering & TRDY generation ?


> Hi all,
>
> I try to implement BUS Mastering on my PCI Card.
> The card asserts REQ , Mainboard asserts GNT. Then I invoke addres
> phase : Memory Read + some addres (tried different adresses), IRDY.
> Mainboard still holds GNT (bus is mine) but never asserts TRDY so no
> data can be transferred.
> Finally I must deassert REQ and transaction fails to complete.
>
> What could be a reason that Mainboard doesn't assert TRDY ? I work in
> the simplest enviroment : DOS, Real mode, software in ASM.
>
> The second question is:
> If I use BAR Registers and reserve some MEMORY space for my card,
> where phisically will it be located ? On mainboard's SD-RAM or in my
> card's S-RAM ?
>
> Maybe I post trivial questions, but I didn't find any information about it
> anywhere, even in PCI SIG Specifications ...
>
> Thanks in advance,
> Gustaw Mazurek, Warsaw.
> --
> To unsubscribe from pci mailing list please visit
http://www.opencores.org/mailinglists.shtml
>


--
To unsubscribe from pci mailing list please visit http://www.opencores.org/mailinglists.shtml