Possible way to enable printf() while running an executable file
10-22-2020
05:21 AM
1,033 Views
jlee4
Contributor II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am playing around with MPC5748G with S32 Design Studio for Power Architecture Version 2.1. I am just wondering if there exists any way to monitor what is happening inside an executable file while it is running. In debug mode, I was able to use printf() by enabling semihosting and using a debugging i/o console. However, it seems this cannot be the choice when I try to use printf() while running an elf file. Any suggestion or direction will be welcomed.
1 Reply
10-22-2020
10:39 PM
1,027 Views


NXP TechSupport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
take a look at this article:
Regards,
Lukas
