Check SP605_LX45T_WISHBOBE

Added by Dmitry Smekhov over 4 years ago

I create new version: http://src.ds-dev.ru/files/sp605_lx45t_wishbone_2013_07_26_v1_0_build_01.zip
Please check it.

Program: wb_test
Driver: pexdrv from head revision
I expect result: http://ds-dev.ru/projects/ds-dma/wiki/WB_TEST_en


Replies (8)

RE: Check SP605_LX45T_WISHBOBE - Added by Renato Sampaio over 4 years ago

Hi,

I ran the test against a Ubuntu 32-bit (4GB Memory) and some configurations must be wrong because right on start the test application doesn't read the TEST_CHECK and TEST_GENERATE block successfully. The BLOCK_IDs returned are x006F and x0200.
The test itself reported BLOCKs written but nothing received (log is attached).

I used all code from head revision and put together this configuration file using your expected output:

CntBuffer  8
CntBlockInBuffer  1
SizeBlockOfWords  262144
isCycle  1
isSystem  1
isAgreeMode  1
strmNo  1
isTest  2
FifoRdy  1
Cnt1  0
Cnt2  0
DataType  6
DataFix  1

AMBPEX50 process info output suggests no interrupt generated (as expected, since no results were obtained):

  Capability pointer: 0x40
  Capability ID: 0x7e034801
  Capability ID: 0x805805
  Capability ID: 0x10010

  PCI Express Capability Register Set

  0x58:  0x10010
  0x5c:  0x5908FC0
  0x60:  0x2800
  0x64:  0x3F411
  0x68:  0x10110040
  0x6c:  0x0
  0x70:  0x0
  0x74:  0x0
  0x78:  0x0

  Device information
  m_TotalIRQ = 0

  PE_EXT_FIFO 4

  BLOCK_ID = 18
  BLOCK_VER = 103
  FIFO_ID = 3400
  FIFO_NUMBER = 0
  RESOURCE = 2
  DMA_MODE = 0
  DMA_CTRL = 0
  FIFO_STATUS = a100
  FLAG_CLR = 10
  PCI_ADRL = 3000
  PCI_ADRH = 0
  LOCAL_ADR = 3000

  PE_EXT_FIFO 5

  BLOCK_ID = 18
  BLOCK_VER = 103
  FIFO_ID = 3400
  FIFO_NUMBER = 1
  RESOURCE = 2
  DMA_MODE = 0
  DMA_CTRL = 0
  FIFO_STATUS = a100
  FLAG_CLR = 10
  PCI_ADRL = c000
  PCI_ADRH = 0
  LOCAL_ADR = 3000

I'll test with the 64-bit Ubuntu and report here.

test_gen.log (2 kB)

RE: Check SP605_LX45T_WISHBOBE - Added by Dmitry Smekhov over 4 years ago

Hi,
Thank you. There is error to access to registers. But DMA core runs correctly. It read a correct descriptor(FIFO_STATUS= a100).

RE: Check SP605_LX45T_WISHBOBE - Added by Renato Sampaio over 4 years ago

No problems! I tested it on the 64-bit Ubuntu and the results were exactly the same as on 32-bit environment(except for 64-bit addressing).

But, interestingly, first I accidentally used the revision 9 driver and got erroneous data, but still data (interrupts were raised)!
I don`t know if this helps, but I`m attaching the log if you want to see.

test_gen.log (5.1 kB)

RE: Check SP605_LX45T_WISHBOBE - Added by Igor Kazinov over 4 years ago

New version tested. Test configuration: SP605 devkit + DELL-Studio-XPS-8100 + kubuntu-12.04.2-desktop-amd64.iso + SVN rev39 (SW).
Result - PCIE activity absent (based on program information).
Log file attached.

logv39_00.txt (8.8 kB)

RE: Check SP605_LX45T_WISHBOBE - Added by Dmitry Smekhov over 4 years ago

There is a error of read register. I try to set frequence to 125/2 = 62,5 MHz

RE: Check SP605_LX45T_WISHBOBE - Added by Dmitry Smekhov over 4 years ago

Hi
New version: http://src.ds-dev.ru/files/sp605_lx45t_wishbone_2013_08_02_v1_0_build_02.zip
I set wb_clk to 32 MHz.
Please check it.
All test is complete.
All timing is complete.

global_tc_summary.log - result of tests (134 Bytes)

sp605_lx45t_wishbone_postpar.twr - timing result (7.5 kB)

RE: Check SP605_LX45T_WISHBOBE - Added by Igor Kazinov over 4 years ago

Hi Dmitry,
I tested new FPGA design with SVN rev39 SW and have same results - PCIE activity absent (based on program information). I have same test hw configuration.
Please look log in attach.

RE: Check SP605_LX45T_WISHBOBE - Added by Dmitry Smekhov over 4 years ago

GEN_CTRL=0x0000 - error;

read register - ok
write register - error

(1-8/8)