Forum Discussion

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

Read write data in max ii ufm

I have downloaded and using Quartus II v 13.1. I have also bought EPM240 core board and usb blaster programmer. I am mostly an electronic circuits person and

design in circuit schematic option. I want to store some data in UFM and access it in my schematics. I should also be able to change the same.

8 Replies

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

    thanx . that all I have read but it is very confusing. if you can suggest some examples or codes that shows some reading and writing of data it will be of great help. also pl suggest if some videos for

    this are available. also how to acess that data in schematics is not clear. pl help. thanx in advance.

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

    --- Quote Start ---

    thanx . that all I have read but it is very confusing. if you can suggest some examples or codes that shows some reading and writing of data it will be of great help. also pl suggest if some videos for

    this are available. also how to acess that data in schematics is not clear. pl help. thanx in advance.

    --- Quote End ---

    Search for UFM on this page, and you'll see that there are example files that come with the UFM users guide.

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

    Use Modelsim to simulate the component.

    As I comment above, be aware that MAX II flash can only be reprogrammed 100 times. If you're debugging using hardware, once you have downloaded the MAX II device 100 times, you're living on borrowed time. I've got a development kit I can no longer program due to this limitation.

    Cheers,

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

    dear dave

    thanx. I was busy in other work. as you have said that ufm in MAXII can be used only for 100 read writes. ok. But I have following doubts:

    1. can the ufm oscillator be used any no. of times?

    2. what are ram ports? is the cfm memory used for this purpose?

    3. I have also bought from e-bay epm1270t144 board with some auxiliary modules. the vhdl files recd with this kit are not complete. they have given at24 EEprom module with some vhdl files. but no user guide is given. do you have any idea.

    Regards,

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

    --- Quote Start ---

    1. can the ufm oscillator be used any no. of times?

    --- Quote End ---

    Yes. The UFM oscillator is "just" an internal oscillator, so you can connect it and use it.

    --- Quote Start ---

    2. what are ram ports? is the cfm memory used for this purpose?

    --- Quote End ---

    There is no RAM in this CPLD.

    --- Quote Start ---

    3. I have also bought from e-bay epm1270t144 board with some auxiliary modules. the vhdl files recd with this kit are not complete. they have given at24 EEprom module with some vhdl files. but no user guide is given. do you have any idea.

    --- Quote End ---

    How would I have an idea? I have no idea what you purchased! :)

    Did you ask the seller of the board?

    All you really need is the schematic of the board. If you have that, post it, and I'll take a look.

    Cheers,

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

    1. my doubt was the ufm osci. is situated in ufm. you have to access it and if UFM cannot be read or written more than 100 times in its life time. how it can be used in the program which will access it all the time.

    2. Also what use is the UFM when the limitation is 100 operations. I want to know where it can be used.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    3. Also this 100 operations is giving me a lot of doubts. Is this restriction only for UFM? Can the CPLD be programmed any no. of times?

    Thanx

    Regards,

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

    --- Quote Start ---

    3. Also this 100 operations is giving me a lot of doubts. Is this restriction only for UFM? Can the CPLD be programmed any no. of times?

    --- Quote End ---

    The limitation is for the CPLD, including the device configuration EEPROM and User EEPROM. Read the handbook, I gave you the section details above.

    Cheers,

    Dave