Skip to content
Snippets Groups Projects
Commit 3ee18993 authored by Patrick Robbe's avatar Patrick Robbe
Browse files

Increase size of DMA buffer to 0x10000

parent 9cd7de7b
No related branches found
No related tags found
1 merge request!56links
......@@ -3,14 +3,14 @@
#define ALTERA_DMA_DESCRIPTOR_NUM 4
#define DMASIZE 0x2000
#define DMASIZE 0x10000
//#define ALTERA_STATUS_FIFO_DATA 0x50120
//#define ALTERA_RESET_FIFO_DATA 0x50100
#define ALTERA_STATUS_FIFO_DATA 0x0
#define ALTERA_RESET_FIFO_DATA 0x0
#define ALTERA_MEM_MAIN_BUF0_START 0x200000
#define ALTERA_MEM_MAIN_BUF0_SIZE 0x1FFF
#define ALTERA_MEM_MAIN_BUF0_SIZE 0xFFFF
#define ALTERA_MEM_MAIN_BUF1_START 0x202000
#define ALTERA_MEM_MAIN_BUF1_SIZE 0x1FFF
#define ALTERA_MEM_MAIN_BUF2_START 0x204000
......
......@@ -2,7 +2,7 @@ from ctypes import *
b2 = CDLL("libpcie40.so")
dma_reset = b2.pcie40_b2dmabufferreset
dma_read = b2.pcie40_b2dmabufferread
DMASIZE = 0x2000
DMASIZE = 0x10000
nErr = 0
......
......@@ -2,7 +2,7 @@ from ctypes import *
b2 = CDLL("libpcie40.so")
dma_reset = b2.pcie40_b2dmabufferreset
dma_read = b2.pcie40_b2dmabufferread
DMASIZE = 0x2000
DMASIZE = 0x10000
import os
import socket
......
......@@ -2,7 +2,7 @@ from ctypes import *
b2 = CDLL("libpcie40.so")
dma_reset = b2.pcie40_b2dmabufferreset
dma_read = b2.pcie40_b2dmabufferread
DMASIZE = 0x2000
DMASIZE = 0x10000
nErr = 0
currentEventIndex = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment