Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

03/14/17 [imagej-elphel][dct] by AndreyFilippov: separating with flaps

Elphel GIT logs - Tue, 03/14/2017 - 10:01
AndreyFilippov committed changes to the Elphel git project :
separating with flaps

03/14/17 [imagej-elphel][master] by AndreyFilippov: separating with flaps

Elphel GIT logs - Tue, 03/14/2017 - 10:01
AndreyFilippov committed changes to the Elphel git project :
separating with flaps

03/13/17 [imagej-elphel][dct] by AndreyFilippov: next snapshot

Elphel GIT logs - Mon, 03/13/2017 - 15:48
AndreyFilippov committed changes to the Elphel git project :
next snapshot

03/13/17 [imagej-elphel][master] by AndreyFilippov: next snapshot

Elphel GIT logs - Mon, 03/13/2017 - 15:48
AndreyFilippov committed changes to the Elphel git project :
next snapshot

Template:Cad5

Wiki Recent Changes - Mon, 03/13/2017 - 12:39

← Older revision Revision as of 18:39, 13 March 2017 Line 7: Line 7:  {| border="0" cellpadding="2" {| border="0" cellpadding="2"  |- |- −|[[Image:{{{1}}}.jpeg|thumb|<span class="plainlinks" title="View model in the Web X3D Viewer">[http://community.elphel.com/x3d/index.html?nobuttons&animate&model=/files/x3d/{{{1}}}.x3d http://community.elphel.com/pictures/webx3dicon.png]</span><br/>[[Media:{{{1}}}.stp.tar.gz|3d (step)]]&nbsp;&nbsp;[[Media:{{{1}}}.dxf.tar.gz|2d (dxf)]]&nbsp;&nbsp;[[Media:{{{1}}}.pdf|2d (pdf)]]]] ||  +|[[Image:{{{1}}}.jpeg|thumb|<span class="plainlinks" title="View model in the Web X3D Viewer">[https://community.elphel.com/x3d/index.html?nobuttons&animate&model=/files/x3d/{{{1}}}.x3d https://community.elphel.com/pictures/webx3dicon.png]</span><br/>[[Media:{{{1}}}.stp.tar.gz|3d (step)]]&nbsp;&nbsp;[[Media:{{{1}}}.dxf.tar.gz|2d (dxf)]]&nbsp;&nbsp;[[Media:{{{1}}}.pdf|2d (pdf)]]]] ||    |- |-  |} |} Oleg

Template:Cad4b

Wiki Recent Changes - Mon, 03/13/2017 - 12:38

← Older revision Revision as of 18:38, 13 March 2017 Line 9: Line 9:  {| border="0" cellpadding="3" style="border:1px solid lightgray;border-collapse:collapse;" {| border="0" cellpadding="3" style="border:1px solid lightgray;border-collapse:collapse;"  |- |- −| <span class="plainlinks">[http://community.elphel.com/files/production/{{{1}}}.jpeg http://community.elphel.com/files/production/{{{1}}}_resized.jpeg]</span>+| <span class="plainlinks">[https://community.elphel.com/files/production/{{{1}}}.jpeg https://community.elphel.com/files/production/{{{1}}}_resized.jpeg]</span> −| <span class="plainlinks">[http://community.elphel.com/files/production/{{{1}}}_extra.jpeg http://community.elphel.com/files/production/{{{1}}}_extra_resized.jpeg]</span>+| <span class="plainlinks">[https://community.elphel.com/files/production/{{{1}}}_extra.jpeg https://community.elphel.com/files/production/{{{1}}}_extra_resized.jpeg]</span>  |- |-  | | −<span class="plainlinks" title="View model in the Web X3D Viewer">[http://community.elphel.com/x3d/index.html?nobuttons&animate&model=/x3d/x3d_model_files/x3d/{{{1}}}.x3d http://community.elphel.com/pictures/webx3dicon.png]</span><br/>+<span class="plainlinks" title="View model in the Web X3D Viewer">[https://community.elphel.com/x3d/index.html?nobuttons&animate&model=/x3d/x3d_model_files/x3d/{{{1}}}.x3d https://community.elphel.com/pictures/webx3dicon.png]</span><br/> −[http://community.elphel.com/files/production/{{{1}}}.stp.tar.gz 3d (step)]&nbsp;&nbsp;+[https://community.elphel.com/files/production/{{{1}}}.stp.tar.gz 3d (step)]&nbsp;&nbsp; −[http://community.elphel.com/files/production/{{{1}}}.dxf.tar.gz 2d (dxf)]&nbsp;&nbsp;+[https://community.elphel.com/files/production/{{{1}}}.dxf.tar.gz 2d (dxf)]&nbsp;&nbsp; −[http://community.elphel.com/files/production/{{{1}}}.pdf        2d (pdf)]&nbsp;&nbsp;+[https://community.elphel.com/files/production/{{{1}}}.pdf        2d (pdf)]&nbsp;&nbsp;  | |  |} |} Oleg

Template:Cad4a

Wiki Recent Changes - Mon, 03/13/2017 - 12:37

← Older revision Revision as of 18:37, 13 March 2017 Line 9: Line 9:  {| border="0" cellpadding="3" style="border:1px solid lightgray;border-collapse:collapse;" {| border="0" cellpadding="3" style="border:1px solid lightgray;border-collapse:collapse;"  |- |- −| <span class="plainlinks">[http://community.elphel.com/files/production/{{{1}}}.jpeg http://community.elphel.com/files/production/{{{1}}}_resized.jpeg]</span>+| <span class="plainlinks">[https://community.elphel.com/files/production/{{{1}}}.jpeg https://community.elphel.com/files/production/{{{1}}}_resized.jpeg]</span>  |- |-  | | −<span class="plainlinks" title="View model in the Web X3D Viewer">[http://community.elphel.com/x3d/index.html?nobuttons&animate&model=/x3d/x3d_model_files/x3d/{{{1}}}.x3d http://community.elphel.com/pictures/webx3dicon.png]</span><br/>+<span class="plainlinks" title="View model in the Web X3D Viewer">[https://community.elphel.com/x3d/index.html?nobuttons&animate&model=/x3d/x3d_model_files/x3d/{{{1}}}.x3d https://community.elphel.com/pictures/webx3dicon.png]</span><br/> −[http://community.elphel.com/files/production/{{{1}}}.stp.tar.gz 3d (step)]&nbsp;&nbsp;+[https://community.elphel.com/files/production/{{{1}}}.stp.tar.gz 3d (step)]&nbsp;&nbsp; −[http://community.elphel.com/files/production/{{{1}}}.dxf.tar.gz 2d (dxf)]&nbsp;&nbsp;+[https://community.elphel.com/files/production/{{{1}}}.dxf.tar.gz 2d (dxf)]&nbsp;&nbsp; −[http://community.elphel.com/files/production/{{{1}}}.pdf        2d (pdf)]&nbsp;&nbsp;+[https://community.elphel.com/files/production/{{{1}}}.pdf        2d (pdf)]&nbsp;&nbsp;  |} |}  | | Oleg

Template:Cad4

Wiki Recent Changes - Mon, 03/13/2017 - 12:36

← Older revision Revision as of 18:36, 13 March 2017 Line 7: Line 7:  {| border="0" cellpadding="2" {| border="0" cellpadding="2"  |- |- −| [[Image:{{{1}}}.jpeg|thumb|<span class="plainlinks" title="View model in the Web X3D Viewer">[http://community.elphel.com/x3d/index.html?nobuttons&animate&model=/files/x3d/{{{1}}}.x3d http://community.elphel.com/pictures/webx3dicon.png]</span><br/>[[Media:{{{1}}}.stp.tar.gz|3d (step)]]&nbsp;&nbsp;[[Media:{{{1}}}.dxf.tar.gz|2d (dxf)]]&nbsp;&nbsp;[[Media:{{{1}}}.pdf|2d (pdf)]]]] ||  +| [[Image:{{{1}}}.jpeg|thumb|<span class="plainlinks" title="View model in the Web X3D Viewer">[https://community.elphel.com/x3d/index.html?nobuttons&animate&model=/files/x3d/{{{1}}}.x3d https://community.elphel.com/pictures/webx3dicon.png]</span><br/>[[Media:{{{1}}}.stp.tar.gz|3d (step)]]&nbsp;&nbsp;[[Media:{{{1}}}.dxf.tar.gz|2d (dxf)]]&nbsp;&nbsp;[[Media:{{{1}}}.pdf|2d (pdf)]]]] ||    |- |-  | {{#if: {{{2|}}} | <span title="{{{2}}}" style="color:red;">Known problems</span> | &nbsp; }} | {{#if: {{{2|}}} | <span title="{{{2}}}" style="color:red;">Known problems</span> | &nbsp; }}  | |  |} |} Oleg

Template:Cad4c assembly

Wiki Recent Changes - Mon, 03/13/2017 - 12:33

← Older revision Revision as of 18:33, 13 March 2017 Line 9: Line 9:  {| border="0" cellpadding="3" style="border:1px solid lightgray;border-collapse:collapse;" {| border="0" cellpadding="3" style="border:1px solid lightgray;border-collapse:collapse;"  |- |- −| <span class="plainlinks">[http://community.elphel.com/x3d/index.html?animate&model=/x3d/x3d_model_files/x3d/{{{1}}}-ASSY.x3d http://community.elphel.com/files/production/{{{1}}}_resized.jpeg]</span>+| <span class="plainlinks">[https://community.elphel.com/x3d/index.html?animate&model=/x3d/x3d_model_files/x3d/{{{1}}}-ASSY.x3d https://community.elphel.com/files/production/{{{1}}}_resized.jpeg]</span>  |- |-  | | −<span class="plainlinks" title="View model in the Web X3D Viewer">[http://community.elphel.com/x3d2/index.html?animate&model=/x3d/x3d_model_files/x3d/{{{1}}}-ASSY.x3d http://community.elphel.com/pictures/webx3dicon.png]</span>+<span class="plainlinks" title="View model in the Web X3D Viewer">[https://community.elphel.com/x3d2/index.html?animate&model=/x3d/x3d_model_files/x3d/{{{1}}}-ASSY.x3d https://community.elphel.com/pictures/webx3dicon.png]</span>  | |  |} |} Line 18: Line 18:  Copyright &copy; {{CURRENTYEAR}} Elphel Inc. Copyright &copy; {{CURRENTYEAR}} Elphel Inc.    −Licensed under [http://ohwr.org/cernohl CERN OHL v.1.1], [http://www.gnu.org/copyleft/fdl.html GNU FDL v.1.3]+Licensed under [https://ohwr.org/cernohl CERN OHL v.1.1], [https://www.gnu.org/copyleft/fdl.html GNU FDL v.1.3]  |- |-  |{{#if: {{{2|}}} | <span title="{{{2}}}" style="color:red;">Known problems</span> | &nbsp; }} |{{#if: {{{2|}}} | <span title="{{{2}}}" style="color:red;">Known problems</span> | &nbsp; }}  | |  |} |} Oleg

Main Page

Wiki Recent Changes - Mon, 03/13/2017 - 12:29

‎Welcome to the Elphel Project Wiki

← Older revision Revision as of 18:29, 13 March 2017 Line 1: Line 1:  __NOTOC__   __NOTOC__    <center> <center> −= Welcome to the Elphel Project Wiki =+= Welcome to Elphel Wiki =  </center> <center>[[Image:Elphel logo 2.png]]</center>   </center> <center>[[Image:Elphel logo 2.png]]</center>      Oleg

03/11/17 [imagej-elphel][dct] by AndreyFilippov: splitting clusters

Elphel GIT logs - Sat, 03/11/2017 - 23:05
AndreyFilippov committed changes to the Elphel git project :
splitting clusters

03/11/17 [imagej-elphel][master] by AndreyFilippov: splitting clusters

Elphel GIT logs - Sat, 03/11/2017 - 23:05
AndreyFilippov committed changes to the Elphel git project :
splitting clusters

03/10/17 [imagej-elphel][dct] by AndreyFilippov: working on tile processing

Elphel GIT logs - Fri, 03/10/2017 - 19:15
AndreyFilippov committed changes to the Elphel git project :
working on tile processing

03/10/17 [imagej-elphel][master] by AndreyFilippov: working on tile processing

Elphel GIT logs - Fri, 03/10/2017 - 19:15
AndreyFilippov committed changes to the Elphel git project :
working on tile processing

Template:Cad4c

Wiki Recent Changes - Thu, 03/09/2017 - 15:13

‎Usage:

← Older revision Revision as of 22:13, 9 March 2017 Line 9: Line 9:  {| border="0" cellpadding="3" style="border:1px solid lightgray;border-collapse:collapse;" {| border="0" cellpadding="3" style="border:1px solid lightgray;border-collapse:collapse;"  |- |- −| <span class="plainlinks">[http://community.elphel.com/files/production/{{{1}}}.jpeg http://community.elphel.com/files/production/{{{1}}}_resized.jpeg]</span>+| <span class="plainlinks">[https://community.elphel.com/files/production/{{{1}}}.jpeg https://community.elphel.com/files/production/{{{1}}}_resized.jpeg]</span>  |- |-  | | −<span class="plainlinks" title="View model in the Web X3D Viewer">[http://community.elphel.com/x3d/index.html?nobuttons&animate&model=/x3d/x3d_model_files/x3d/{{{1}}}.x3d http://community.elphel.com/pictures/webx3dicon.png]</span><br/>+<span class="plainlinks" title="View model in the Web X3D Viewer">[https://community.elphel.com/x3d/index.html?nobuttons&animate&model=/x3d/x3d_model_files/x3d/{{{1}}}.x3d https://community.elphel.com/pictures/webx3dicon.png]</span><br/> −[http://community.elphel.com/files/production/{{{1}}}.stl 3d (stl)]&nbsp;&nbsp;+[https://community.elphel.com/files/production/{{{1}}}.stl 3d (stl)]&nbsp;&nbsp; −[http://community.elphel.com/files/production/{{{1}}}.stp.tar.gz 3d (step)]&nbsp;&nbsp;<br/>+[https://community.elphel.com/files/production/{{{1}}}.stp.tar.gz 3d (step)]&nbsp;&nbsp;<br/> −[http://community.elphel.com/files/production/{{{1}}}.dxf.tar.gz 2d (dxf)]&nbsp;&nbsp;+[https://community.elphel.com/files/production/{{{1}}}.dxf.tar.gz 2d (dxf)]&nbsp;&nbsp; −[http://community.elphel.com/files/production/{{{1}}}.pdf        2d (pdf)]&nbsp;&nbsp;+[https://community.elphel.com/files/production/{{{1}}}.pdf        2d (pdf)]&nbsp;&nbsp;  | |  |} |} Line 30: Line 30:  |- |-  |[[Image:{{{1}}}.jpeg|thumb|220px| |[[Image:{{{1}}}.jpeg|thumb|220px| −[http://community.elphel.com/files/production/{{{1}}}.stp.tar.gz 3d (step)]&nbsp;&nbsp;+[https://community.elphel.com/files/production/{{{1}}}.stp.tar.gz 3d (step)]&nbsp;&nbsp; −[http://community.elphel.com/files/production/{{{1}}}.dxf.tar.gz 2d (dxf)] &nbsp;&nbsp;+[https://community.elphel.com/files/production/{{{1}}}.dxf.tar.gz 2d (dxf)] &nbsp;&nbsp; −[http://community.elphel.com/files/production/{{{1}}}.pdf        2d (pdf)] &nbsp;&nbsp;]]+[https://community.elphel.com/files/production/{{{1}}}.pdf        2d (pdf)] &nbsp;&nbsp;]]  |- |-  |} |}  --> --> Oleg

Template:Cad5a

Wiki Recent Changes - Thu, 03/09/2017 - 15:11

‎Usage:

← Older revision Revision as of 22:11, 9 March 2017 Line 7: Line 7:  {| border="0" cellpadding="2" {| border="0" cellpadding="2"  |- |- −|[[Image:{{{1}}}.jpeg|thumb|<span class="plainlinks" title="View model in the Web X3D Viewer">[http://community.elphel.com/x3d/index.html?nobuttons&animate&model=/files/x3d/{{{1}}}.x3d http://community.elphel.com/pictures/webx3dicon.png]</span><br/>[[Media:{{{1}}}.stl|3d (stl)]]&nbsp;&nbsp;[[Media:{{{1}}}.stp.tar.gz|3d (step)]]&nbsp;&nbsp;[[Media:{{{1}}}.dxf.tar.gz|2d (dxf)]]&nbsp;&nbsp;[[Media:{{{1}}}.pdf|2d (pdf)]]]] ||  +|[[Image:{{{1}}}.jpeg|thumb|<span class="plainlinks" title="View model in the Web X3D Viewer">[https://community.elphel.com/x3d/index.html?nobuttons&animate&model=/files/x3d/{{{1}}}.x3d https://community.elphel.com/pictures/webx3dicon.png]</span><br/>[[Media:{{{1}}}.stl|3d (stl)]]&nbsp;&nbsp;[[Media:{{{1}}}.stp.tar.gz|3d (step)]]&nbsp;&nbsp;[[Media:{{{1}}}.dxf.tar.gz|2d (dxf)]]&nbsp;&nbsp;[[Media:{{{1}}}.pdf|2d (pdf)]]]] ||    |- |-  |} |} Oleg

Using FPGA SATA logs to debug or profile software

Wiki Recent Changes - Wed, 03/08/2017 - 19:42

New page

SATA controller implemented in FPGA can write time stamps into specific memory region with 1/75 usec resolution. This feature called ''datascope'' was used to debug the controller itself, but it can also be used to debug or profile software. Each record in memory is a 32 bit value which is composed of a time stamp (28 lower bits) and a user defined tag (3 bits):
0x<8 + user tag><time stamp>
To add a time stamp, write a user defined tag to a specific memory location in the SATA controller's memory region. The controller will combine the tag with timer value and write it to memory.

Here is a short example of using datascope in driver's code. First, create a couple of global (for simplicity) variables, one is a pointer to the ''datascope'' register and the other is a flag (optional) which enables writing to the register:
static void __iomem *dscope_reg = NULL;
static unsigned int dscope_en = 0;

Second, create memory mapping for ''datascope'' register somewhere in start up code:

const unsigned long reg_addr = 0x80000178;

// initialize data scope
if (dscope_reg == NULL) {
dscope_reg = ioremap(reg_addr, 4);
if (dscope_reg == NULL)
printk(KERN_ERR "Can not ioremap data scope register\n");
else
dscope_en = 1;
}
}
Here, ''reg_addr'' is the ''datascope'' register address which consists of the following parts: 0x80000000 is the start address of AHCI controller memory registers, 0x100 is port 0 start address and 0x78 is one register in vendor specific register space (0x70 - 0x7f, see Serial ATA Advanced Host Controller Interface specification);

Third, remove ''datascope'' memory mapping when finished:
if (dscope_reg != NULL) {
iounmap(dscope_reg);
dscope_reg = NULL;
}

Invoke this function from code to set time stamp with tag ''tag'':
void dscope_timestamp(unsigned int cmd)
{
uint32_t data;

if (dscope_reg != NULL && dscope_en) {
data = tag & 0x7;
iowrite32(data, dscope_reg);
}
}

''Datascope'' writes time stamps to a memory region starting from 0x80001000 and occupying one memory page. In-camera python script can be used to watch the content of this memory region:
# cd /usr/local/bin/; python
>>> import x393_mem
>>> mem = x393_mem.X393Mem(1,0,1)
>>> _=mem.mem_dump(0x80001000, 100, 4)
The controller can use this memory region for debug output during its operation. If such interference is undesirable - remove AHCI driver:
modprobe -r ahci_elphel

[[Category:393]] Mikhail

03/08/17 [x393_sata][master] by Oleg Dzhimiev: fixed a typo

Elphel GIT logs - Wed, 03/08/2017 - 17:18
Oleg Dzhimiev committed changes to the Elphel git project :
fixed a typo

03/08/17 [x393_sata][master] by Oleg Dzhimiev: fixed a typo

Elphel GIT logs - Wed, 03/08/2017 - 17:18
Oleg Dzhimiev committed changes to the Elphel git project :
fixed a typo

03/08/17 [elphel-apps-camogm][master] by Mikhail Karpenko: Fix 'invalid blocks on device' error during disk formatting

Elphel GIT logs - Wed, 03/08/2017 - 16:56
Mikhail Karpenko committed changes to the Elphel git project :
Fix 'invalid blocks on device' error during disk formatting

Pages

Subscribe to www3.elphel.com aggregator