You can let debugger program the flash as a part of the debug action. This method of flashing is especially useful for small size (less that 64 KB) applications.
All P&E connections (Multilink, Cyclone, OSJTAG, and OSBDM) in Microcontrollers can handle flash programming. For this, the P&E cable itself will perform the flash programming directly. The process followed is:
If you have your target in RAM, this feature of P&E connections lets debugger write the application bytes to the P&E connection, which are written directly to the target. This is because debugger can directly modify the RAM content.
To flash an application to the RAM target:
The Debug Configurations dialog box appears.
The Download page appears in the Debug Configuration dialog box.
As the P&E flash programming is performing the verify as well, you do not need to check the Verify checkboxes in the Perform Standard Download section.
So, just by debugging your project, you can flash your RAM targets.