Tks for the reply.
I am attaching a project that has the same configuration and has the Flash instructions I am tring to use.
The ACCERR bit is being set even when the function OutOfRange() is used, but I really don´t know why, because this function doesn´t access flash, at least I don´t think so.
Please I would appreciate if you could check the configurations of the project.
Someone know where I can get TN288 for 56F80xx? The technical note about getting a code from ROM to RAM, so it is possible to programa the Flash?
I didn´t understand as well, where PE does change the CTRL and DIVBY registers of OCCS, as mentioned in the Reference Manual. Should I do it before calling PE funtions?
I am using:
CodeWarrior Development Studio for DSC56800/E version 8.2.3, build 7, IDE Version: 5.6.1.1658
PE version the one that is installed with this version of CodeWarrior
IntFLASH is configured as follows:
Write Method: WRITE
Wait in RAM: YES
Virtual page: DISABLED
Thank you for your help.
Alexandre
FlashTest.zip
Message Edited by t.dowe on 2009-10-29 09:50 AM