Re: [Itifg-tech] itifg-8.4.0-0 released
Brought to you by:
mastein1
|
From: <M....@go...> - 2008-03-04 11:58:17
|
Hello Fabien,
the crash is somehere in src/board/icpcoIface.c:icp_src_init().
I have added some debug output, that we can see more:
static int
icp_src_init (iti_brd_t *brd, struct iti_fmt_t *fmt, int frames,
off_t base, bool append)
{
int error;
int frame;
ITI_PRINT1(brd->i->osp, "=> icp_src_init\n");
if (append) ITI_PRINT1(brd->i->osp, " int for append mode\n");
brd->i->append = append;
ITI_PRINT1(brd->i->osp, " base addr %#lx\n", base);
ITI_PRINT1(brd->i->osp, " line_size " SIZE_F "\n", fmt->line_size);
ITI_PRINT1(brd->i->osp, " frame_size " SIZE_F "\n", fmt->frame_size);
/* set source values */
iti_printd (brd->i->osp, "A\n");
if ((error = cr_set_pitch (brd->i, fmt->line_size)))
{
iti_error (error, "cr_set_pitch");
return -EIO;
}
iti_printd (brd->i->osp, "B\n");
if ((error = cr_set_aoix (brd->i, fmt->line_size)))
{
iti_error (error, "cr_set_aoix");
return -EIO;
}
iti_printd (brd->i->osp, "C\n");
for (frame = 0; frame < frames; frame++)
{
iti_printd (brd->i->osp, "D\n");
brd->i->dma1stfld[frame] = brd->i->dma2ndfld[frame] =
base + frame * fmt->frame_size;
iti_printd (brd->i->osp, "E\n");
if (fmt->ilace && !fmt->vdec)
{
iti_printd (brd->i->osp, "F\n");
if ((error = cr_set_bmilace (brd->i, CR_ENABLE)))
{
iti_error (error, "cr_set_bmilace");
return -EIO;
}
iti_printd (brd->i->osp, "G\n");
brd->i->dma2ndfld[frame] += fmt->frame_size / 2;
iti_printd (brd->i->osp, "H\n");
}
else
{
iti_printd (brd->i->osp, "I\n");
if ((error = cr_set_bmilace (brd->i, CR_DISABLE)))
{
iti_error (error, "cr_set_bmilace");
return -EIO;
}
iti_printd (brd->i->osp, "J\n");
}
iti_printd (brd->i->osp, "K\n");
/* for this only use one on-board memory frame */
if (!append) break;
}
iti_printd (brd->i->osp, "L\n");
cr_set_bmsf (brd->i, brd->i->dma1stfld[0]);
iti_printd (brd->i->osp, "M\n");
cr_set_bmss (brd->i, brd->i->dma2ndfld[0]);
iti_printd (brd->i->osp, "N\n");
ITI_PRINT1(brd->i->osp, "<= icp_src_init\n");
return OK;
}
Please recompile and run again.
matthias
_________________________________________________
Matthias Stein,
GOM Gesellschaft fuer Optische Messtechnik mbH,
Mittelweg 7-8, 38106 Braunschweig, Germany
E-mail: M....@go..., Internet: http://www.gom.com
Tel.: +49 (0)531 39029-0, Fax: +49 (0)531 39029-15
Amtsgericht Handelsregister Braunschweig, HRB-Nr.: 3131
Geschaeftsfuehrer: Dr.-Ing. K. Galanulis, Dr.-Ing. D. Winter
This e-mail is confidential. If you have received it in error, you are on
notice of its status.
Please notify us immediately by reply e-mail and delete this message from
your system.
Please do not copy it or use it for any purposes, or disclose its contents
to any other person;
to do so could be a breach of confidence.
Thank you for your co-operation.
|