Application Acceleration With FPGAs
Programmable Acceleration Cards (PACs), DCP, FPGA AI Suite, Software Stack, and Reference Designs
504 Discussions

writing and reading max10 ufm

aiedb
Beginner
1,798 Views

hii i have the neek dev kit , and i did a project to write and read the max10  ufm

i see in the signal tap in my project that i can write the data and read successfully 

 

i programmed the board with the pof so that my firmware is inside the board , but when i turn off the board and turn it on again , and read the data from ufm i see that the data is all zeros meaning that the data didn't get saved in the ufm , and i know that the ufm is non volatile memory .

i am using the on chip flash ip , i expect the data to be saved in the ufm .

 

when i program the pof and perform the write and the do the read while the board under power everything is ok , data get written and read .

but the problem start when i turn the power down 

 

do i need to do a special thing in order to commit the data to the ufm and save so i can read it after power up ???

Labels (1)
0 Kudos
4 Replies
FvM
Honored Contributor II
1,766 Views
I expect you are writing and reading UFM data through On-Chip Flash Intel FPGA IP Core? I don't see how it's possible to loose data after writing, presumed it's not unintentionally erased (to 0xff) or overwritten (to 0x00).
0 Kudos
aiedb
Beginner
1,721 Views

hii yes i am using On-Chip Flash Intel FPGA IP Core

 

i will chick my code to see if there indeed the case of unintentionally erased (to 0xff) or overwritten (to 0x00). 

0 Kudos
WZ2
Employee
1,541 Views

Hi there,

This is indeed quite unusual. UFM is a non-volatile memory, and in theory, its contents should not change or be erased unless explicitly commanded to do so. I suggest checking the UFM before power-down to confirm that the data is intact. Additionally, please ensure that no logic is accessing or modifying the UFM through the IP interface after the device powers up.

Best regards,

WZ


0 Kudos
aiedb
Beginner
1,481 Views

hii thanks for help 

 

i checked my state machine and i indeed did unintentional eraze of the ufm , i corrected my stm and its working fine  

0 Kudos
Reply