<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EmbLogic &#187; samta.jhingan</title>
	<atom:link href="https://www.emblogic.com/blog/author/samta-jhingan/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Tue, 03 Mar 2020 13:00:06 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>Project 8: Block Driver Status</title>
		<link>https://www.emblogic.com/blog/04/project-8-block-driver-status/</link>
		<comments>https://www.emblogic.com/blog/04/project-8-block-driver-status/#comments</comments>
		<pubDate>Tue, 16 Apr 2013 03:59:56 +0000</pubDate>
		<dc:creator><![CDATA[samta.jhingan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=6365</guid>
		<description><![CDATA[Successfully implemented block driver with ioctl and request function. On initialisation the block driver is running the request function four times and all the requests that are coming are to read the data.]]></description>
				<content:encoded><![CDATA[<p>Successfully implemented block driver with ioctl and request function.</p>
<p>On initialisation the block driver is running the request function four times and all the requests that are coming are to read the data.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/04/project-8-block-driver-status/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Status Project 7 Serial Port</title>
		<link>https://www.emblogic.com/blog/04/status-project-7-serial-port/</link>
		<comments>https://www.emblogic.com/blog/04/status-project-7-serial-port/#comments</comments>
		<pubDate>Wed, 03 Apr 2013 17:07:37 +0000</pubDate>
		<dc:creator><![CDATA[samta.jhingan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=6338</guid>
		<description><![CDATA[Implemented multiple byte transfer using serial port successfully.]]></description>
				<content:encoded><![CDATA[<p>Implemented multiple byte transfer using serial port successfully.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/04/status-project-7-serial-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 6 Parallel POrt</title>
		<link>https://www.emblogic.com/blog/03/project-6-parallel-port-2/</link>
		<comments>https://www.emblogic.com/blog/03/project-6-parallel-port-2/#comments</comments>
		<pubDate>Tue, 26 Mar 2013 10:51:10 +0000</pubDate>
		<dc:creator><![CDATA[samta.jhingan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=6321</guid>
		<description><![CDATA[Implemented byte mode]]></description>
				<content:encoded><![CDATA[<p>Implemented byte mode</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/project-6-parallel-port-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Project 6 : Parallel Port</title>
		<link>https://www.emblogic.com/blog/03/project-6-parallel-port/</link>
		<comments>https://www.emblogic.com/blog/03/project-6-parallel-port/#comments</comments>
		<pubDate>Mon, 25 Mar 2013 11:06:24 +0000</pubDate>
		<dc:creator><![CDATA[samta.jhingan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=6315</guid>
		<description><![CDATA[Implemented nibble mode and compatibility mode.]]></description>
				<content:encoded><![CDATA[<p>Implemented nibble mode and compatibility mode.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/project-6-parallel-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 5 Status Character Driver</title>
		<link>https://www.emblogic.com/blog/03/project-5-status-character-driver/</link>
		<comments>https://www.emblogic.com/blog/03/project-5-status-character-driver/#comments</comments>
		<pubDate>Tue, 05 Mar 2013 16:23:37 +0000</pubDate>
		<dc:creator><![CDATA[samta.jhingan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=6269</guid>
		<description><![CDATA[Implemented #Blocking IO with readwrite semaphore #Blocking IO with /proc to read bytes written after each 8 byte is written in scull]]></description>
				<content:encoded><![CDATA[<p>Implemented</p>
<p>#Blocking IO with readwrite semaphore</p>
<p>#Blocking IO with /proc to read bytes written after each 8 byte is written in scull</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/project-5-status-character-driver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 5 Character Driver Status:</title>
		<link>https://www.emblogic.com/blog/02/project-5-character-driver-status-2/</link>
		<comments>https://www.emblogic.com/blog/02/project-5-character-driver-status-2/#comments</comments>
		<pubDate>Thu, 28 Feb 2013 08:11:38 +0000</pubDate>
		<dc:creator><![CDATA[samta.jhingan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=6235</guid>
		<description><![CDATA[&#8211;Implemented: #read and write operations using lseek. #ioctl #/proc #sema_init &#8211;left with #completions and spinlocks #read and move operation]]></description>
				<content:encoded><![CDATA[<p>&#8211;Implemented:</p>
<ul>
<li>#read and write operations using lseek.</li>
<li>#ioctl</li>
</ul>
<ul>
<li>#/proc</li>
</ul>
<ul>
<li>#sema_init</li>
</ul>
<p>&#8211;left with</p>
<ul>
<li>#completions and spinlocks</li>
<li>#read and move operation</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/project-5-character-driver-status-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 5: Character Driver</title>
		<link>https://www.emblogic.com/blog/02/project-5-character-driver-3/</link>
		<comments>https://www.emblogic.com/blog/02/project-5-character-driver-3/#comments</comments>
		<pubDate>Mon, 04 Feb 2013 08:56:19 +0000</pubDate>
		<dc:creator><![CDATA[samta.jhingan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=6123</guid>
		<description><![CDATA[Implemented #function to allocate memory to quantums. #function to allocate memory to array of qsets. #write function]]></description>
				<content:encoded><![CDATA[<p>Implemented</p>
<p>#function to allocate memory to quantums.<br />
#function to allocate memory to array of qsets.<br />
#write function</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/project-5-character-driver-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 5: Character Driver Open and Release function</title>
		<link>https://www.emblogic.com/blog/02/project-5-character-driver-open-and-release-function/</link>
		<comments>https://www.emblogic.com/blog/02/project-5-character-driver-open-and-release-function/#comments</comments>
		<pubDate>Sat, 02 Feb 2013 07:55:57 +0000</pubDate>
		<dc:creator><![CDATA[samta.jhingan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=6114</guid>
		<description><![CDATA[Implemented: #Open and release functions #container_of() #accessed open and release functions using  app.c file]]></description>
				<content:encoded><![CDATA[<p>Implemented:</p>
<p>#Open and release functions</p>
<p>#container_of()</p>
<p>#accessed open and release functions using  app.c file</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/project-5-character-driver-open-and-release-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 5 : Character Driver</title>
		<link>https://www.emblogic.com/blog/01/project-5-character-driver-2/</link>
		<comments>https://www.emblogic.com/blog/01/project-5-character-driver-2/#comments</comments>
		<pubDate>Thu, 31 Jan 2013 15:51:06 +0000</pubDate>
		<dc:creator><![CDATA[samta.jhingan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=6112</guid>
		<description><![CDATA[Implemented for 20 nods #cdev_init function #cdev_add function #initialised the value of sculldev  for 20 nods]]></description>
				<content:encoded><![CDATA[<p>Implemented for 20 nods</p>
<p>#cdev_init function</p>
<p>#cdev_add function</p>
<p>#initialised the value of sculldev  for 20 nods</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/01/project-5-character-driver-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 5: Character Driver</title>
		<link>https://www.emblogic.com/blog/01/project-5-character-driver/</link>
		<comments>https://www.emblogic.com/blog/01/project-5-character-driver/#comments</comments>
		<pubDate>Tue, 29 Jan 2013 09:03:01 +0000</pubDate>
		<dc:creator><![CDATA[samta.jhingan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=6005</guid>
		<description><![CDATA[Implemented using rcs #register_chrdev() #unregister_chrdev() #alloc_chrdev_region() #unregister_chrdev_region() #module_param #MAJOR and MINOR macros]]></description>
				<content:encoded><![CDATA[<p>Implemented using rcs<br />
#register_chrdev()<br />
#unregister_chrdev()<br />
#alloc_chrdev_region()<br />
#unregister_chrdev_region()<br />
#module_param<br />
#MAJOR and MINOR macros</p>
<ul>
<li></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/01/project-5-character-driver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 11: Linux Shell Scripting</title>
		<link>https://www.emblogic.com/blog/01/project-11-linux-shell-scripting/</link>
		<comments>https://www.emblogic.com/blog/01/project-11-linux-shell-scripting/#comments</comments>
		<pubDate>Wed, 23 Jan 2013 15:28:17 +0000</pubDate>
		<dc:creator><![CDATA[samta.jhingan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=6003</guid>
		<description><![CDATA[Implemented # Linux shell scripting questions.]]></description>
				<content:encoded><![CDATA[<p>Implemented</p>
<p># Linux shell scripting questions.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/01/project-11-linux-shell-scripting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Project4:Client Server using Sockets(AF_UNIX)</title>
		<link>https://www.emblogic.com/blog/01/project4client-server-using-socketsaf_unix/</link>
		<comments>https://www.emblogic.com/blog/01/project4client-server-using-socketsaf_unix/#comments</comments>
		<pubDate>Tue, 22 Jan 2013 04:49:24 +0000</pubDate>
		<dc:creator><![CDATA[samta.jhingan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=5997</guid>
		<description><![CDATA[Implemented #Client Server using AF_UNIX on my PC and ran 370 simultaneous threads &#160;]]></description>
				<content:encoded><![CDATA[<p>Implemented</p>
<p>#Client Server using AF_UNIX on my PC and ran 370 simultaneous threads</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/01/project4client-server-using-socketsaf_unix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 4: Client Server Program Using Threads, Mutex,Semaphore,Msg Queue</title>
		<link>https://www.emblogic.com/blog/01/project-4-client-server-program-using-threads-mutexsemaphoremsg-queue/</link>
		<comments>https://www.emblogic.com/blog/01/project-4-client-server-program-using-threads-mutexsemaphoremsg-queue/#comments</comments>
		<pubDate>Fri, 18 Jan 2013 12:13:20 +0000</pubDate>
		<dc:creator><![CDATA[samta.jhingan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=5931</guid>
		<description><![CDATA[Implemented #The client server program using thread, mutex,semaphore and msg queue. In the program created thread for each request from the client and at client side created 1 thread for sendg and receiving different requests.. Program ran for 381 clients &#8230; <a href="https://www.emblogic.com/blog/01/project-4-client-server-program-using-threads-mutexsemaphoremsg-queue/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Implemented<br />
#The client server program using thread, mutex,semaphore and msg queue. In the program created thread for each request from the client and at client side created 1 thread for sendg and receiving different requests.. Program ran for 381 clients and then hangs..<br />
Issues Faced::<br />
1)When running simultaneous clients&gt;5 in the background the  output of some client reaching some other client.Not able to successfully run more than 5 threads on my PC in parallel&#8230;. Resolved by sleep(1)..</p>
<p>Faced problem 1) because was using pipes for processing clients and the was using 1 mutex for each processing client and the mutex were locked and unlocked in the child and parent process respectively. This was creating a problem as the client was working on a copy of mutex&#8230; Solved by locking the mutex before fork()<br />
2)Couldnt implement the above program using fifo as different clients take each others data so used queues and specified type for each client..found FIFO unsuccessful to implement client server using thread</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/01/project-4-client-server-program-using-threads-mutexsemaphoremsg-queue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project 3:IPC Server Client using shared memory and semaphores</title>
		<link>https://www.emblogic.com/blog/01/project-3ipc-server-client-using-shared-memory-and-semaphores/</link>
		<comments>https://www.emblogic.com/blog/01/project-3ipc-server-client-using-shared-memory-and-semaphores/#comments</comments>
		<pubDate>Tue, 15 Jan 2013 08:25:18 +0000</pubDate>
		<dc:creator><![CDATA[samta.jhingan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=5913</guid>
		<description><![CDATA[Implemented #Server client using semaphores and shared memory Issues faced: At the time of reading at the server side couldnt find a way for the server to know whether new data has been entered or not so used a flag &#8230; <a href="https://www.emblogic.com/blog/01/project-3ipc-server-client-using-shared-memory-and-semaphores/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Implemented<br />
#Server client using semaphores and shared memory<br />
Issues faced:<br />
At the time of reading at the server side couldnt find a way for the server to know whether new data has been entered or not so used a flag to to tell server to read the data which was set by the client&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/01/project-3ipc-server-client-using-shared-memory-and-semaphores/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Project 3 IPC: Server Client using Message Queues</title>
		<link>https://www.emblogic.com/blog/01/project-3-ipc-server-client-using-message-queues/</link>
		<comments>https://www.emblogic.com/blog/01/project-3-ipc-server-client-using-message-queues/#comments</comments>
		<pubDate>Thu, 10 Jan 2013 07:04:10 +0000</pubDate>
		<dc:creator><![CDATA[samta.jhingan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=5850</guid>
		<description><![CDATA[Implemented #Server Client using message queues and ran for 650 clients using 2 queues for receiving and sendg&#8230; Issues Faced: *The queues werent getting created&#8230; Have to be a superuser to create queues&#8230; Found system call perror(&#8220;&#8221;); very useful to &#8230; <a href="https://www.emblogic.com/blog/01/project-3-ipc-server-client-using-message-queues/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Implemented<br />
#Server Client using message queues and ran for 650 clients using 2 queues for receiving and sendg&#8230;<br />
Issues Faced:<br />
*The queues werent getting created&#8230; Have to be a superuser to create queues&#8230; Found system call perror(&#8220;&#8221;); very useful to detect the error in this case as it clearly states why the above operation wasnt successful.<br />
*The sprintf() ans sscanf() which were used for data transfer werent working properly&#8230;..Resolved by sandwiching a character between two integers  in sscanf and sprintf.  Also couldnt send a large string %s using sprintf.<br />
*The clients were accepting each others mail..Resolved by setting the msg type to pid of the client thru getpid()</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/01/project-3-ipc-server-client-using-message-queues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
