I used the "USB_host_msc" as a template for code designed to do PTP communications to a DSLR camera , it generally works quite fine, EXCEPT when i am running a camera live preview stream.which is a large amount of data handled one frame at a time.
eack frame is about 300K or so and I can get up to 600 or 700 frames or so fine most times , sometime more, sometimes less, but it will eventually get stuck on cppi41dma.c line #1178, and it will never get out of the while loop at this line.
the address and the doc "am335x tech manual" indicates that this is a short aligned access to a register in the "USB1 Core registers", but the documentation has absolutely no definition of these register or what bit '2' means , which is what it is waiting on to see cleared.
Someone else posted a simular problem at this line for a usb stick, but the answer was given as a fix to the prolbems he had turning off DMA as a solution. I do not want to turn off dma so the original problems there was never answered.
Does anyone know what causes this hangup and a way to fix it.