- After setting it as a target, right-click the test case in the ‘Unit Test’ view and click ‘Check Debug Information’
- Build the user project directly or execute the build script registered in the ‘target environment’ setting in the controller tester project
- Verify that the build was successful
- After IAR Workbench run, select the workspace containing the built project (.eww file)
- Select the source file with the function to be tested in the workspace view, and click the left side of the line to add the debugging point
- Right-click the project in the workspace view and open ‘Options …’ to check the Run to option check in the Debugger item and check that it is designated as ‘main’
- Click the Download and Debug button at the top to start from main
- Press F5 to proceed to the debugging point to debug
Need more help with this?
Don’t hesitate to contact us here.