Forum Discussion

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

about the CONF_DONE in the PS configuration

Dear all, I am trying to configure the Cyclone III device using the Passive Serial mode. In the very beginning, I draw the nCONFIG low, and subsequently the Cyclone III draw the nSTATUS low....the question is: why CONF_DONE is always low from the very beginning? As to the configuration handbook, there should be a high-to-low transition for the CONF_DONE... why?

In addition, there is said to be a low-to-high transition for the CONF_DONE in the end of the configuration, I just want to know, how does the Cyclone device know the configuration is done ?

PS. MSEL is 0000, and the clock is 1M, and the file format is .hex.

Thanks !

37 Replies

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

    --- Quote Start ---

    just found a that there are two different documents for this that tell me two different setting for MSEL

    --- Quote End ---

    The appropriate Cyclone-series handbook should be the only place you need to look. Which part (full part number please) are you using?

    Cheers,

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

    --- Quote Start ---

    With the modifications, MSEL0 - pulled up to VCCA, MSEL1 & MSEL2 pulled down. The documentation I have says MSEL 0 to VCC and mSEL1 to GND. doesn't mention MSEL2.

    --- Quote End ---

    Cyclone III handbook:

    http://www.altera.com/literature/lit-cyc3.jsp

    Table 9-7, pp169-170: PS mode MSEL[3:0] = 0000b for standard POR, and 1100b for fast POR.

    Given that your device does not have MSEL[3] it must be one of the smaller packages.

    Your setting of MSEL[2:0] = 001b is invalid, it should be 100b or 000b.

    Cheers,

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

    --- Quote Start ---

    Cyclone III handbook:

    http://www.altera.com/literature/lit-cyc3.jsp

    Table 9-7, pp169-170: PS mode MSEL[3:0] = 0000b for standard POR, and 1100b for fast POR.

    Given that your device does not have MSEL[3] it must be one of the smaller packages.

    Your setting of MSEL[2:0] = 001b is invalid, it should be 100b or 000b.

    Cheers,

    Dave

    --- Quote End ---

    Yes that is what I found in my search. The documents I was given and told to use were wrong. They are currently modifying my board now and I should know shortly.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Yes that is what I found in my search. The documents I was given and told to use were wrong. They are currently modifying my board now and I should know shortly.

    --- Quote End ---

    Fixing the MSEL worked. I was able to send the full compressed .rbf and received the CONF_DONE. Thank you for all your help.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Fixing the MSEL worked. I was able to send the full compressed .rbf and received the CONF_DONE.

    --- Quote End ---

    Awesome!

    So no need to skip the first 44 bytes?

    --- Quote Start ---

    Thank you for all your help.

    --- Quote End ---

    You're welcome.

    Cheers,

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

    --- Quote Start ---

    So no need to skip the first 44 bytes?

    e

    --- Quote End ---

    No, I did not have to skip the first 44 bytes. I tried that first and it did not work. I had to send the full file.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    No, I did not have to skip the first 44 bytes. I tried that first and it did not work. I had to send the full file.

    --- Quote End ---

    Good to know, thanks!

    Cheers,

    Dave