>On 7 Apr 2019, at 10:46, hanfeizi <mailto:[email protected]> wrote:
>I first config pru pin with the pin address , the axis_0 work fine.
>as you mentioned, i reconfig the pin with pin number P8_45 --> 1845 as pruout, 
>but nothing changed .
>i still find this error in linuxcnc.log
>And axis_0 work fine , others no output.

Well, I don’t know your setup, and I’m no expert on the beaglebone.
But try 845 instead of 1845

Also, make sure to read your HAL file and check that you actually assign the 
values to correct pins, like here: 
https://github.com/machinekit/machinekit/blob/master/configs/ARM/BeagleBone/CRAMPS/CRAMPS.hal#L94
 




在 2019年4月7日星期日 UTC+8下午4:15:26,Bas de Bruijn写道:

>From: [email protected] <[email protected]> On Behalf Of 
>hanfeizi 
>Sent: Sunday, 7 April 2019 09:41 
>To: Machinekit <[email protected]> 
>Subject: Re: [Machinekit] BBB + Machinekit + 5 Axis Breakout Board axis_0 
>works fine, others no signal 

>thanks for your help 
>here is debug log. 

See these lines: 
Apr  6 17:36:11 beaglebone rtapi:0: 1:rtapi_app:3135:user hpg: Unknown pin: 232 
Apr  6 17:36:11 beaglebone rtapi:0: 1:rtapi_app:3135:user hpg: Unknown pin: 224 
Apr  6 17:36:11 beaglebone rtapi:0: 1:rtapi_app:3135:user hpg: Unknown pin: 236 
Apr  6 17:36:11 beaglebone rtapi:0: 1:rtapi_app:3135:user hpg: Unknown pin: 228 

For an example on how it’s used see this line: 
https://github.com/machinekit/machinekit/blob/master/configs/ARM/BeagleBone/CRAMPS/CRAMPS.hal#L30
 

for how and what, please see the hal_pru_generic component, and specifically 
this section: 
http://www.machinekit.io/docs/man/man9/hal_pru_generic/#i-o-pins 

Bas 
-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mailto:[email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to