Setup Build and Debug environment for MSP430 MCUs using mspgcc and mspdebug in Ubuntu Linux

  MSPGCC is a GCC toolchain for the Texas Instruments MSP430 family of ultra low power MCUs, This includes the GNU C compiler (GCC), the assembler and linker (binutils), the debugger (GDB), and some other tools needed to make a complete development environment for the MSP430. MSPDebug is a free debugger for use with MSP430 MCUs. It ...

Posted in HOW-TOs | Tagged , , , , , , , , , , , | 8 Comments

Debugging eZ430-F2013 MCU with MSPDebug tool in Ubuntu Linux

This post brings you a way to debug eZ430-F2013 Development tool (Texas Instrument) from Ubuntu Linux 10.10 using MSPDebug tool. This tool provides source level debugging capability. Basically tt supports MSP430 MCUs  with JTAG and Spy Bi-Wire interface. It also supports simulation mode, which allows MSP430 code to be debugged without hardware. Another worth noted feature ...

Posted in HOW-TOs | Tagged , , , , , , , , , | 1 Comment

Debugging eZ430 Chronos with MSPDebug tool in Ubuntu Linux

Following my post on Configuring ez430 Chronos Wireless Development Tool in Ubuntu Linux, which talks about control center, this post brings you a way to debug eZ430 Chronos from Ubuntu Linux using MSPDebug tool. This tool provides source level debugging capability. Basically tt supports MSP430 MCUs  with JTAG and Spy Bi-Wire interface. It also supports ...

Posted in HOW-TOs | Tagged , , , , , , , | 4 Comments

Configuring ez430 Chronos Wireless Development Tool in Ubuntu Linux

  I have got my first wearable development kit in Watch form. This one is from Texas Instruments. It is called eZ430 Chronos Wireless Development Kit. It is based on 16-bit Ultra Low Power Micro controller Unit (CC430F6137). This Watch can be disassembled and use as development kit to deploy our own application. Its major attraction ...

Posted in HOW-TOs | Tagged , , , , , , , | 6 Comments

How to get C-Media USB Sound adapter 0d8c:000c working as primary sound card in Debian Linux?

I have a cheap USB Sound Adapter bought from Amazon, plugged in this with my QNAP TS-110 NAS box. This NAS box is going to serve as Table top Media center also. You can refer this post for more info on this. I have installed Debian Squeeze (6.0) testing branch. The kernel is 2.6.32 on ...

Posted in HOW-TOs | Tagged , , , , , , , , , | 14 Comments

Troubleshooting QNAP Debian NAS box by setting up DHCP and TFTP servers in Ubuntu

I have QNAP TS-110 home NAS box installed with Debian Linux 6.0 (Squeeze). Recently it was broken with latest kernel update (I expect all these since it is a Testing branch). I took this opportunity to learn more on recovery of QNAP. Martin Michlmayr maintains nice documents to get the recovery done. It has instructions ...

Posted in HOW-TOs | Tagged , , , , , , , , , , | 3 Comments

Torrent downloads with web based client “Transmission” for headless download server

This post depicts the installation and configuration of Torrent client called Transmission (This is the default torrent client in Ubuntu). I am using Debian Squeeze (6.0). Though the following instructions are more relevant to Debian, many of them are applicable for most other linux distros also. Some times before I had a discussion with Reddit users ...

Posted in Applications | Tagged , , , , , , , , , | 1 Comment

How to fix “X: user not authorized to run the X server, aborting.”?

This is just a simple tips to solve a error message when you start your X session with "startx" command as normal user. The error message may be like this: blackgod@debian:~$ startx xauth:  creating new authority file /home/blackgod/.Xauthority X: user not authorized to run the X server, aborting. In linux, by default root user is allowed to run X ...

Posted in HOW-TOs | Tagged , , , , , , , | 1 Comment

HOWTO: Adjust your monitor backlight from command line in Linux

This is a simple tips to adjust the monitor backlight from command line in linux. This is very useful in portable devices like Laptop and Netbooks to conserve power. Here I am using Ubuntu 10.10 Beta. You need xbacklight command to control the backlight. How to install xbacklight? $ sudo apt-get install xbacklight How to use xbacklight? To set maximum ...

Posted in HOW-TOs | Tagged , , , , , , , , | 2 Comments

How to launch your application in a specific CPU in Linux (CPU affinity)?

CPU affinity is a characteristic of Scheduler, which assigns a specific set of CPUs to a Process. Once it is assigned, the Process scheduler can't run this process in any other CPUs. Linux kernel does manage the CPUs effectively (Natural CPU affinity). This won't result in dramatic change in performance of your system. In some ...

Posted in HOW-TOs | Tagged , , , , | Leave a comment

Benchmark: How to know your Hard disk speed on Ubuntu in 4 clicks?

Recently I thought of testing the hard disk performance with hdparm command, which initiated to write about this graphical way of running Read Benchmark in just 3 mouse clicks with Disk Utility in Ubuntu. Disk Management in Ubuntu has become easy with Palimpsest tool called Disk Utility. Apart from disk partition management, it does SMART tests to know ...

Posted in HOW-TOs | Tagged , , , , , , , , , , | Leave a comment

Review with screenshots: New Installation wizard for Ubuntu 10.10 (Maverick)

Ubuntu 10.10 code named as Maverick is nearing release in coming October. It has come up with new installation wizard with some good improvements and some missing features. Overall it awesome, but some missing features for advanced users. Here is my hands on this installation. I used daily build of Ubuntu 10.10, so it should ...

Posted in Distro Review | Tagged , , , , , | 3 Comments

DIY: Digital Photo Frame on Linux

Those who want just quick instructions, go to Step-1 directly. I have QNAP TS-110 NAS box with Debian installed in it. I am using it for backup and also as NAS server. This is going to be switched on for 24x7. So I thought of adding a monitor to this headless device and use it ...

Posted in Do It Yourself | Tagged , , , , , , , , | 3 Comments

How to access remote linux machine files through SSH from GNOME File browser Nautilus

This is a simple note on how to access remote linux machine files through SSH from GNOME File browser Nautilus. My server is Debian Squeeze and Client is Ubuntu 10.04. Remote machine configuration Install the OpenSSH package as shown below. # apt-get install openssh-server Local machine configuration Install the OpenSSH client package as shown below, if not already installed. $ sudo ...

Posted in HOW-TOs | Tagged , , , , , , | 3 Comments

How to configure NFS Server and mount it in Ubuntu

This is a little note on how to configure NFS (Network File System) server and mount it in Ubuntu. The server is Debian Squeeze and Client is Ubuntu 10.04. Here is how to get it done. Server configuration Step-1: Installing NFS packages. # apt-get install nfs-common portmap nfs-kernel-server Step-2: Configuring file system to export Through NFS, you can export a ...

Posted in HOW-TOs | Tagged , , , , , , , | 1 Comment