Forum Discussion
Altera_Forum
Honored Contributor
11 years agoError during programming using a batch file
Hi,
I have a chain of devices which is programmed successfully using the programmer GUI but the programming fails while I'm using a batch file which our team wrote. The chain is comprised of devices from two identical boards with two FPGAs and two CPLDs each. In each board the FPGAs, their related programming devices and the CPLDs are connected in a chain (seven components in each chain), the chains are connected to each other as well so the total number of components in this long chain is fourteen. While using the batch file, the programming operation of device number 5 in board fails and the following error is shown: “Error 209015 can’t configure device, expected JTAG ID code 0x0100A0DD for device 5 but found JTAG ID code 0x0008050b. I checked the IDs of all the devices in the chain using the “jtagconfig” command, the device ID is indeed 0x0100A0DD but none of the other devices ID is 0x0008050b so I don’t know where it comes from. I’m using Quartus programmer 14 in windows 7, the batch file is attached, any ideas for a solution? Thanks, Ron3 Replies
- Altera_Forum
Honored Contributor
Can you run all the programming commands, individually, from the command line? E.g.
I can't help thinking you've simply got your device position order wrong - e.g. @12. However, that sounds a little simple. Have you more that one USB-Blaster connected? Run 'quartus_pgm -l' to display all cables connected. Is it picking up more than one? If so, to ensure it picks up the right cable, you'll have to change your '-c ' option to something like:quartus_pgm -i -c USB-Blaster -m JTAG -o P;RT_Dca_Acq_05_0C.pof@12 quartus_pgm -i -c USB-Blaster -m JTAG -o P;Dca2_Safety_5.pof@8 quartus_pgm -i -c USB-Blaster -m JTAG -o P;Dca2_Safety_5.pof@9 ....
Fundamentally, I can't see anything wrong with your script. Cheers, Alex-c "USB-Blaster " - Altera_Forum
Honored Contributor
Alex thanks for your reply, I have noticed that the batch file works fine with Quartus programmer 6.0 (even though Altera declares that it isn't supported on windows 7). Do you have any idea for that difference between the programmer versions?
- Altera_Forum
Honored Contributor
I don't know what the changes will be, except that the newer version will support the newer parts. It's possible that, in adding new families/devices, the database/index of these parts has an error in it. However, I'm only guessing.
Cheers, Alex