UDOO: SAM3X Serial Port and GPIO Access Trouble

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

UDOO: SAM3X Serial Port and GPIO Access Trouble

Postby naru95 » Fri Jan 30, 2015 2:56 am

Hey guys, first post here!

I just installed archlinux ARM (thank you very much to all those who helped port it!) on my UDOO for a robotics project. I am able to use arch fine and it works really well on the device. I don't want a GUI on the robot, I want to leave it as a command line system. For my project, I need to be able to communicate with the SAM3X processor over the UART link and if possible, monitor the GPIO pins from archlinux.

The UDOO website says that the serial port to communicate with the SAM3X is /dev/ttymxc3 but when I run:
$this->bbcode_second_pass_code('', 'ls /sys/class/tty')

I cannot find ttymxc3 (there is a ttymxc1 but that's connected to the CN6 serial console). I do not find any other ttymxc* ports either.

Also, the UDOO manual says that I should be able to monitor and control the 76 GPIO pins through /dev/class/gpio but I can't find the correct GPIO pins there.
$this->bbcode_second_pass_code('', '[root@alarm ~]# cd /sys/class/gpio
[root@alarm gpio]# ls
export gpiochip128 gpiochip192 gpiochip64 unexport
gpiochip0 gpiochip160 gpiochip32 gpiochip96
')

Any help?

Thank you!
naru95
 
Posts: 1
Joined: Mon Jan 12, 2015 9:22 pm

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 17 guests

cron