• AVR Freaks

Hot!Smartfusion2 - Writing to eNVM with XIP (execute in place)

Author
mallets
New Member
  • Total Posts : 1
  • Reward points : 0
  • Status: offline
2021/01/28 15:07:26 (permalink)
0

Smartfusion2 - Writing to eNVM with XIP (execute in place)

I would like to know if it would be possible to update eNVM pages while booting from it. My test program runs fine when using the debug-esram.ld linker file but gives a busy error (followed by protection errors) when using debug-envm or production-in-place. I am using the NVM_unlock and NVM_write functions included in the drivers. I plan on splitting the eNVM into two parts -  128 KB program and 128 KB as dynamic storage.
 
Note: M2S010-TQFP. I also have cache controller enabled, if that makes any difference. I would also like to know the write endurance of the eNVM (in program cycles per page).
#1

0 Replies Related Threads

    Jump to:
    © 2021 APG vNext Commercial Version 4.5