Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 01-13-2014, 01:26 AM   #1
LQ Newbie
Registered: Apr 2013
Posts: 5

Rep: Reputation: Disabled
How to access UART registers which is memory mapped at address 0x2530c00 in Linux?

My board has a 8250 UART which can be configured in internal loopback mode. I want to test this UART and want to configure it for internal loopback. This UART is MMIOed at 0x2530c00 address. Can I do it through linux user level code? Or Do i need to write a kernel module? What are the functions I need to use to access the UART registers. My goal is to set LOOP bit in MCTRL register and set the internal loopback mode and test the UART by sending data.

Please guide me.



linux, serial port, uart

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Minicom offline but Uart registers working getasif Linux - General 3 07-16-2011 01:05 PM
[SOLVED] Access not within mapped region at address TheIndependentAquarius Programming 2 01-28-2011 09:42 AM
How to access Physical memory not mapped in kernel sbc Programming 0 02-09-2009 09:13 AM
Academy project: Direct Access for Serial ports and UART registers uprooter Programming 0 11-13-2008 08:55 AM
Memory mapped device access in Linux tsik Linux - Software 1 10-31-2006 09:26 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 09:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration