parser.add_option('-a','--acquire',action='store_true',help='Acquire a new page')
parser.add_option('-w','--wrongOnly',action='store_true',help='Only dump/plot the turns whose CRC does not match (i.e. wrong ones)')
parser.add_option('-s','--skipFirstPage',action='store_true',help='Skip the first page to avoid problems with old values in FIFO when using gateware without DDR')
parser.add_option('-d','--device',default='0x8100',help='Device ID (see dmesg for the list)')
parser.add_option('-n','--numberPages',type=int,default=1,help='Number of pages to check')
parser.add_option('-p','--pagesize',type=int,default=2*1024*1024,help='Size of the page (i.e. kmalloc size in the driver).')
parser.add_option('-D','--dump',action='store_true',help='Dump each turn data into a file, one word per line in hexadecimal (requested by Javier)')
parser.add_option('-f','--filename',default='page.txt',help='Name of the file where the page will be saved')