Forum Discussion

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

epcs controller

I'm trying some informations about EPCS CONTROLLER control word.

Inside datasheet doesn't speak about meaning of single bit inside EPCS control words.

Somebody knows this bits? I don't understand why altera hide this bits .

I have to use it because I have SPI host that must program epcs and I don't use NIOS II inside FPGA but I use just only spi_slave_to_avalon_mm_master_bridge

So host microcontroller have to control EPCS controller and I need to know single bit meaning.

Somebody can help me?

Bye

G

15 Replies

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

    Hi Hippo,

    1. I can't implement NIOS II because I havent space inside FPGA

    2. When I spoke about REMOTE UPDATE I intended REMOTE UPDATE block inside SOPC. It is an ALTERA BLOCK and I would to use it.

    Bye

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

    The page I mentioned is a remote update core which you can access with spi avalon master bridge.

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

    Yes, it is true but I intended to use REMOTE UPDATE inside SOPC.

    This is Your verilog program but I would to use ALTERA standard block.

    I read that after CYCLONE III there are possibilities to program multioot system inside EPCS.

    I read some PDF but at the moment is not so clear for me and I needed some example.

    Bye

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

    The c4up.v is generated using altera megacore wizard. The rcu.v is an implementation similar to the cyc3 of sopc builder because altera didn't release the source.

    So it is the core for sopc builder. You can look at the driver code of cyc3 and do it in a similar way.

    Beside, if there is still a chance touch the hardware, you would be better to use PS mode to configure the fpga (no need the epcs and remote update as AS mode).

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

    You could also use the ALT_REMOTE megafunction directly.

    The .pdf from it is good, and easy to understand.

    I used it together with a small (20 lines) state machine, and it gets the job done.