Using flash loaders
Setting up the flash loader(s)
Choose Project>Options.
Choose the Debugger category and click the Download tab.
Select the Use Flash loader(s) option. A default flash loader configured for the device you have specified will be used. The configuration is specified in a preconfigured
boardfile.To override the default flash loader or to modify the behavior of the default flash loader to suit your board, select the Override default .board file option.
Aborting a flash loader
Press Ctrl+Shift+. (period) for a short while.
A message that says that the flash loader has aborted is displayed in the Debug Log window.
This method can be used if you suspect that something is wrong with the execution, for example because it seems not to terminate in a reasonable time.