Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Sending data from Cyclone V FPGA to PC through USB Blaster

Hi All,

I have a cyclone V Soc Development kit which has an on board USB blaster II comprising of MAX II and Cypress USB driver CY7C68013A. I would like to transmit data through the USB driver to the PC. I would like to know if there are any reference designs related to this application. Otherwise a guidance for the above application will be a lot helpful. Please provide info on the same.

Thanks in advance,

CG6991

16 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    I don't think I really understand your question.

    You should start SystemConsole from the Quartus GUI (or by typing system-console from the command line), the bottom right hand window is the script window into which you can type Tcl and see the results. If you save your script into a file then the Tcl source command can be used to execute it.

    Alternatively, you can right click on the /scripts node in the system explorer window, open the user scripts folder and then create a Tcl file in there. You can then run it by clicking on it.

    --- Quote End ---

    Wombat I tried the command sequence in the bottom right script window but there was no response at all...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Wombat I tried the command sequence in the bottom right script window but there was no response at all...

    --- Quote End ---

    What happens if you type "help" in that window? If that gets nothing then I think you have a problem with your install. You might try running it with no hardware attached to check your kernel drivers are not causing problems.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    What happens if you type "help" in that window? If that gets nothing then I think you have a problem with your install. You might try running it with no hardware attached to check your kernel drivers are not causing problems.

    --- Quote End ---

    Sorry for the late reply, I am able to get some commands on which i could get info form the help command. I observed an error with the USB connections on the messages section and when i tried the command you had suggested bad error index appears...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi wombat the commands are working am able to write and read data on the on chip ram also control the LEDs...

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi wombat, Is there any provision in the system console for storing the data read from the on chip memory through system console into a file?? like .bin??