tag:blogger.com,1999:blog-69914426921092209012024-03-14T01:15:42.797+05:30MICROPROCESSOR AND MICROCONTROLLERThe blog talks about variety of topics on Embedded System, 8085 microprocessor, 8051 microcontroller, ARM Architecture, C2000 Architecture, C28x, AVR and many many more. Also includes some projects that have been worked upon and also episodes to Embedded System Podcast.k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.comBlogger227125tag:blogger.com,1999:blog-6991442692109220901.post-91407266378251610782023-02-19T23:43:00.002+05:302023-02-19T23:43:57.386+05:30MARS MIPS - A Program to echo output from the KeyboardIntroductionThe aim to write a program that demonstrates the use of peripheral devices like keyboard. The program should echo what is being getting typed in the keyboard. The post describes the code that generates the output shown in the video.This is me practicing basic stuff to be done in the MIPS assembly language program.
Code Section
<!--HTML generated using hilite.me--> 1
2
3
4
5
6
7
k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-84863666098199881622023-02-14T18:27:00.004+05:302023-02-19T23:31:33.759+05:30MARS MIPS - A Program to move a block of objectIntroductionThis program draws a series of adjacent rectangles of different colors and positions on a 512x256 pixel display with a base address of 0x10010000 in memory. The program starts by defining two colors, 'color' (red) and 'black' and a block of memory 'frameBuffer' to hold the pixel data for the display. Then, a series of adjacent rectangles is drawn by calling the 'rectangle' function k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-66270408875267338982022-05-03T04:02:00.008+05:302022-10-24T20:55:09.412+05:30Write a python program to search for a file in a provided directory So i had to for some reason develop a small utility to search a directory or drive for a particular filename. Decided to do the same in python to try and explore the os.walk() in python.Here is how i did the same.Starting with the InterfaceSo for this particular demonstration decided to have a command line interface that takes in 2 parameters-f --filename - This is where the filename to be k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-40546792265935718142021-03-28T02:28:00.001+05:302021-03-28T02:28:31.435+05:30Embedded System Podcast - Episode 11 - Version Control
Embedded System and Design ยท Episode - 11 - Version Control
The Version Control Basics In the come back episode i try to remember the settings for the microphone :D. Try to give a brief introduction about the subversion version control.
I also introduce my open source project WebSVN, a free repository viewer for subversion. Hosted on github where one can raise its issues and k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-69439381488090337692021-03-14T21:10:00.000+05:302021-03-14T21:10:12.868+05:30Writing Pre-Commit Hook Scripts in Python for SubversionIt is pretty simple to write hook scripts for subversion in python even without using the subversion library. Here in this post i show how i wrote a pre-commit hook script to tackle three of the requirements.Length of the commit message should not be less than 50 charactersThe log message should have the work item id written so the commit can be linked to the work items in the Rational k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-78528175712874988542020-08-24T00:16:00.001+05:302020-08-24T00:16:49.581+05:30Embedded System Podcast - Episode - 10 Commit Log PolicingOne or the other time there is always something, some first thing that you do in your career. That you have seen all the time but never have done yourself before. That is what i am going to talk about today. It is called commit Log policing.You are going to do this daily if you are the repository admin or responsible for entire code. But there will always be the very first time you are goingk10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-88612538400098491502020-08-23T21:42:00.000+05:302020-08-23T21:42:06.285+05:30Pre-Commit Hook Scripts in SubversionIt is not everyday i get to implement policing in corporate environment. But it is also something that is required all the time. It is when your team is induced with more and more new people it becomes difficult to monitor what is being committed and how it is being committed. One of the key things the committed code is evaluated is via relation of the change with what it has been k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-23293811517674685782020-06-25T05:00:00.000+05:302020-06-25T05:00:06.987+05:30Raspberry pi - Install the dockerThe post is for those who have raspberry pi original model and want to install docker on that.First check whether docker is installed on your raspberry pi or not. Verify the docker installation by running the command below.docker run -rm hello worldIf the verification fails the docker needs to be installed on the raspberry pi.There are scripts available to support the installation of docker here k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com1tag:blogger.com,1999:blog-6991442692109220901.post-20401915670741434212020-06-18T00:18:00.002+05:302020-06-24T00:52:35.893+05:30Raspberry pi - Getting Started with OpenCV (Playing Youtube Video)for getting started with OpenCV i tried to do something simple and straightforward.Playing a video from youtube URL.Why?As most of the videos i am going to do image processing on is on my youtube channel.This short tutorial requires that you have opencv, pafy and youtube_dl installed.For those that want to see the final code looks something like the following:
So lets break down the simple k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-91348089410443962502020-06-15T11:32:00.001+05:302020-06-15T11:32:25.702+05:30Raspberry pi - Desktop access via VNCA lot has changed since the last time i blogged about the raspberry pi. The Raspbian OS has been renamed to raspberry OS. They have completely dropped support for the Composite Display. They have reached to version raspberry pi zero with integrated wireless. A lot.So this post will be somewhat shorter.This is a small post that captures how to enabled the VNC in the raspberry pi. You will k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-24447962620853461232020-04-28T07:00:00.000+05:302020-04-28T07:00:15.981+05:30Throwback - Functions
Migrating Content from even an older blog.
The following content is from my even older blog which had to be removed due to discontinuation of the platform. I am posting it here as a new content for this blog.
NOTE
This posts discusses enhancements in the capabilities of functions that have been made to C++. These changes make programming more convenient and permit the compiler to k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-65270829884377404962020-04-27T17:00:00.000+05:302020-04-27T17:00:05.245+05:30Throwback - Pointers
Migrating Content from even an older blog.
The following content is from my even older blog which had to be removed due to discontinuation of the platform. I am posting it here as a new content for this blog.
POINTER REVIEW
Examine the program named POINTERS.CPP for a simple example of the use of pointers.
// POINTERS.CPP
#include <iostream.h>
void main()
{
&k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-91783628724450162282020-04-27T07:00:00.000+05:302020-04-27T07:00:06.753+05:30Throwback - Compound Types
Migrating Content from even an older blog.
The following content is from my even older blog which had to be removed due to discontinuation of the platform. I am posting it here as a new content for this blog.
ENUMERATED TYPES
Examine the file named ENUM.CPP for an example that uses an enumerated type variable.
// ENUM.CPP
#include <iostream.h>
enum game_result {WIN, k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-28136989656631075782020-04-26T23:30:00.000+05:302020-04-26T23:30:03.404+05:30Throwback - Simple Things in C++
This is a post from one my even older blogs. Migrating it here due to discontinuation of the pltform.
EVEN COMMENTS ARE IMPROVED IN C++
Examine the file named CONCOM.CPP for an example of several new things in C++. We will take the new constructs one at a time beginning with the comments.
//CONCOM.CPP
#include <iostream.h>
/* k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-88669279778843037252020-04-26T17:00:00.000+05:302020-04-26T17:00:00.531+05:30Throwback - Introduction to C++
Migrating content from an even older blog.
The following content is from my very old blog which had to be removed due to discontinuation of the platform. I am positing it here as a new content.
THE ORIGIN OF C++
The C programming language was developed at AT&T for the purpose of writing the operating system for the PDP-11 series of computers which ultimately became the unix k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-44326164241571089612020-04-06T05:36:00.003+05:302020-05-23T18:45:36.926+05:30Embedded System Podcast - Episode 9 RTOS vs Bare Metal
In this episode i am joined by my colleague and dear friend Harsh Mistry. His first time doing a podcast.
Amidst all the lockdown and work from home he took out time to call in over the weekend to record this episode. Here we have a generic discussion about the Operating Systems. Specifically we go into discussion about Real Time Operating Systems and how they fare against the Bare Metal k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-1650627335695146122019-12-21T03:19:00.001+05:302020-05-02T12:33:22.384+05:30Embedded System Podcast - Episode 8 10 Experiences I relate to
Listing the experiences i relate to most in the book 97 things every programmer should know.
Hope you guys enjoy.
Thanks
10 Experiences I relate to in 97 things every programmer should know
I recently read a book 97 things every programmer should know. It is collection of expereicnce of various people in software engineering from various domains.
I though it would be fun to list k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-47274830655567217272019-08-03T18:46:00.001+05:302019-08-03T18:46:11.019+05:30Embedded System Podcast - Episode 7 Volatile Keyword
The Volatile Keyword
After a long gap i am back with another episode. This time talking about the volatile keyword.
In this episode i talk about the volatile keyword. The episode talks about use cases, advantages and disadvantages of this qualifier.
Thanks.
For readers a post coming soon.
k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-65999001570520102512018-12-20T21:08:00.000+05:302018-12-20T21:08:10.203+05:30Embedded System Podcast - Episode 6 The Build Process
The Build Process.
In this episode I talk about something basic. The generation of an executable for a target system from a source code. This short bit marks the 6th Episode in my Embedded System Podcast.
Though the entire process is automated it is useful to know this information hope it helps.
Thanks and Regards,
For the readers the post is as below.
To be updated soon.
k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-36497298157339768772018-12-20T19:01:00.002+05:302018-12-20T19:01:28.550+05:30Raspberry Pi - Raspi Config Description
Raspi-Config is a raspberry pi configuration tool. It can be launched by typing the command as follows:
sudo raspi-config
Raspberry Pi Model B Rev 2 - Raspi-Config
Lets dwell into its options.
1 - Change User Password
AS the title suggests allows you to change the password for user pi. When entered you get a pop up as below:
Prompt that you have to enter a new password
After k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-84446052241903303872018-11-24T20:22:00.002+05:302018-11-24T20:22:42.411+05:30Raspberry Pi - Installing the Essentials
To make use of Raspberry pi it is required to have certain tool arsenal installed in your pi. This post covers what i commonly use.
Updating Existing Packages
AMP Stack
Python 2.7 (Yes i have not updated to Python 3 yet. Because laziness)
I will make this quick and short. So lets get started.
Updating the Packages
Though most of the essentials come pre packed with the Raspbian. But in casesk10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-45303779123061367152018-11-10T20:34:00.000+05:302018-11-10T20:34:24.018+05:30Raspberry Pi - Setup Using Raspbian Image
Apart from doing setup using NOOBS. We have an option of writing the Raspbian directly on the SD Card. This post covers how to do the same on Windows.
Actually I find this quite simple and easy to use as compared to NOOBS. It is just a two step process.
1 - Get Official Raspbian Image
2 - Install and Use Win32 Disk Imager to write to the SD Card
Step - 1 Get the Latest k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-62546390146886350542018-11-09T21:59:00.002+05:302018-11-09T22:00:00.034+05:30Raspberry Pi - Setup using NOOBS
I never saw myself writing this post. But i have done this so many times that i now think i should just put it out there, just another setup post.
NOOBS is short for New Out Of the Box Software. This is where all the beginners of Raspberry Pi should start with. The easy installer can be downloaded as a zip file or using a Torrents from the link.
It has two version offline installer k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0tag:blogger.com,1999:blog-6991442692109220901.post-42302420908529578832018-07-28T23:42:00.000+05:302018-11-09T22:00:31.553+05:30Embedded System Podcast - Episode 5 Verification and Validation of Embedded Software
Pizzas and Discussion. Having a rough couple of months and to add to that suffering from writers block. Thanks to Naishan Patel and Mohit Chand. They came together to support and record a fun episode where we discuss the Verification and Validation that goes on in the Embedded Software.
Hoping to have a further in depth discussion with Naishan and Mohit on variety of topics. Hope to see k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com2tag:blogger.com,1999:blog-6991442692109220901.post-33729181612072129992018-06-23T20:05:00.001+05:302018-06-23T20:05:42.936+05:30C28x Piccolo Vs Delfino Comparison
The common question that everybody has is what is the difference between Piccolo and Delfino that is used alongside the C2000 Texas DSP.
The delfino is name is associated with the high performance line of DSP having a Floating Point Unit. This include Family of TMS320F2833x, TMS320F2834x and TMS320F2837xD. Typically delfino's have more pins, more peripherals, more memory and faster CPU's.
k10bloggerhttp://www.blogger.com/profile/10701955723107387283noreply@blogger.com0