Forum Discussion

MHamz1's avatar
MHamz1
Icon for New Contributor rankNew Contributor
6 years ago

Programming Using Command Line

HI,

I am using the following command to program the CPLD from command line

start quartus_pgm -z --mode=JTAG --operation="p;C:\Test Firmware\CPLD_U1.pof@1"

It runs the quartus_pgm and exits on success or failure. I am unable to view the output as it quits immediately.

Can anyone suggest me a way to look if the programming was successful or not and how to read the output of quartus_pgm

2 Replies

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

    Hi,

    Are you running this is command prompt? What do you mean by quit immediately?

    • MHamz1's avatar
      MHamz1
      Icon for New Contributor rankNew Contributor

      Yes I was running through the command prompt and the command prompt was closing as soon as the programming finished.

      I have found a solution to add the /B /WAIT before the command .

      Thank you