Forum Discussion

tuanquang97's avatar
tuanquang97
Icon for New Contributor rankNew Contributor
6 months ago

DE2-35 send .hex image to PC through USB port

Hi guys!

I'm doing an image processing project using the DE2-35 kit.

So I have the image file in ".hex" format and I my workflow is:

Load the ".hex" image (300KB) into the SRAM of the DE2-35 kit (512KB), and the MCU will access the SRAM to process the image (grayscale to be specific). After finishing processing the image, it will move the processed image to the USB port to transfer the image to my PC for display.

I've successfully loaded the ".hex" image to the SRAM (It's a pain because there is only 512KB of SRAM)

My questions are:
1. How do I process the image?
2. How do I move the processed image to the USB port for data transfer?
3. Is there a better way to transfer the processed image to my PC and how can I do it?

3 Replies

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


    Regards

    Jingyang, Teh


  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    Currently the nios do not have any usb controller library.

    One thing you could do is to write the .hex file into a flash memory and have another IP read and send the file to a usb controller.


    Regards

    Jingyang, Teh