SEARCH
TOOLBOX
LANGUAGES
modified on 5 December 2012 at 22:22 ••• 127,751 views

Electrum Examples

From Manuals

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
These code examples will help you get started with your user space applications on the Micromint Electrum. Our support staff (support@micromint.com) can assist you with questions on specific functions.
These code examples will help you get started with your user space applications on the Micromint Electrum. Our support staff (support@micromint.com) can assist you with questions on specific functions.
-
Since Linux implements virtual memory, there is no direct access to processor registers. One alternative to access processor registers in user space is to open a handle to /dev/mem and then use mmap() to map a physical memory address to a virtual memory address. These examples use this approach.
+
Since Linux implements virtual memory, there is no direct access to processor registers. One alternative to access processor registers in user space is to open a handle to /dev/mem and then use mmap() to map a physical memory address to a virtual memory address. These examples use this approach to access processor registers.
Applications that require full control of timing or preemption should implement device drivers or modules in kernel space. The [http://wiki.micromint.com/index.php/ARM9_Books Linux Device Drivers (LDD) book] covers most concepts required for device driver development. Note that a [http://lwn.net/Kernel/LDD3/ free online version of the LDD book] is available. The [http://wiki.micromint.com/index.php/Electrum_Documentation#Software_Updates kernel source code] also contains device drivers for Atmel processors.
Applications that require full control of timing or preemption should implement device drivers or modules in kernel space. The [http://wiki.micromint.com/index.php/ARM9_Books Linux Device Drivers (LDD) book] covers most concepts required for device driver development. Note that a [http://lwn.net/Kernel/LDD3/ free online version of the LDD book] is available. The [http://wiki.micromint.com/index.php/Electrum_Documentation#Software_Updates kernel source code] also contains device drivers for Atmel processors.
{| border="1" cellpadding="2" cellspacing="2"
{| border="1" cellpadding="2" cellspacing="2"
-
|+ align="bottom"|''Eagle Examples''
+
|+ align="bottom"|''Electrum Examples''
|-
|-
!Example
!Example
Line 12: Line 12:
!Electrum 100
!Electrum 100
|-
|-
-
|[[Electrumhello Example|hello]]
+
|[[Electrum hello Example|hello]]
|Simple console output
|Simple console output
|align="center" | [[Image:checkmark.gif]]
|align="center" | [[Image:checkmark.gif]]
|}
|}

Revision as of 14:53, 3 January 2011

These code examples will help you get started with your user space applications on the Micromint Electrum. Our support staff (support@micromint.com) can assist you with questions on specific functions.

Since Linux implements virtual memory, there is no direct access to processor registers. One alternative to access processor registers in user space is to open a handle to /dev/mem and then use mmap() to map a physical memory address to a virtual memory address. These examples use this approach to access processor registers.

Applications that require full control of timing or preemption should implement device drivers or modules in kernel space. The Linux Device Drivers (LDD) book covers most concepts required for device driver development. Note that a free online version of the LDD book is available. The kernel source code also contains device drivers for Atmel processors.

Electrum Examples
Example Description Electrum 100
hello Simple console output Image:checkmark.gif