Is it possible to save one log file from CUBE IDE TERMINAL?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-10 6:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-11 2:13 AM
Hello @JSILV.2​
First let me thank you for posting.
Could you please explain what you mean by CUBE IDE TERMINAL.
From my side I could think of the console.
For the build console you can export it to a log file.
- Go to the project properties.
- C/C++ Build --> Logging and enable the build logging also the path where to save the log.
But if it is about another console (for serial communication for instance) you could only do a copy/paste to the file you want.
Kind regards,
Semer.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-11 9:14 AM
Dear CHERNI
Thanks for your answer that, although was not my question, is was didatic for me.
I am refering to the Serial TERMINAL which is possible to install into CUBE IDE from ECLIPSE. I would issue "printf" of a variable and collect all this into a file.
Anyway, if you know some way to send the variable value directly to a file, with or instead the serial port, or any port, please, leave here your hint.
As you might suppose, this would be good for post-analysis. Is it possible?
I am considering copy & paste as you pointed-out. I am using Hercules for it successfully.
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-15 2:34 AM
You can also use ITM Console and the SWO pin to print messages. Intended to be used with debug only. The ITM console allow you to export log-files. But as I said, only assuming that CubeIDE+ST-LINK is connected...
Kind regards, Mattias
