debug terminal
Hello all,
very new to Crossworks, trialing demo now, looks good.
Could someone enlighten me on the mechanism that is used to generate the debug terminal.
I guess that it is debug code added to the flash download that interacts with the debugger somehow. I'm using JLink.
This is probably the first of many dumb/silly questions.
Thanks for your patience and assistance.
Cheers.
Pete L.
-
Check the documentation or the help file for the functions defined in cross_studio_io.h, specifically the debug terminal input and output functions. Should work fine with your JLink.
Quite a lot of functionality available there. I don't use it nearly to its full capabilities; mostly just a debug_printf() to the debug terminal along the lines of "Okay, I got this far and foo is equal to ..." kind of thing.
-
Thanks Richard,
OK, yes I can see there is a lot there. Never had that facility before so it might take a while to see more uses than just the debug_printf. But just that will be handy. Yes the Jlink works fine, curious how the data is accessed , but it works and should not interfere with other code.
At the moment I'm quite bewildered at the number and type of properties and their application. I'm tending to leave them alone and just do it in the code.
Thanks again.
Cheers.
Pete L.
Please sign in to leave a comment.
Comments
2 comments