How to Verify function is accomplished while programming flash using VisualDSP++ 3.5?
You can instruct the flash driver to check that the loader file data is being programmed correctly, on a sector-by-sector basis, by clicking the Verify while programming check box. Or, you can use the Compare command once programming is complete.
When verify while programming option is selected, after each data element is written to flash it is read back and compared to what was written. This is done within the flash programmer interface application (the dxe driver running on DSP). You can see an example of this by looking at the adsp-2191 flash Programmer driver example(examples provided in VisualDSP++ 3.5 are located in "...\219x\Flash Programmer Drivers\). Look in WriteData function in the loop entered if AFP_Verify is true. If an error does occur, AFP_Error is set to VERIFY_WRITE which is detected by the Flash Programmer.
Also, please review the Verifying Contents of Flash vs. an Intel HEX data file section of the VisualDSP++ Documentation available from the IDDE Help menu or alternatively navigate to Start > All Programs > Analog Devices > VisualDSP++ 4.5 >
VisualDSP++ Documentation > Browse to Contents > Graphical Environment > Emulation Tools > Flash Programmer
> How To > Advanced Features > Verifying Contents of Flash vs. an Intel HEX data file.