FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6159 Discussions

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

HEass
Beginner
1,747 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
467 Views

Hi,

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

Regards.

0 Kudos
HEass
Beginner
467 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.

0 Kudos
Reply