Post Go back to editing

Write data into NOR Flash sector

Hi all,

   I am working on BF609, When i try to write some data like 0x1254 in particular sectors using pc28f128P33_Write() into nor flash. It writes the data into that sector.

But when I read that sector it cannot give the exact data I passed into that sector, the write and read addresses are same. Before write when I read it gives some data value and after write it gives the value which is not matching, every time the same values shown even when I write into another sectors.

Please somebody help me to fix this issue.

Thanks..

Regards

John



.
[edited by: John21 at 11:22 AM (GMT -4) on 17 Aug 2021]
Parents
  • Hi Anand Selvaraj,


    I tried after referred "pc28f128p33.c" file from power on self test and write data (0x123) in 60 sector but I got the value 70 after write that data into that sector. 

    When I tried to read after sector erase I got the value as ff. Was that right?

    By default, any data available in nor flash? If it is what kind of data available and what happens if those data's  erased?

    Am i able to write  and read data into nor flash again?

    Regards,

    John

Reply
  • Hi Anand Selvaraj,


    I tried after referred "pc28f128p33.c" file from power on self test and write data (0x123) in 60 sector but I got the value 70 after write that data into that sector. 

    When I tried to read after sector erase I got the value as ff. Was that right?

    By default, any data available in nor flash? If it is what kind of data available and what happens if those data's  erased?

    Am i able to write  and read data into nor flash again?

    Regards,

    John

Children
No Data