Skip to main content


Showing posts from September, 2013

HelloWorld on OLinuXino (ArchLinux ARM) using C

So assuming you have an iMX233-OLinuXino-MAXI and are running ArchLinux on it, here is how you you would go about running a HelloWorld application on it:
Gain access to OLinuXino's console over serial port and login using the credentials (login: root & password:root)Issue the command to OLinuXino for performing a full system upgrade, make sure the board is connected to your WiFi router using an Ethernet cable as it will use the internet to fetch the latest packages:
pacman -SyuReboot the board by issuing the command:
rebootInstall the compiler and other basic development tools onto OLinuXino (When asked, press enter to keep all options at default):
pacman -S base-develReboot the board.Use the nano text editor to write a helloworld program:
nano hello.cType the code:

#include <stdio.h>
#include <stdlib.h>
int main(void) {
        puts("!!!Hello World!!!");

Press Control+O to save the file and Control+X to exit.Compile the file:
gcc hello.…

The 3rd annual M2M Conclave India 2013 - A Report

Date: 2013 September 20 Venue: The Lalit, Mumbai Official site: Actual duration: 10am to 6pm
Actual Agenda: The conference was split into 3 sessions of 5 speakers each. These shorter sessions were easier to bear. As always, 5 star hotels can never get their air conditioning right - it was too cold for sit for long durations inside the hall. This was ironic as the conference touched on using M2M for improved building automation many times.
Originally each session had a theme but at runtime, most speakers deviated from the topic at hand and delved deeper into various issues involved in M2M implementations. Their insightful experiences were valuable.
A few stalls had been put up by M2M device manufacturers and a few system integrators. Actual Audience Composition: A large number of delegates were from cellular service providers like Vodafone, Idea, MTNL. Rest were from organizations involved in manufacture of M2M hardware and/or M2M service providers.

UART1 echo on LM4F232H5QD Evaluation Board using CodeComposer Studio

NOTE: TI renamed Stellaris LM4F232H5QD to Tiva C Series TM4C123GH6PGE - Both these part numbers refer to the same chip. StellarisWare is now superseded by/renamed to TivaWare 2.0. The LM4F232 USB+CAN Evaluation Kit is now rebranded as Tiva™ C Series TM4C123G USB+CAN Development Kit. This blog post refers to the old StellarisWare (SW-LM3S-9107(Stellarisware).exe) and old CodeComposer Studio (CCS5.2.1.00018_win32) and the old part numbers for the microcontroller chip and the evaluation kit.

The Texas Instruments Stellaris LM4F232H5QD Evaluation Board is supplied with uart_echo project (C:\StellarisWare\boards\ek-lm4f232\uart_echo) which shows how to use UART0. The UART0 appears on the computer as a virtual serial port. The PA0/PA1 pins which act as the TX/RX pins of UART0 are connected to the computer via the on board In-Circuit Interface.

If we want to use UART1 instead of UART0, the code must be modified accordingly.
A special point worth noting is that UART1's TX/RX signals can b…