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.

connect C6747 EM to PC to transfer file to SD card connecting USB cable b/w PC and EVM

Other Parts Discussed in Thread: OMAPL138

Hello,

I want to transfer file from PC to C6747 DSP, I'm using right now test application delivered wih USB driver. I set all the required path mentioned in the USB user guide. When I start sample application ..\USB_Driver\packages\ti\biosusb\examples\usbdevmsc\build\C6747\ .. it never came out of result = mmcsdStorageInit(); in the DevMscAppInit.  MMCSD card is connected to the EVM. MSCMEDIA_MMCSD is enabled in the sample application i.e in psp_bios_usbdev_msc_sample.c

Is there something I'm missing in the configuration.

My requirement is to transfer binary file from PC to NAND device connected to C6747 DSP. As there is no NAND device in EVM, I'm testing with SD card. Please suggest me if any alternative solution available for my requirement.

Regards,

Venkat

  • Are you running the below example without modifying the code and not running ?
    ~\ti\biosusb_01_10_03\packages\ti\biosusb\examples\usbdevmsc\build\C6747
    By default it is configured to MMC/SD only.
    Did you face any build errors ?
    Also please make sure that you have used the packages mentioned in release notes of USB BIOS.
  • Hi,
    I have loaded devmsc_sample.out from the USB BIOS release package as is which was built by TI, with this my Windows PC recognizes the device and asks to FORMAT disc, but after that prompt says "windows was unable to complete the format", device is not accessible from PC. With/without format, device is visible in the PC but not accessible, always prompts for FORMAT whenever I try to access it. I'm not clear what is the issue.
    Thanks.
    Regards,
    Venkat
  • Hi Venkatesh Nalla,

    Venkatesh Nalla said:
    My requirement is to transfer binary file from PC to NAND device connected to C6747 DSP. As there is no NAND device in EVM, I'm testing with SD card. Please suggest me if any alternative solution available for my requirement.

    Basically your requirement is to flash your program into some permanent storage and execute the program once you do a power-on-reset...Right??

    I understand that you have don't NAND device. Do you have SPI/NOR flash memories? If yes, you can flash your program using the SPI writer or NOR writer.

    I have attached the OMAPL137 Flash utilities which has writer programs for SPI and NOR. OMAP-L137_FlashAndBootUtils_2_40.zip

    Even the SDMMCWriter program is available but it is for OMAPL138. You may have to port it for OMAPL137. Let me know if you need the SDMMCWriter program

    The support for BIOSUSB support is limited.

  • Hi Shankari,

    Thank you for your response, yes I'm using this utilities to flash image to NAND using CCS, but here we have to use CCS to flash, in production plants very difficult to use CCS to flash boards, So we are planning to keep image in USB device and BIOS application reads new image and writes to NAND. I assume you are clear with my requirements. So, I tried to use BIOSUSB sample application to test (as a Device), unfortunately this sample application is not working.

    Regards,

    Venkat 

  • Hi venkatesh Nalla,

    Actually there are two methods of flashing. One is through CCS and another is without CCS.

    You can use the serial flasher utility to flash the program directly into NAND.

    This serial flasher utility is executed through command prompt. CCS is not needed.

    This utility is called as "sfh" utiltily. For production purpose, you can use this one.

    For more info on "sfh" please visit :

  • Hi Shankari,

    Thank you for providing alternative options, sorry to say that in our custom board there are no UART connections, so I have only option left is to use USB solution, could you please help me in this direction.

    Thanks again for your support.

    Regards,

    Venkat