Forum Discussion

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

Unable to reset device before configuration

I am trying to program a EP2S90F1020 Stratix II device using Altera's USB Blaster. I use *.sof file, mode is Passive Serial, and then click on "start". I receive an error message saying "Error: Unable to reset device before configuration". This is on a development board that has successfully been programmed before.

Any one have any clue what this might be or where I should start looking?

5 Replies

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

    .sof is for JTAG configuration, are you trying to configure the FPGA or the PS programming device?

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

    My problem is solved! On the development board there is two 10 pin connectors, one labeled "USB Blaster" and the other labeled "FPGA JTAG". I was plugged into the "USB Blaster" connector, seemed obvious. But actually I needed to be in the "JTAG" connector. I then selected "Jtag mode", loaded the *.sof file, clicked auto detect, then clicked start. I then recieved the "Configuration Succeeded" message.

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

    I still get the same problem, I use Stratix IV board with xxxx.sof (on device EP4SE530H35C2ES).

    I use USB Blaster cable with passive serial mode.

    If I use auto detect, it comes out a selection window (EP4SE530 and EP4SE530ES), I pick the first one, it comes out two devices (EP4SE530 and EPM2210). Then I add file xxxx.sof, it add a new device EP4SE530H35C2ES. I press start, it quickly print out a message

    Error (209031): Device chain in Chain Description File does not match physical device chain -- expected 3 device(s) but found 2 device(s).

    I do not know how to continue!

    I am new to altera. Please help me up.

    Thank you.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    1. you said you picked non-ES but the .sof is built for ES. you will need to confirm your board has non-ES and rebuild the .sof

    2. you have 3 items on your JTAG chain now. double click in the File column of the row with the EP4SE530 device in it and select your .sof file. when you click start you should only have 2 items in your devices list, or else you will get the correct error that the JTAG chain (2 devices) does not match what you said it looks like (3 devices)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Similar error appeared for me also. I deleted all devices other than the one required. That solved my problem :)