URL
https://opencores.org/ocsvn/s6soc/s6soc/trunk
[/] [s6soc/] [trunk/] [sw/] [host/] [readflash.cpp] - Diff between revs 11 and 45
Show entire file |
Details |
Blame |
View Log
Rev 11 |
Rev 45 |
Line 70... |
Line 70... |
FILE *fp;
|
FILE *fp;
|
const int BUFLN = DUMPWORDS;
|
const int BUFLN = DUMPWORDS;
|
FPGA::BUSW *buf = new FPGA::BUSW[BUFLN];
|
FPGA::BUSW *buf = new FPGA::BUSW[BUFLN];
|
|
|
char szSel[64];
|
char szSel[64];
|
strcpy(szSel, "SN:210282768825");
|
strcpy(szSel, S6SN);
|
m_fpga = FPGAOPEN(szSel);
|
m_fpga = FPGAOPEN(szSel);
|
|
|
fprintf(stderr, "Before starting, nread = %ld\n",
|
fprintf(stderr, "Before starting, nread = %ld\n",
|
m_fpga->m_total_nread);
|
m_fpga->m_total_nread);
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.