Java | Install Oracle Java JRE on Ubuntu

Java | Install Oracle Java JRE on Ubuntu

Recently Ubuntu has stopped automagically install Oracle Java for you when the OS is installed. This is because in August 2011, Oracle removed the license that allowed Linux distributions to package Java for use in its repositories. Therefore, there are two options for users of Linux to install a Java JRE. The first option is to install OpenJDK through the package manager, which is a open-source implementation of the Java Platform. If you really need Oracle Java though to run…

Read More Read More

x86 Bootloaders | Background

x86 Bootloaders | Background

It seems like magic that every time you press the power button on your computer, that everything just loads and works perfectly every time (well mostly every time). But what is actually happening under the hood that allows your computer to boot up into your operating system? I certainly do not pretend to know all the details, but I will describe what I do know at a high level and hopefully after reading this, the boot process will seem less…

Read More Read More

PIC microcontroller | Flashing LED

PIC microcontroller | Flashing LED

In this article I will look at flashing an LED on/off using a external clock delay. If you have not already read my previous articles, Pre-coding preparation and LED On, please do so now. Many of the concepts I have discussed in earlier articles will come into play in this project. With this project, I will be using an external 20MHz clock instead of the built in 4MHz clock that comes with the PIC16F628A chip. To do this, I looked…

Read More Read More

PIC microcontroller | Turn LED on with PIC assembly

PIC microcontroller | Turn LED on with PIC assembly

This is a very good place to start if you are just starting out learning PIC assembly. If you have not yet read my Pre Coding Preparation article about setting up the IDE and testing your configuration, please do that before reading this article. In this article I am going to describe how to turn on a LED in PIC assembly using the PIC16F628A microcontroller. To start off, open MPLAB IDE and create a new project using the Project Wizard….

Read More Read More

PIC microcontroller | Pre-coding preparations

PIC microcontroller | Pre-coding preparations

In order to ease into the learning process of how to program a PIC microcontroller, I used a PIC development board which took care of hooking up all of the electronic peripherals to the microcontroller. The specific board that I am using is a EasyPIC5 Development System, by MikroElektronika. Below is the image of the board which has all the necessary peripherals for development and the microcontroller can be programed via USB 2.0. Click the image to zoom-in.

Linux Device Drivers | Concept character driver

Linux Device Drivers | Concept character driver

I have created this very simple character driver just to see how the process works from beginning to end when creating a device driver in Linux. Before we start, this driver is going to be compiled against the Linux 2.6 kernel and will probably not work in earlier versions. Also, make sure you have set up your development environment and that you have the Linux 2.6 kernel header files installed. If you need to review any of this, look back…

Read More Read More

Linux Device Drivers | Pre-coding preparations

Linux Device Drivers | Pre-coding preparations

A good place to start playing around with the Linux kernel and building device drivers, is inside a virtual machine (VM). I am running Windows on my desktop, but I use a VM to run different distributions of Linux. These VM’s are a good place to do development on because if you totally destroy the operating system, no harm is done to your host operating system (which is Windows in my case). To create a VM, you first need a…

Read More Read More