Forum Discussion

MKuli5's avatar
MKuli5
Icon for New Contributor rankNew Contributor
6 years ago

Problem with using On-Chip Flash IP Core for programming CFM0 on MAX10.

Hi!

I try to realize a remote upgrade system for MAX10(10M08DCU324C8G). I use On-Chip Flash IP Core for access to internal flash memory.

Regretfully I could not get access to CFM0 because bit 9(CFM0 protection bit) of Status Register is set to 1.

I setup Access Mode as read and write in IP Parameter Editor but it did not help and bit 9 is still set.

May be some one know how to solve this problem?

Thanks.

1 Reply

  • ShafiqY_Intel's avatar
    ShafiqY_Intel
    Icon for Frequent Contributor rankFrequent Contributor

    Hi MKuli5,

    You need to disable write protection CFM0 in order to get access.

    For example:

    Your CFM0 is use Sector ID 1 & Sector ID 2.

    If you look at On-Chip IP Control Register, Bit Offset 23 & 24 is write protection for CFM0 (Sector ID 1 & Sector ID 2).

    Thus, you need to set these bit offset to 0.

    I hope this will help. Let me know if you need more understanding.

    Thanks.😉