Using CODEGRIP plugin >

Programming & Debugging

 


To start programming sequence, press Make and Program Device Project button from the debug toolbar :
 

 

When the programming is completed, you may begin debugging your project via Debug Main Project icon :
 

 

Make sure that you have unchecked the Maintain active connection to hardware tool in the Generic Settings of the Tools -> Options ->Embedded menu as in the image below :

 

 

 Tip

  
To ensure that that the debugger stops at the beginning of the main function, set the Debug Startup option to Halt at Main.

Also, in order to make the application restart correctly when released from reset, set the Debug Reset option to Reset Vector.