Coder Social home page Coder Social logo

embeddedlamp's Introduction

embeddedLamp

This is a project to show the interconnection of a piece of hardware and a Linux Kernel module. A userspace application is part of the project for demonstration.

Work is part of the module "Embedded Systems" for the Master's course held by Prof. Kissig, SS 2012.

Group members

  • Kamil Wozniak
  • Simon Wiesmann
  • Mathias Gölke
  • Bartholomäus Dedersen

Overview

General overview of project

Connection Hint for Working at Home

  1. Open a Console
  2. Connect either to rze-idefix1.rz.e-technik.fh-kiel.de per SSH or the VPN - Instruction
  3. Connect to 149.222.55.222 on port 7788 as user panda, i.e. ssh -p 7788 [email protected]
  4. Password is known for users of the project(see eMails)
  5. You can now access the /sys/class/gpio files and try out using the LED as blinking debug port

Kernel sources and compiler are on the system.

Documentation Snippets

panda@panda:~/embeddedLamp/kernel-module$ zcat /proc/config.gz | grep CONFIG_SPI CONFIG_SPI=y

two differnt kind of modes for SPI: Controller drivers ... controllers may be built in to System-On-Chip processors, and often support both Master and Slave roles. These drivers touch hardware registers and may use DMA. Or they can be PIO bitbangers, needing just GPIO pins.

Protocol drivers ... these pass messages through the controller driver to communicate with a Slave or Master device on the other side of an SPI link. from: http://www.kernel.org/doc/Documentation/spi/spi-summary

We use a protocol driver

first success picture: D2=Data, D1=Chip Select, D0=Clock

Boring Legal Stuff

Copyright (c) 2012, FH Kiel Master Student group

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Special Thanks

SVTronics as friendly manufacturer of the Pandaboard

embeddedlamp's People

Contributors

barde avatar bluntobject avatar kamwo avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Forkers

kamwo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.