Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
518 Views

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.

0 Kudos
1 Reply
Highlighted
Employee
17 Views

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.😉

 

 

 

 

 

 

0 Kudos