One way that users are "protected" from accidental Flash erase and write operations is that you have to deliberately copy YFNZ to RAM and then point the MMU at that copy before the YFERASE and YFWR will actually work. I could change these functions to automatically copy the relevant (small) sections of code to RAM and execute them, eliminating the required user-level machinations. Or is it better to keep it painful to use these functions?
I did something similar with the MAPEN function, requiring a passphrase to be present in ALPHA before the function will actually execute. I am now thinking that this might be overkill, and unnecessary. Any thoughts?
Thanks, Monte
Edited: 11 July 2013, 9:15 p.m.