HOWTO : Use integrated Debug mode for your project
The PLS debugger can operate in integrated mode within SPC5Studio.
Once operating in integrated mode, the PLS debugger will not open in an external window, but will appear in an eclipse perspective.
The user can then easily switch between development tasks and debug in a same integrated environment.
- The compatible PLS debugger version is from 4.07.04 and beyond.
- The latest version can be downloaded from this location: http://www.pls-mc.com/spc5-udestk
1. Install PLS UDE feature
How to install ?
- Click on Help Menu
- Click on install new software
- Click the official update site
- Click on the Category PLS-UDE
- Finish the installation and Restart SPC5Studio
Select on finish and proceed with guided click through installation.
The PLS UDE feature installation will be operational after restarting SPC5Studio.
2. Check for PLS UDE feature installation
The following checks should be performed to verify if the PLS UDE feature is properly installed in SPC5Studio.
How to check?
Figure 4. UDE Perspective
The feature is properly installed if the "UDE perspective" is listed in the open perspective menu.
3. Enabling integrated debugging mode
PLS-UDE integrated mode is disabled by default, and the debug window is launched separately.
How to enable it?
- Click on Windows Menu.
- Click on Preferences Menu.
- In the Debug options, enable PLS UDE plugin mode.
- Apply and click on OK
Starting from now, the debug session will be launched internally in SPC5Studio.
4. Flash and debug your application
The debug perspective can be lauched once an application has been successfully generated and built.
A debug configuration dialog is created by default when you debug your application.
Update your parameters if you want and click on debug button.
SPC5Studio will switch automatically from its perspective into UDE perspective.
UDE Memtool will be launched in order to flash your binary file.
Figure 8. Flash memtool dialog (1)
Check your success result.
Figure 9. Flash memtool dialog (2)
And debug your software as usual.
Figure 10. PLS UDE Perspective
If you want to update your code on the fly, do not forget to switch of perspective.
Figure 11. Perspective Switch button