Hi all,
I am DM8107 user.
I need to receive TS data from DVB-T usb dongle and save data to SATA hard drive.
While I implement it on DM8107, i get a problem while both SATA and USB work at the same time.
The problem is that i will lost TS packets on DM8107 because there is too many usb interrupts.
After reading this thread
http://e2e.ti.com/support/embedded/starterware/f/790/t/281413.aspx
I had open the GRNDIS mode, below is the modified code:
//*******************************
ti81xx.c
int __devinit cppi41_init(u8 id, u8 irq, int num_instances)
{
...
...
//cppi_info->version = usbss_read(USBSS_REVISION);
cppi_info->version = 0xF;
...
...
}
//*********************************
This modification will decrease the USB interrupt times so that USB can tansfer TS packets well while SATA works,
but it will cause error returned in urb size sometimes, it means that received data length is less than i want (alway loses 512 bytes).
The error occurred while I Tx/Rx control data to(from) A/B endpoint and get TS packets from D endpoint.
I have been working for one month on this, the problem still persisted.
Any suggestions?
thansk