I quite agree with your summary of the document.
I did not mean to imply nor state that it is a good reference for flash programming, my point was the one paragraph I quoted as being the ONLY statement I have ever found made by freescale as to which parts of the procedure must me in ram.
Amazingly, that one statement is very clear and to the point.
"Steps between command launch and command completion can not be executed out of FLASH. Since a high voltage is applied to FLASH during these steps, FLASH cannot be read properly. Other steps can be executed out of either FLASH or RAM."While the statement concerning "wait four bus cycles" may not be really necessary, code that does that will work just fine, where as if the statement above is incorrect, the code will not work at all.
That is, the statement quoted is a clear concise, unambiguous statement, where as the rest of the document adds nothing in terms of "facts" - i.e. clear statements of how flash is to be dealt with. As we have seen, while working examples can be handy, they are not a substitute for a clear detailed specification.
Message Edited by JimDon on
2008-03-16 12:32 PM