- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
Please help me with this simple task. I've a PCB with three CPLDs (Altera 5M160Z). I'm using following commands to program these CPLDs: --- Quote Start --- c: cd cd intelFPGA_pro\17.0\quartus\bin64 start quartus_pgm -z --mode=JTAG --operation="p;C:\Test Firmware\CPLD_U1.pof@1" start quartus_pgm -z --mode=JTAG --operation="p;C:\Test Firmware\CPLD_U2.pof@2" start quartus_pgm -z --mode=JTAG --operation="p;C:\Test Firmware\CPLD_U3.pof@3" --- Quote End --- To give more information, I'm attaching following screenshots: 1> Windows Device Manager (listing the USB Blaster) https://alteraforum.com/forum/attachment.php?attachmentid=14135&stc=1 2> Quartus Programmer Window (on selecting 'Auto Detect'): https://alteraforum.com/forum/attachment.php?attachmentid=14136&stc=1 Now my requirement is to create a command line program (BAT file) for erasing all the contents. I've came across 'Erase_All' function, however I failed in my attempt to use the same. Thank you in advance.Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Hello All, Please help me with this simple task. I've a PCB with three CPLDs (Altera 5M160Z). I'm using following commands to program these CPLDs: To give more information, I'm attaching following screenshots: 1> Windows Device Manager (listing the USB Blaster) https://alteraforum.com/forum/attachment.php?attachmentid=14135&stc=1 2> Quartus Programmer Window (on selecting 'Auto Detect'): https://alteraforum.com/forum/attachment.php?attachmentid=14136&stc=1 Now my requirement is to create a command line program (BAT file) for erasing all the contents. I've came across 'Erase_All' function, however I failed in my attempt to use the same. Thank you in advance. --- Quote End --- Waiting for a solution. Anyone?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please help on this issue...!!
Thanks in advance.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use the same commands as you have currently, but change the operation character to "R". Using an operation of "R" erases the specified device.
I'm not sure that you need to specify a filename, that wasn't clear from the instruction manual (https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/manual/tclscriptrefmnl.pdf).- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello TCWOLD,
Thank you so very much for the reply, I'll give a try to what you've suggested. Just to be sure, I should use following command:c:
cd
cd intelFPGA_pro\17.0\quartus\bin64
start quartus_pgm -z --mode=JTAG --operation="R;@1"
start quartus_pgm -z --mode=JTAG --operation="R;@2"
start quartus_pgm -z --mode=JTAG --operation="R;@3"
Is this correct? Thank you again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Use the same commands as you have currently, but change the operation character to "R". Using an operation of "R" erases the specified device. I'm not sure that you need to specify a filename, that wasn't clear from the instruction manual (https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/manual/tclscriptrefmnl.pdf). --- Quote End --- TCWORLD, Thank you so much. I tried out what you'd suggested and it worked for me. However I'd to include the file path. Below is what I used:
c:
cd
cd intelFPGA_pro\17.0\quartus\bin64
start quartus_pgm -z --mode=JTAG --operation="r;C:\Test Firmware\CPLD_U1.pof@1"
start quartus_pgm -z --mode=JTAG --operation="r;C:\Test Firmware\CPLD_U2.pof@2"
start quartus_pgm -z --mode=JTAG --operation="r;C:\Test Firmware\CPLD_U3.pof@3"
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page