Forum Discussion

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

Why is the UFM busy all the time?

I use MaxII EPM570. After finishing the RDSR, WREN, WRSR and SECTOR-ERASE, i find the status register Bit0 is 1 all the time when i execute RDSR again. If the Bit0 is high, i can do nothing then.

Why the Bit0 is high all the time though i wait for a long time? The Bit0 is low when power up and i execute RDSR at first time.

Thanks very much

2 Replies

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

    I have solved it.

    In Quartus II, i use simulation to simulate the whole process. In the Simulation Report, it uses about 50us to finish the RDSR, WREN, WRSR and SECTOR-ERASE steps. Then I execute RDSR again to find out whether the erase cycle is still in progress. It uses about 500us to finish SECTOR-ERASE step and set Bit0 to 0. Since the time step which i set in simulation is small(about 150ns), i didn't find the termination of SECTOR-ERASE and thought that the Bit0 was always high.

    Now, it can work correctly now.