Monthly Archives: July 2012

Access Internet with 8/16 bit controllers…

Woah, Its been days, since my last post!  Actually I was busy out doing nothing..:)
You may declare me as the most LAZY guy ever!!

So, this time I actually come up with an idea to share upon, that is  how to have internet access on my 8 or 16 bit Embedded controllers.  A random thought gives me ideas like WiFi, USB dongle,  Ethernet, or a modem!!

Thats it!! I can`t  get some other ways(currently).  You are getting??,…Please do tell me over the comment box!!.

So I have my micro controller like that of 8051/AVR or PIC either of them.  Its actually not a problem at all, the concept remains same for all of them.  Ohh I forget the exceptional one our Open Source player Arduino!! yeah, for this the rules are quite different for different hardware(one may use shields with it).

Adding wifi/usb dongle support to 8-bit devices is like doing Insane work! (at least for me…lolz).  Also, making it work over ethernet ia also a mess because you will have to interface ethernet driver also and then write the  protocol!!!!!!!!!
I can`t! So, the only thing remained with me was GSM/GPRS modem.

Making the internet work out of it was really a bad experience for me for the first time.  Literally, It took me almost 3 days at my second try for such a simple work!!!!

I would really like to thank GsmMan at EDABOARD and  my friend Avik Dhupar for helping me in this. Read the rest of this entry

Advertisements

Using qemu for ARM

hello friends !!!

Those of you who want to  work on arm might first wish to taste its flavour, then go for the board.

This scenario demands for virtual arm processors to work on & and there comes the QEMU… 🙂

lets first be familiar with QEMU ( Quick Emualator) is an open source machine emulator and virtualizer. It has two operating modes-

  1.  User mode emulation – for running single programs cross-compiled for various architectures like ARM, Power PC, etc..
  2. Computer emulation – for emulating full computer system, virtualizing the whole processor. 🙂

However, There is lot of stuff on wiki, you can refer there for detailed info.. 🙂

In this article, we will focus on various HOW-TOs for installing qemu and executing the programs for ARM architecture.. 🙂

for installation there are two options 🙂

  1. get it directly from repository- using apt-get-install or yum etc.. as per your distros..
  • for fedora – yum install qemu (it will automatically download and install qemu for all architectures).

2. download the source code and compile it..

You can check various arcitectures in the terminal using command

$ qemu

n den press tab..

list of supported architectures by qemu

After we have qemu installed on our system, now is the turn to start our journey to virtualization:

lets start with the arm processor … we will write a small HELLO WORLD program and cross-compile it for the arm architecture and finally execute it in user-mode-emulation… Read the rest of this entry

Fun with RFID!

RFID stands for Radio-Frequency IDentification. It actually refers to small electronic devices that consist of a small strange chip and an antenna. The chip is capable of carrying 2,000 bytes of data or less(as what I have read from somewhere…lolzz).

The RFID device serves the same purpose as a bar code or a magnetic strip on the back of a credit card or ATM card; it provides a unique identifier for that object. And, just as a bar code or magnetic strip must be scanned to get the information, the RFID device must be scanned to retrieve the identifying information.

So, that was the introduction with the RFID.  My RFID device is from MAC-NET technologies and it works on 125KHz.

Actually whenever I am demotivated, I use to shout saying anything that makes me feel better, or play any Rock song!

Recently I developed a habit of shouting MANNN, YOU ARE JUST AWESOME, so everytime I do anything good or demotivated ; I scream it. It is actually a LOL sort of activity…:) Read the rest of this entry

Android ICS 4.0.3 on Bealeboard

Its pretty expensive otherwise I may definitely had already put it in my NEW car 🙂 🙂  and used it for various purposes.
Yes, I am talking for the Beagle-board/bone.  Its indeed a great thing, and this particular post is just showing the Android ICS 4.0.3 running over my beagleboard-XM.

I will say Android is defintely a end-user product.  I didn`t find any of the system utilities in the distro provided by the Texas Instruments.  Guess, I have to statically recompile the filesystem and kernel again to add support for some of the utilities. 😦

Read the rest of this entry

Yet another Hello World: This time for ARM

Holidays are getting more and more frustrating.  I am about to OR already LOST and confused a lot!!!
Mann, I need a break…

Though recently I had a one and a half week break, still!!! So What,  I need another one, Afterall I am a fun loving guy..

Ummmm…, This post is for those people who want to see the simplest of the application for the ARM architecture.  Basically it is incredibly simple!
For ex- when we compile a program, a normal C program or (my fav.) assembly program, what we do?

We basically do nothing(out of the total work to be done)! We write a simple C code, the simplest part!, and compile it for our PC architecture using any of the preferred compiler (most of the time its GCC, I guess)

A Few of the Coders and App. developers rarely bother about this stuff(I dare not to say for the whole community…lolz).. How actually a C language code results in giving out the output? The most interesting part and the most difficult too is usually left over.

Lets take a simple example of hello world :

Read the rest of this entry

Hpdv6 laptops with Linux : solution with Mageia

Finally, my laptop is USABLE and worth of it…
My HP dv6 laptop with specs as:

  •  Intel® Core™ i7-3610QM  2.3 GHz

  • 6gb RAM(4+2)

  • 640 GB SATA (5400 rpm)

  • NVIDIA GeForce GT 630M (2 GB DDR3 dedicated)

  • 3 SuperSpeed USB 3.0

  • 4 x Beats Audio™ Internal speakers; Beats Audio™ Audio playback; HP Triple Bass Reflex Subwoofer

Yeah, I said finally my laptop is usable because the day I went to purchase  my laptop, I went with an intention to purchase a dos based laptop.  But ALAS! there was no such dos based laptops with a satisfactory configuration so I HAVE TO accept and buy windows laptop.  It has windows 7 home Premium pre-installed..

->After Coming to Home, without wasting any time, I inserted the Fedora 16 dvd in order to install it.  But just after the initial startup it got hang!!!!
->I thought it as a problem with the Fedora DVD, so repeated the procedure several times but still the same problem!  Then I used my Fedora 15 DVD, again the same problem, Installer(Anaconda) got hang at some or other point, no movement via mouse, no effect of the NUM LOCK led. Read the rest of this entry