Programming the microcontroller via Flashing 

There are at least two cases where you might need to flash the program to your microcontroller instead of debugging: 


1) When you only have the executable and you do not have the source code for debugging. In this class, you are regularly given a golden solution to a project without the source code. Here is how flashing works in this case: 

2) Another scenario where you may need flashing is when you make a small change to your program and you would like to immediately see the effect of the change without flashing. In this case, all you need to do is to click directly on the flash icon (folder with an arrow inside). This will flash the "Active" project.