2019-08-29 02:43 AM
Hi All,
I am trying to run Audio playback and record application present in the path:
STM32Cube_FW_F7_V1.15.0/Projects/STM32746G-Discovery/Applications/Audio/Audio_playback_and_record/SW4STM32/STM32F7-DISCO
But it hangs inside "FRESULT AUDIO_StorageParse(void)" function at line : "res = f_opendir(&dir, USBKey_Path);"
Could you please help me with this.
environment:
Steps followed:
Thanks
KVVD
2019-09-05 08:03 AM
Can anyone please help.
Thanks
KVVD
2019-09-10 04:13 AM
Hi All,
Any luck for me?
thanks
KVVD
2019-09-10 04:25 AM
> USB pendrive: SanDisk, 8GB.
What's the filesystem used in your "pendrive"? Make sure it's FAT32 and not ExFAT or NTFS. Try to use a smaller (<=4G) drive with FAT32 filesystem.
> But it hangs inside "FRESULT AUDIO_StorageParse(void)" function at line : "res = f_opendir(&dir, USBKey_Path);"
Try to pause the debugger or debug into the function step-by-step to see where exactly it hangs.
> Also tried connecting USB pen drive to USB_HS. But same result. No luck.
It must be connected to USB_FS, connector CN13, as is in your picture.
2019-09-11 04:38 AM
Thanks for the response.
Please find my answers for your suggestions:
(1) FAT32
(2) it hangs inside ---> res = find_volume(&path, &fs, 0);
Not coming out of this function
(3) Yes.
Thanks
KVVD
2019-09-11 05:05 AM
Some flash drives may have multiple volumes/partitions, check if yours has just one (a primary MBR partition) using fdisk or a similar GUI tool (in Win10 right click on start menu, click Disk Management).
> Not coming out of this function
"Step into" the function and debug step-by-step (stepping "into" other functions too) using a debugger, find out where exactly it hangs, not just the name of the function. It will give us a clue so we won't be forced to make wild guesses. It may be a hardware issue, or USB layer issue, or filesystem layer issue, or something else.
2019-09-12 03:14 AM
Sure will do.
But one basic question, did anyone really tested audio on this board? with any SDK version?
Thanks
KVVD