Forum Discussion

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

Updating EPCS

Is it possible to update the software code stored in Alteras EPCS flash? I know these devices are basically SPI flash, but the Altera device has dedicated pins connecting it.

Thanks in advance,

Richard

3 Replies

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

    You have access to the EPCS controller via the HAL "alt_flash" hardware abstraction. The only thing you need to look out for is that, by default, the end of the hardware image and the beginning of the software image fall in the same block....so you would need to do a read-modify-write cycle on that block.

    Best Regards,

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

    Slacker,

    Thanks for the response. I am still working on my design and havent look at any of the HAL stuff yet. Ill check it out when I get a chance.

    Thanks again,

    Richard