2015-07-31 05:05 AM
Was anyone succesful in playing audio or video files with the demo sw ? My demo sw could not find any file on USB or SDcard.
I tried both USB-Ports ( but not the USB-Debugger port ) with different adapter cables included one from an other ST Eva-Kit. The files on SDcard and USB Memory stick are the same. Most of the files are from the other ST-Eva-Kit. I added more files of every type (mp3, wav, flv, mp4, emf) I can think of.
In file select menu you can select between two ''drives'' ( ''0'' and ''1''). What is drive ''0'' and what is drive ''1'' ? USB HS and FS or USB (HS/FS?) and SDcard or ???
Or do I need a special directory tree on the drives ?
Or a special file system (FAT16/32 or ???)
Thanks for your help.
2015-08-20 07:07 AM
OK, here is some update :
If I load the hex file from ''stm32cubef7.zip\Projects\STM32746G-Discovery\Demonstration\Binaries'' the software finds the audio files on USB Memory on CN12. If I compile and load the sources from ''stm32cubef7.zip\Projects\STM32746G-Discovery\Demonstration\MDK-ARM'' with my Keil MDK-ARM a warning is shown : ..\..\..\..\Middlewares\Third_Party\LwIP\system\OS\sys_arch.c(399): warning: #167-D: argument of type ''signed char *'' is incompatible with parameter of type ''const char *const'' (But this belongs to IP stuff... maybe...) And no files are found on USB memory. Compilation of ''stm32cubef7.zip\Projects\STM32746G-Discovery\Applications\Audio\...'' gives no errors or warnings. But software goes into endless loop displaying ''initialized filesystem'' ''no wave files found'' I think, there is something wrong with the USB sources, but that is to high for me at this moment.2015-08-20 11:26 AM
there was a post
''STMF327-DISCO and ''MSC_Standalone'' example don't work (Bug in USBH MSC lib v3.2.1)?'' could not find it at the moment, search engine seems to have problems there is a bug in Repository\STM32Cube_FW_F7_V1.1.0\Middlewares\ST\STM32_USB_Host_Library\Class\MSC\Src\usbh_msc.c line 446 change if((phost->Timer - MSC_Handle->timer) > 10000) to if((phost->Timer - MSC_Handle->timer) < 10000)2015-08-22 01:25 AM
@ thomas.004
Thank you very much for your solution ! Now the demo is working !! Time to go on... :)2015-09-20 08:08 PM
The stock STM32F7 discovery can play WAV from SUB flas drive (label ''1''). If you wish to play MP3/4 you need to have the codec library and I thinks its not installed on it.
2015-09-25 05:39 AM
@chin.le_yan
Not playing MP3 was not the problem. The binaries from ''stm32cubef7.zip'' were playing the wav-files. But the own compiled sources from''stm32cubef7.zip'' showed no files. The problem was the bug in ''STM32Cube_FW_F7_V1.1.0\Middlewares\ST\STM32_USB_Host_Library\Class\MSC\Src\usbh_msc.c''