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 <beagleboard@googlegroups.com> 
发送时间: 2021年2月5日 0:12
收件人: beagleboard@googlegroups.com
主题: 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 
<https://overview.mail.yahoo.com/mobile/?.src=Android> 

 

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

<chen...@robotics-robotics.com <mailto:chen...@robotics-robotics.com> > 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 beagleboard+unsubscr...@googlegroups.com 
<mailto:beagleboard+unsubscr...@googlegroups.com> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/715ccfba-b925-4847-badd-593e6c981c9fn%40googlegroups.com
 
<https://groups.google.com/d/msgid/beagleboard/715ccfba-b925-4847-badd-593e6c981c9fn%40googlegroups.com?utm_medium=email&utm_source=footer>
 .

-- 
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 
beagleboard+unsubscr...@googlegroups.com 
<mailto:beagleboard+unsubscr...@googlegroups.com> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/52882370.1746810.1612455112873%40mail.yahoo.com
 
<https://groups.google.com/d/msgid/beagleboard/52882370.1746810.1612455112873%40mail.yahoo.com?utm_medium=email&utm_source=footer>
 .

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/000501d6fb85%2423ff62d0%246bfe2870%24%40robotics-robotics.com.

Reply via email to