When testing your code on a real target with tools such as Tessy or testIDEA that are using winIDEA functionality, care has to be taken that the tests are prepared properly. One of the main prepositions is that the test application works correctly on the target. Otherwise the tool reports an error, suddenly crashes or some similar issue occurs when running the tests.
1. Build a new test application for your target.
2. Test this application in winIDEA and correct if necessary, until you are able to manually debug it.
3. Check in winIDEA that the test application works according to your test requirements.
Usually a good sign that the application can be used for testing is that it reaches at least the main function on the device (core) where you want to do the testing.
Often building a new test application for testing on real target, requires already working application which then the test tool reuses. In such case you can start with example application that you can get from the target device vendor, winIDEA examples repository,... and adjust if needed so it works with winIDEA according to this solution.
Sorry this article didn't answer your question, we'd love to hear how we can improve it.
Note: This form won't submit a case. We'll just use it to make this article better.