On Mon, 20 Jul 2020 09:03:34 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user
[email protected] wrote:
>Hi
>
>I am just trying to print some values to check if the condition meets the
>requirement in beagle bone AI board. But it is not happening when I program
>PRUs.
>
I'm actually surprised you don't get some link error if you are using
printf() in a (C/C++) PRU program. The PRUs are not using an OS, so there
wouldn't be anything like STDOUT for a program running in a PRU.
>Do I have to configure UART in PRU to achieve this capability?
BB Black example at
http://exploringbeaglebone.com/chapter15/#High-Speed_Analog_to_Digital_Conversion_ADC_using_the_PRU-ICSS
appears to have the PRU write the data to shared RAM, and a program running
in Linux reading the values for output. (NOTE: reference to "chapter 13"
applies to the first edition of the book -- it is chapter 15 in the 2nd)
(NOTE: Examples also seem to be using PRUSS driver, and not the newer
RemoteProc
https://processors.wiki.ti.com/index.php/PRU_Debugging#Place_.22printf.22_statements
Note that this also does not use printf() IN the PRU code, but rather in
whatever program was used to load/start the PRU, and it interfaces, again,
by monitoring shared memory into which the PRU has written.
--
Dennis L Bieber
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/r6obhft3pifc6ujv0rbbkp5vbot1avhr32%404ax.com.