I think in your case Linux has configured pin. I don't use Linux. I'd look into 
Mark Y cookbook or
++The other one is whether the PRU can directly configure the corresponding 
resources that ++PRU can use without using ARM

You can Poke the registers using jtag and ccs thats what i was saying earlier


Mark L

Sent from Yahoo Mail on Android 
 
  On Fri, Feb 5, 2021 at 12:08 AM, 
[email protected]<[email protected]> wrote:   
#yiv4207642257 #yiv4207642257 -- _filtered {} _filtered {} _filtered {} 
_filtered {} _filtered {}#yiv4207642257 #yiv4207642257 
p.yiv4207642257MsoNormal, #yiv4207642257 li.yiv4207642257MsoNormal, 
#yiv4207642257 div.yiv4207642257MsoNormal 
{margin:0cm;font-size:12.0pt;font-family:宋体;}#yiv4207642257 a:link, 
#yiv4207642257 span.yiv4207642257MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv4207642257 
p.yiv4207642257msonormal0, #yiv4207642257 li.yiv4207642257msonormal0, 
#yiv4207642257 div.yiv4207642257msonormal0 
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:宋体;}#yiv4207642257
 span.yiv4207642257EmailStyle20 {color:windowtext;}#yiv4207642257 
span.yiv4207642257tgt {}#yiv4207642257 .yiv4207642257MsoChpDefault {} _filtered 
{}#yiv4207642257 div.yiv4207642257WordSection1 {}#yiv4207642257 
Hi Mark,

  

I just want to control a GPO(pr1_pru0_gpo0) of PRU0 ICSS1 and make it output a 
toggled level. Isn't PRU able to directly control its PIN?Or do I still need to 
configure it?The OS is linux kernel.

I suspect the system is hogging the resource so I can't control it directly. 
Then I directly mapped the corresponding register address and configured it to 
be part of PRU pin's mux function. The PRU finally has direct control over its 
output level, but I found that it can't be used directly by the PRU without 
other pins doing the same configuration. 

I Googled some information on Bealgebone, a note on using CCS with JTAG. There 
are mainly two doubts. One is that functions need to be configured by 
config-pin tool on ARM, but I found that this tool in my ARM kernel outputs 
information of Beaglebone, which makes me very frustrated. The other one is 
whether the PRU can directly configure the corresponding resources that PRU can 
use without using ARM. I saw a file about bbb_startup.js that seems to achieve 
a similar function, but BBX15 did not find it.

  

Best regards,

GD

发件人: 'Mark Lazarewicz' via BeagleBoard <[email protected]> 
发送时间: 2021年2月5日 0:12
收件人: [email protected]
主题: Re: [beagleboard] A novice for help! PRU __R30 GPO toggle.

  

You have jtag and CCS supports direct register examinations 

  

Set a breakpoint in main get out the TRM for bit settings of mux and config 
registers 

  

Let us know what you expect them to be and what they are and what OS is running 
on ARM

Sent from Yahoo Mail on Android

  


On Thu, Feb 4, 2021 at 6:56 AM, Gd chen

<[email protected]> wrote:

Hi,

  

I'm a beginner in BeagleBoard-X15. I'm using the beagleboard PRU and i want to 
debug the PRU gpio which using the CCS and the JTAG. I learned that PRU can 
directly control GPIO through __R30. I found out from the schematic diagram 
that the pin GPIO3_7 of P19 on Beagleboard-X15 is PR1_PRU0_GPO0. I want to 
output Toggle level directly through __R30 and then observe it through 
oscilloscope but it is doesn't work.I don't know what to do next.

Here is my code :

 JTAG and a source level debugger


-- 
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/715ccfba-b925-4847-badd-593e6c981c9fn%40googlegroups.com.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to a topic in the Google 
Groups "BeagleBoard" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/beagleboard/7I2jSLTZmPs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/52882370.1746810.1612455112873%40mail.yahoo.com.


-- 
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/000501d6fb85%2423ff62d0%246bfe2870%24%40robotics-robotics.com.
  

-- 
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/1421309951.1714665.1612509637746%40mail.yahoo.com.

Reply via email to