Dec 13, 2018
11:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 13, 2018
11:17 AM
Hello, I'm new to MCU programming in general so I apologize if this actually a very basic procedure. I would like to output printf() messages to a debug console using UDE. Any help regarding this matter would be greatly appreciated. Thanks in advance!
3 Replies
Dec 14, 2018
06:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 14, 2018
06:26 AM
Hi Abhijeet,
You will first need to copy two sources from within the AURIX board support packages:
And add these to your project. Then rebuild your project and reload it into your UDE debugger. In here you must then select the 'Views > Simulated I/O' and you're good to go.
If you're a first time user of our tools then it may be wise to first try one of our examples on your target. These can be found using the following steps:
You can now select an example for the specific development board that you are using. Note I'm specifically referring to these examples because they include relevant files of our board support packages, which you'll also need. I also recommend you take a look at the following documentation:
In part it explains what I have already outlined just now, but in a more detailed fashion.
Best regards,
pska wrote:
Hello, I'm new to MCU programming in general so I apologize if this actually a very basic procedure. I would like to output printf() messages to a debug console using UDE. Any help regarding this matter would be greatly appreciated. Thanks in advance!
You will first need to copy two sources from within the AURIX board support packages:
\bsp\tricore\common\src\simio_pls_tc.c \bsp\common\h\simio_pls.h
And add these to your project. Then rebuild your project and reload it into your UDE debugger. In here you must then select the 'Views > Simulated I/O' and you're good to go.
If you're a first time user of our tools then it may be wise to first try one of our examples on your target. These can be found using the following steps:
- Select 'File > New > Example...' Wizard
- Select 'HighTec Examples' and press Next
- Expand the 'TriCore Free Entry Toolchain' Tree
You can now select an example for the specific development board that you are using. Note I'm specifically referring to these examples because they include relevant files of our board support packages, which you'll also need. I also recommend you take a look at the following documentation:
\docs\eclipse-quickstart-en.pdf
In part it explains what I have already outlined just now, but in a more detailed fashion.
Best regards,
Henk-Piet Glas
Principal Technical Specialist
Principal Technical Specialist
Feb 14, 2020
01:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 14, 2020
01:46 PM
Hello, I want to do the same but I'm using the Lauterbach debugger instead of UDE. How can I do the same? Are there some similar files for Lauterbach?
Feb 19, 2020
06:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 19, 2020
06:41 AM
Hi Daniel. The iLLD has some Ifx_Console functions to use ASCLIN0 as a console. On a TriBoard, that routes through the FTDI IC to a Virtual USB Com port, so you can use a terminal program (e.g. TeraTerm) to communicate with the target.
See the AsclinShellInterface demo for an example.
See the AsclinShellInterface demo for an example.