Altera_Forum
Honored Contributor
14 years agouClinux freeze during USB copy - Nios2 nommu - USB Host
Hello,
I did a no mmu niosII platform with uClinux booting (test-nios2 branch). I use an Open Core USB Host. I can read and write in a USB Key. But I have a problem. When I copy a file upper to 20Mbyte, or 4 files of 5Mbytes, uClinux is frozen. I have no bug or warn messages but I have no shell anymore and no activity in uClinux... I checked with a USB bus analyser, and the reading and writing access work fine (any no ACK frames or error frames), even before the freeze... With a file of 20 Mbytes, I can see that during a copy from USB Key to USB Key, that uClinux start by read the USB Key but dosen't write to the USB Key. It freezes before. With a file of 5Mbytes, for example, I can see uClinux start by read the USB Key but after it writes to the USB Key... and it works fine. Can it be possible that uClinux dosen't manage its memory fine, or the USB copy fine? Thank you very much for your help. Pierre