This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM6437 audio upload by HTTP and play

Expert 1840 points


Hi,

I am working on DM6437 with EVM board. Our company need a software that can support to upload an audio file to this board through web interface. Then the software on DM6437 board can play that file and output through audio line out. I have not much experiences about this. So my question is this requirement is possible or not. If it is possible with EVM DM6437 board, please let me know which resource I should reference or using. 

Please share me your knowledge.

Thanks a lot.  

  • bioz,

    Yes, this is certainly possible.  Both the DSP/BIOS and SYS/BIOS Real Time Operating Systems have support for a TCP/IP stack, called the Network Development Kit (NDK).

    The NDK supports CGI which would allow you to transfer files over an HTTP connection from a webpage or some such.  Once the file has been uploaded to your DM6437, you could then play it.

    Have you already started using BIOS?  If so, which version?

    Steve

  • hi,

    I am not expert on this field. I am using Bios 5.33.04. In my understand, I think about the program flow as below:

    - In init phase, program will set up device work as DHCP.

    - User access to DSP by using http that support by server on NDK through a DHCP IP.

    - User will use web interface to upload audio file and the CGI app that was build using CGI framework of NDK will receiver data.

    - CGI app will do some processing with audio file: write into nand from Address A -> Address B. (Sorry I didn't have any experiences with file on BIOS I just guess)

    - whenever we want to play audio we will read nand from address A -> address B and put the data to AIC 33 codec and play to the line out device.

    This flow is correct, isn't it?

    Please help me to correct it, for that I can have a clear and real vision about what we want to do. For further, if you have some resources, references or ... useful things to share, it should be perfect.

    Thanks a lot.

  • I think you have the idea.

    Which version of BIOS are you using?  Do you have the NDK yet?

    The NDK has an example called 'client' which creates a web page on the DSP.  You can connect to it from a web browser and it has a specific example of uploading a file to the the DSP.

    I think you should take a look at that example as it would be a good starting point for you.

    Steve

  • http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ndk/2_20_06_35/index_FDS.html

    Above link contains the NDK that you mention, doesn't it? I downloaded it and I will try next week. 

    Really thanks for your quick support.