Open SmartFactory-github opened 4 years ago
@SmartFactory-github remove the lines that dont' set anything..
P9_13
Regards,
Hello @RobertCNelson !! thank you always for your quick assesment and response.
Well, I removed the lines that don't say anything, but still without success. Sometimes I get the Invalid mode: in
, and after rebooting or compiling, I get P8_07 pinmux file not found
.
So I am questioning my process, as it is the first time I try to define a DT and use it for the interface between machinekit and a PBX-BB rev5.2 for the BBB. I need, once again, your assesment. I promise to make a public tutorial when this gets working.
I am using the Machinekit image for beaglebone.
I am using two guides for my process, the one in the machinekit blog, and the one in the google forum.
At first I used the BBIO GUI to generate the bbio file which defines the pin and configurations I need for MK. As I could not use properly the config-pin -f <name of the file>
tool, I am now trying to edit directly the cape-universaln-00A0.dts file.
This is where it gets confusing. As I understood from the forum, I should remove all traces of the conflicting pins from the "exclusive-use" section, and from the interfaces (I2c, PWM, etc), but then how will the BBB know I need to use them?
As I undertood, then, supposing I have defined my .dts and I had compiled it, the next thing is to copy the .dtbo to /lib/firware
and enable it in /boot/uEnv.txt
.
After this, all I have rest to do, to define the pin assignment in a .hal file, and parameters in the .ini. right?
It has been troublesome as most of the documentation is for kernel 3.8 or earlier, and many things have changed for the recent version.
thanks in advance,
regards,
Sergio Salinas
Hello! I have issues using the config-pin -f .bbio command.
My bbio file, generated with the GUI is: DT-mk-probotix-bb.txt But, as RobertCNelson recommended, I removed the lines
When I run
sudo /opt/scripts/tools/version.sh
I getbut when using
config-pin -f DT-mk-probotix-bb.bbio
, I obtain aInvalid mode: in
I attach my uEnv.txt configuration file. uEnv.txtI plan to use this BBIO for Machinekit configuration for the Beaglebone Black
thanks in advance
regards,
Sergio Salinas