Priyank Bhatt

Is it possible to write data on EMC flash where code is running

Discussion created by Priyank Bhatt on Sep 5, 2018
Latest reply on Sep 6, 2018 by Victor Jimenez

Hi,

I am facing a problem regarding EMC Nor flash SST39VF3201C. I have my bootloader code on internal flash & user application on EMC nor flash. But when I try to write some data(variables) using LPCOpen APIs on a specific address far from code address it causes hard fault. I have initialized flash in bootloader & not(again) in user application. Code works fine & reading from an address is working too. Is there any solution for this.

 

Any help is appreciated.

 

Thank you.

Priyank.

Outcomes