Home

Advertisement

Customize

Oct. 5th, 2008

Unnamed project - An embedded HTTP server using an AVR

 Okay, this is kind of late, because i've started working on this before last week. There's a hardware design contest going on at office. Not that hi-fi, hi-tech stuff where you have to send a rocket to the moon and things like that. But it's got its own standard. Out of the six options given, I chose the Ethernet stuff. Simply because it's an opportunity to work on this area. And because, Microchip has a very handsome embedded Ethernet controller called the ENC28J60, that is actually an Ethernet-to-SPI bridge. The microcontroller being used is an AVR. This is the first time I'm laying my hands on an AVR, so decided to go ahead with the ATmega32A. It's an 8-bit RISC micro from Atmel with 32k internal flash and a lavish 2k SRAM.

The schematic is almost ready with the Ethernet chip circuit complete, and the microcontroller circuit almost half-way through. The ENC28J60 is available, thanks to Microchip for sending me the samples. And now, expecting the same generosity from Atmel too...

The project is yet to be christened. EthAVR is a good option. But I have to discuss it with my teammate too. Soon, I'll be working full swing during my leisure time.

Aug. 10th, 2008

Updates

Well, it's been some time since I've posted here. There have been some major developments.  First of all, my probation period ended at my company. I am now a confirmed employee. Feel great. Actually I completed 6 months into my job on May 21st, but due to many (unknown) reasons, the letter of confirmation was handed over to me only on July 1st.

Visited Yelagiri on May 17th, with my parents and four of my very close friends. It was the long road trip that we enjoyed better than the place. The place is good. Somewhat cool, compared to the scorching heat at Chennai Metro. There's nothing much to see, if visitors are looking for "must-see places". It's the natural beauty that is to be explored. Came to know that there are some good trekking paths, but considering the group that we were and besides, due to time constraints, we dropped those plans. It took us nearly 5 hours+ by road. On our way back, we visited a sericulture farm, where, a very knowledgeable official explained to us what exactly is being done, and why is the farm situated at a remote place like that. There were preserved samples of the various stages in the lifecycle of the silk moth. Hadn't it been for the head of the centre, we would've missed out on all these interesting pieces of information! After travelling for almost 4 hours, we reached Sriperumbudur where Rajiv Gandhi was killed in a bomb blast. It is a very quiet place, aesthetics visible all around. Dinner was at Kumarakom, Adyar. The same place where me and Jyothi threw a grand lunch cum get-together party cum birthday party for our batchmates in April.

The next day, I took my parents to the Fort museum, and then to the Ramakrishna Temple. The city was too hot, so we limited ourselves to this much of sightseeing. Evening came, and it was time for them to pack their bags. The three days I spent were really pleasurable. It was indeed terrific, the Yelagiri trip, for everyone enjoyed the company. Hoping for more such occasions!

Some disturbing news from inside my company. They're cutting down on the human resources. That means I need to perform really well for healthy chances of survival.

One of my batchmates, George lost his father on Saturday, Aug 2nd. It was told that his dad had a cardiac arrest in a water-logged paddy field. George had helped with my lessons at college when I was trying hard to clear my backlogs. The funeral was over on Aug 6th. He's planning to join CEC as guest lecturer now.

Apr. 7th, 2008

The grand get-together at Chennai

It's the hot summer and people like us who work sitting inside the cubicles of our air-conditioned offices find it a bit difficult to go out during daytime. But we did it yesterday. It was a grand get-together, with 19 of us CECians having a great time at the Kumarakom Restaurant, Adyar, Chennai. Unfortunately two guys missed out - Rakesh and Manoj. The lunch was exotic, by Chennai standards.
To put it simply, it was my and Jyothi's combined birthday treat. Better late than never. I am 2 months late, and she is 12 days late ;-)
There are some things money can't buy!

After the sumptuous lunch, and a photo session, we parted. Only to find that almost everyone were in the Odyssey!

Nov. 22nd, 2007

Dawning of a new era - Hadware engineer, at last

Today is my official first day at office... Hardware Engineer at  SCM Microsystems, Chennai. A good place to be, for the fresh electronics engineer, just like me. I had 5 levels of stringent quality testing to pass, to join here. First a general aptitude test, then a technical aptitude test, a relatively mild Technical interview, an HR interview, a tougher technical interview and that's it!

Jul. 16th, 2007

Life at PSG Tech, courtesy : Cognizant

Placement is of prime importance in  a professional course, particularly engineering. I was fortunate enough to gain a berth in the Cognizant bandwagon before i finished my 6th semester. Now, I'm on training, actually, a training before the actual training. Life's good inside the campus. Enjoying. The day starts with a lecture session at 0930 that goes on for about 2 hours. Then they rotate strike and another lecture for another 2 hours. a 45 minute lunch break followed by another 2 hour lecture. Then the lab session, called hands-on session. till 1900. The interesting part is that the lectures are all conducted in a videoconferencing like manner. Not upto my expectations, but still it can be called e-learning...

May. 3rd, 2007

My Bootloader - Here's how it was done...

The bootloader is a small program that resides in the first 512 bytes of the partition containing the kernel of the OS and boots it. So, if we get hold of these 512 bytes, we can invoke the OS of our choice. GRUB provides us the option of installing it in the MBR or in the first 512 bytes of the active partition. On the contrary, Windoze bootloader, the ntldr can place itself only in the MBR. That's how it was designed, but clever engineers in the open-source community have made a work-around for this stigma, in GRUB and other clones.

First I had 2 Windoze installations. The ntldr worked fine. It was installed in the MBR. My challenge was to invoke the GRUB using ntldr. A rather simple task after I accomplished it! Just copy the first 512 bytes of the linux partition into a file, and then reference this file in boot.ini (the bible and the koran and what not, of the ntldr). It now thinks this reference is a windoze installation itself, when it reads the entry in the file. But the "file" is actually the loader for the GRUB. Now the big question is how to get hold of the first 512 bytes. Simple. use 'dd' command! It's too simple to use.

Messed up bootloader? Simple. First decide which one to be placed on the MBR. If it's GRUB, then simply run grub-install with the partition/ide- specific device identifier. eg. grub-install '(hd0)' installs grub onto the MBR. hd0 is the first HD, on the primary IDE. Suppose i need to restore ntldr to MBR. Simple. Run a recovery console from an XP installation disc and use the FIXMBR command. it "fixes" the windoze.

Cool, right? But very risky too. One wrong move, and your entire HDD will be wiped clean!

B.Tech. means Documentation, documentation and more documentation...

Yeah, that's what B.Tech is all about. I learnt it the hard way. If you have marks, then probably you would've documented whatever you'd done, or more correctly, you've claimed to have done. That's it. Academic projects, usually 2 in number are seen as the litmus test for the level of practical knowledge acquired during the 4 years of engineering life. But to my dismay, it's more of a show of documentation than the show of electronic prowess. If there's something solid to be documented like hell, then in most cases, it'll be the product of some professional team. Kerala has got some very famous (or infamous?) groups working solely for "helping" engineering students complete their projects. Nice business if you know a thing or two better than the so-called budding engineers. You get easy money, that too putting to good use the knowledge you acquired painstakingly. To be frank, I had plans to start something of this sort, capitalizing on the lazy and easy-go-lucky type of guys. People who seldom like what they're doing, and do everything to land up in that alluring 3-letter word: job. People who claim to "enjoy" college life, just like enjoying a picnic, or may be a movie. Zero effort, maximum entertainment.

I had aimed sky-high. Hi-Tech. That is what I wanted my engineering life to be. But alas, my dreams and aspirations never took off. I nose dived into the depths of grief and frustration. A minor project got washed away in the super-managerial skills of the team. Each one teach one. But the one here meant a management lesson- how to play a better manager. The end was a black box that too king-size, which can be called a coffin, rather than a casing. And guess what's inside? Two massive transformers, and some untidily stuffed wires and 2 (or 3?) boards. Oh yeah, it does have human-interface gadgets - 4 unconnected microswitches, and a connected AC switch. Great. But the documentation was foolproof. Safe and sound. I got more than what I deserved for making someone make that black box for us. Something is better than nothing.. Proverbs and analogies are aplenty, enough to stuff my otherwise silent mouth.

Another 12 months and a more serious stuff to lay our hands on. Right from the start documentation was picture-perfect. I wondered if engineers are reared to be document-makers! The way things turn out, as it had before, nothing unusual. Just like saying intel inside-idiot outside, here it is bullshit inside-papers outside. The moment someone talks about getting the documentation ready, the entire focus shifts from the actual project to the subsidiary documentation. There is no need to do anything over here. What matters is documentation. There were some major changes in the hardware part and some unexpected delays in the arrival of parts. But that was not quite a reason for dropping the entire project that too a part of a grand mega project at a very reputed and premier R&D center. Dropping the stuff is not done officially. It means documenting whatever is done and whatever is supposed to be done, with the latter part left untouched, because it takes great pain to accomplish. Yes, the doing part. It takes more than words and more than hot debates to shape up the actual physical substance. I'd always yearned to be part of something big. Not just being part of the big thing, but being able to contribute, more than documents.

Hey, why am I writing all this? This is again documentation... Documentation of my feelings. Yeah, documentation, documentation and more documentation... That's what B.Tech is all about

May. 1st, 2007

My Bootloader

I like tinkering with bootloaders. The other day, I played and played and played with my GRUB and ntldr, and in the end I screwed them all up. Yesterday night, or today early morn, I installed Debian Sarge 3.1. I had been running Ubuntu for quite some time, and I thought I'll tinker with the king of all linux distros. I had used debian, but had to move on to ubuntu when they released Edgy Eft. Nice way playing with the first 512 bytes of the active partition. That's where the boot loader resides. Hadn't it been for the dd tool in linux, things would've been pretty hectic. This magic tool is simple yet very powerful. Only thing you need is the root privilege. After letting the ntldr remain at the MBR for quite some time, I moved on to the first sector of the C drive. Just for a horror. Now I'm gonna revert the process and make ntldr invoke GRUB. I'd tried a couple of other bootloaders i could lay my hands on, thanks to Pravi.

Apr. 30th, 2007

Beginning of the end... Now it's the end of the end....

Another College Day cum Arts Day cum Women's Day Celebration for College of Engineering Chengannur... As always, I remained a silent spectator to the completely useless and boring crap. Though I used to be part of such things at school, this stuff has always been a waste of invaluable time for me since I joined college. I meet one hell lot of people who think of arts and cultural events as the bread and butter of engineering students. But, I strongly feel, these should take a back-seat in engineering life, so long as the technical part needs betterment. A slide presentation of a grand inter-college football tourney but not even a snap from the numerous photos taken during Summit. Summit- another disaster which ended with one of my batchmates reaching HIS abode... A complete disarray of events, conducted by the so-called managers in college. A horde of white-collared gentlemen who adorned themselves in executive committees  and committees to look after committees.. Not at all interested in doing things, but always eager to get things done by exploiting the interested and workaholic lot. Sadly i fell prey to their so called planned events. And there is always the other kind who look at things as a rebellion. People who just want to show off in all possible ways, and at every possible point of time. There are inclusions in both gangs from each other. College day is made for the latter. Show off. And for them. this time it's the last chance to show off. Save some bold yet beautiful or handsome, who have got brains and more importantly, the sense to discriminate the right from wrong, it's the time for a gala. If it was of some standard, with something new, it could've been understood. On the contrary, it's the same. Some pesky youngsters doing some aerobics-like stuff on stage and being branded dance, some stupid awards that have been fixed even before they were put to vote, etc. etc. to say some. Booze flowing lavish.. The stage is set for the so-called college day.
I regret to write all this, but I need some place to express my feelings. May be I belong to the minority youngsters who are happy to leave college, who are pissed off with the so-called college life... Now 18 more days in college officially, and I'm out. I'm free, that's what I think I will be. A new life...

Apr. 25th, 2007

Debian IS the best...

Even today, there's a misconception that Linux is for the geeks and gyros, and not for laymen. But the reality is totally different. Linux is more userfriendly than M$ products. The latest release of Debian, that is v4.0 Etch, is wonderful. It retains the stability associated with Linux and Debian in particular, and adds more than just stability to make things easier right from the first time the CD or DVD is inserted into the drive. Installation can be through local languages even. I think the only downside is the options being given to the user. Actually the complete Etch CD pack of 332 CDs is too much a layman can contemplate for doing something that will make his/her computer work. I found this link pretty helpful to decide which all to use, ie., download and what to look for...
http://kitenet.net/~joey/blog/entry/tour_of_the_Debian_4.0_CDs/

Thanks to Pravi for this piece of info, and to +PLUS for helping me reach it.

The customization options are mind boggling. To be frank, I would say Linux will help us grow. It helps us get to know Linux better day by day, and automatically we get more and more attracted towards it. Particularly Debian! I used to be a great RedHat fan when I started using Linux, because the first Linux distro that came my way was RH9.0. I've tried many distros, but Debian is incomparable.

Apr. 18th, 2007

First One...

To be frank, I don't know how to make a journal. So this is just crap over here.

Free Domains at .co.nr

Advertisement

Customize