﻿id	summary	reporter	owner	description	type	status	priority	component	resolution	keywords	cc
26	Segmentation fault when initiating a DMA transfer	alexandre.chagoya-garzon@…	Nicolas Pouillon	"Hello,
I have a problem when initiating a DMA transfer. I attached the platform (top.cpp, segmentation.h, platform_desc) and the application  (MJPEG.x)

Everything runs smoothly, until a DMA transfer is initiated:
[fetch_process] Send SOF info to LIBU and IDCT
DMA transfer from 0x1004e620 to 0x1005779c (8 bytes)

I verified in vci_dma.cpp
134  VciInitSimpleReadReq<vci_param> *req =
135         new VciInitSimpleReadReq<vci_param>(
136             &m_data[0], m_src+m_offset, burst );
The correct src address is used, but on te next transition, a segmentation fault appears

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210737792 (LWP 5494)]
soclib::caba::VciVgmn<soclib::caba::VciParams<4, 6, 32, 1, 1, 1, 8, 1, 1, 1> >::genMoore (this=0xbf948fb8)
    at /tima/amazone-home1/chagoyag/Workspace/soclib/soclib/module/network_component/vci_vgmn/caba/source/src/vci_vgmn.cpp:380
380                 can_take |= !m_dest->full();

I use compiler 
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

Thank you for your help
Alexandre"	defect	closed	trivial	IP-Cores	fixed	DMA transfer, segmentation fault	
