FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5279 Discussions

How can I route scanf to UART in ARM in DE0-Nano-SoC board

HEass
Beginner
1,430 Views

We use PRINTF_UART macro to routes printf to UART instead of semihosting in the debugger console. But how we can router scanf to UART

 

I used this toturial to get this info https://fpgawiki.intel.com/wiki/SoCEDSGettingStarted

0 Kudos
3 Replies
Ahmed_H_Intel1
Employee
150 Views

Hi,

You can use the fscanf function and point it to the UART (File based style).

Regards.

HEass
Beginner
150 Views

Thank you for your replying,

I am builting baremetal application so, can you give me more details as I am beginner in this field.

Thanks.

Ahmed_H_Intel1
Employee
150 Views
Reply