12-08-2009 09:43 AM
12-09-2009 03:56 AM
1. Is your card recognized, opened properly?
(CreateFile returning a valid handle)
2. If you write to a register address and read back the value; do they match?
12-09-2009 04:38 AM
My card is recognised and opened. and I'm compiling all lines of VBasic project and I can call all those function from it's dll.
I've could write and read to/from all physical memory registers in core and when I read back all values, they are match with
every things which I wrote.
In the new version of xapp1052, dll and exe code project are abailable and we can compile and then open the driver and call
all functions easily.
but I don't know why, when I set a pattern to the write pattern register in order to send TLP's of that pattern to specific place
of pc memory or ram (although we have address of pc memory in write address register) I can not see desired size or value !!?
I got disoppointed.
12-09-2009 05:38 AM
So you busmaster some packets from the card to the PC RAM, and they don't arrive?
I can't help you with xapp specific problems, as I'm not using it. (we are writing our own stuff), but
you should try and check with chipscope that the packets are actually sent and the memory address of the TLP is right...
12-09-2009 05:55 AM
I did't change original verilog or GUI code and we should except to see correct pattern in value of "write address register" lacated in pc ram,
after setting pattern and start dma.
do chiposcop show us address of pc memory(ram) and it's values?
12-09-2009 06:25 AM
Using the right trigger and data you can see the bus-master TLP packets (DMA write) content.
(try triggering the trn_tsof/trn_td first...)
There is a value in the packet header which specifies the address where to write it (in PC RAM). If thats OK, then the error could be on the driver or the application level...