<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7301441552331590966</id><updated>2012-02-16T19:28:31.155-08:00</updated><title type='text'>MosChip 7703 Linux Driver RCOS</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mos7703rcos.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7301441552331590966/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mos7703rcos.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>John McMaster</name><uri>http://www.blogger.com/profile/11714069658809228929</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_MJhykioAWqo/S-ZIFj1xtsI/AAAAAAAAAGw/lHlIQfUsG0U/S220/uvnet.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7301441552331590966.post-1300203361477383971</id><published>2009-04-20T11:06:00.000-07:00</published><updated>2009-04-20T11:13:02.571-07:00</updated><title type='text'>Spinning into control</title><content type='html'>After completing the changes from semaphors to spinlocks, the driver seems to have gained much stability.  The locking mechanism is based off of the pl2302 driver.  Currently the device will lose data if under heavy load.  The other driver also made me realize (assuming its done correctly!) that I don't need to lock nearly as much as I thought I did.  To help testing, I am making a serial program that can work with shell scripts.  The only two command line programs that I know that work with serial are screen and minicom, neither of which is for automated use.&lt;br /&gt;During this upgrade, additional register accesses were decoded into human readable defines and a few translation errors I had made earlier were fixed.  These were due to the baud rate latch divisor multiplexing.  Basically, if a certain register had a special value on the chip, it causes register addresses to actually write to different data.&lt;br /&gt;As things develop, I will lock the code more properly.  Currently you could easily generate unexpected output on the serial port due to a number of race conditions from multiple users.  A prime example is the issues arrising from the divisor multiplexing.  Future revisions will lock these as it is found to be safe and necessary.  However, any locking errors right now will not result in system instabiility, just unexpected results on the serial port.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7301441552331590966-1300203361477383971?l=mos7703rcos.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mos7703rcos.blogspot.com/feeds/1300203361477383971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mos7703rcos.blogspot.com/2009/04/spinning-into-control.html#comment-form' title='45 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7301441552331590966/posts/default/1300203361477383971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7301441552331590966/posts/default/1300203361477383971'/><link rel='alternate' type='text/html' href='http://mos7703rcos.blogspot.com/2009/04/spinning-into-control.html' title='Spinning into control'/><author><name>John McMaster</name><uri>http://www.blogger.com/profile/11714069658809228929</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_MJhykioAWqo/S-ZIFj1xtsI/AAAAAAAAAGw/lHlIQfUsG0U/S220/uvnet.jpg'/></author><thr:total>45</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7301441552331590966.post-7792736106188197830</id><published>2009-04-17T11:54:00.001-07:00</published><updated>2009-04-17T11:59:57.728-07:00</updated><title type='text'>Misc updates</title><content type='html'>Seems that the MosChip site virus may have been a google bug.  In any case, I have a beta tester now for my driver.  She/he is using virtual machines to run the dongles through Windows and would like to use them directly on Linux.&lt;br /&gt;The code is being converted to spinlocks and is modeled off of another driver, the pl2303.  It is another USB-serial converter that I have and has very clean code, so makes a good model.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7301441552331590966-7792736106188197830?l=mos7703rcos.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mos7703rcos.blogspot.com/feeds/7792736106188197830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mos7703rcos.blogspot.com/2009/04/misc-updates.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7301441552331590966/posts/default/7792736106188197830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7301441552331590966/posts/default/7792736106188197830'/><link rel='alternate' type='text/html' href='http://mos7703rcos.blogspot.com/2009/04/misc-updates.html' title='Misc updates'/><author><name>John McMaster</name><uri>http://www.blogger.com/profile/11714069658809228929</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_MJhykioAWqo/S-ZIFj1xtsI/AAAAAAAAAGw/lHlIQfUsG0U/S220/uvnet.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7301441552331590966.post-7226300028642712619</id><published>2009-04-03T06:54:00.001-07:00</published><updated>2009-04-03T06:59:27.568-07:00</updated><title type='text'>Need some DDT</title><content type='html'>Although it wasn't so bad getting it to transmit and receive data, getting the driver to behave stably has been elusive.  In particular, the locking scheme is not working.  Code modifications are under way to base the locking scheme off of the pl2302 USB-serial driver.  mos7703 currently uses mutexes, but I'm converting the code to spinlocks since this was generally recommended to me anyway.  I also posted on linuxquestions.org hoping to get someone to take a look at it, but didn't recieve any responses.  See it at http://www.linuxquestions.org/questions/linux-kernel-70/mos7703-serial-driver-714933/  Once I get more of a reasonably solid driver working, I'll post to the Linux Kernel Mailling List.&lt;br /&gt;I've also recieved techniques for keeping compatibility across kernels.  I've managed to clean up the code and use less preprocessor logic.  This mostly involves using some high level wrapper functions for different kernels, and then using a few inline core functions to do the actual logic.  Also trying to clean up some of the ugly macros around this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7301441552331590966-7226300028642712619?l=mos7703rcos.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mos7703rcos.blogspot.com/feeds/7226300028642712619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mos7703rcos.blogspot.com/2009/04/need-some-ddt.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7301441552331590966/posts/default/7226300028642712619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7301441552331590966/posts/default/7226300028642712619'/><link rel='alternate' type='text/html' href='http://mos7703rcos.blogspot.com/2009/04/need-some-ddt.html' title='Need some DDT'/><author><name>John McMaster</name><uri>http://www.blogger.com/profile/11714069658809228929</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_MJhykioAWqo/S-ZIFj1xtsI/AAAAAAAAAGw/lHlIQfUsG0U/S220/uvnet.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7301441552331590966.post-8450520930411459234</id><published>2009-02-22T07:59:00.001-08:00</published><updated>2009-02-22T08:03:05.937-08:00</updated><title type='text'>One more reason to use my driver</title><content type='html'>MosChip is now listed as a malicious site by Google:&lt;br /&gt;http://www.google.com/safebrowsing/diagnostic?site=http://www.moschip.com/mcs7703.php&amp;amp;hl=en&lt;br /&gt;In case the link breaks, it says:&lt;br /&gt;&lt;p class="d"&gt;&lt;strong&gt;What happened when Google visited this site?&lt;/strong&gt;&lt;/p&gt;&lt;blockquote&gt;Of the 204 pages we tested on the site over the past 90 days, 1 page(s) resulted in malicious software being downloaded and installed without user consent. The last time Google visited this site was on 2009-02-22, and the last time suspicious content was found on this site was on 2009-02-21.&lt;p&gt;Malicious software includes 9 exploit(s), 1 scripting exploit(s), 1 trojan(s). Successful infection resulted in an average of 45 new processes on the target machine.&lt;/p&gt;&lt;p&gt;Malicious software is hosted on 1 domain(s), including &lt;a href="http://www.google.com/safebrowsing/diagnostic?site=sagardia.com/&amp;amp;hl=en"&gt;sagardia.com/&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;This site was hosted on 1 network(s) including &lt;a href="http://www.google.com/safebrowsing/diagnostic?site=AS:6130&amp;amp;hl=en"&gt;AS6130 (ADN)&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt;I don't think the site honestly has bad intent, they just seem to not be very careful.  So I'll go with that they were hacked.  I tried to download some PDF from a different site (that probably linked to MosChip) and it tried to download an exe instead.  I wonder how effective viruses are under WINE?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7301441552331590966-8450520930411459234?l=mos7703rcos.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mos7703rcos.blogspot.com/feeds/8450520930411459234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mos7703rcos.blogspot.com/2009/02/one-more-reason-to-use-my-driver.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7301441552331590966/posts/default/8450520930411459234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7301441552331590966/posts/default/8450520930411459234'/><link rel='alternate' type='text/html' href='http://mos7703rcos.blogspot.com/2009/02/one-more-reason-to-use-my-driver.html' title='One more reason to use my driver'/><author><name>John McMaster</name><uri>http://www.blogger.com/profile/11714069658809228929</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_MJhykioAWqo/S-ZIFj1xtsI/AAAAAAAAAGw/lHlIQfUsG0U/S220/uvnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7301441552331590966.post-6626768488874680118</id><published>2009-02-22T07:46:00.000-08:00</published><updated>2009-02-22T07:47:50.950-08:00</updated><title type='text'>Versions posted</title><content type='html'>A download page is now up.  Check it out at:&lt;br /&gt;http://mcfluffin.110mb.com/linux/mos7703.php&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7301441552331590966-6626768488874680118?l=mos7703rcos.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mos7703rcos.blogspot.com/feeds/6626768488874680118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mos7703rcos.blogspot.com/2009/02/versions-posted.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7301441552331590966/posts/default/6626768488874680118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7301441552331590966/posts/default/6626768488874680118'/><link rel='alternate' type='text/html' href='http://mos7703rcos.blogspot.com/2009/02/versions-posted.html' title='Versions posted'/><author><name>John McMaster</name><uri>http://www.blogger.com/profile/11714069658809228929</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_MJhykioAWqo/S-ZIFj1xtsI/AAAAAAAAAGw/lHlIQfUsG0U/S220/uvnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7301441552331590966.post-416196916839730425</id><published>2009-02-13T14:02:00.000-08:00</published><updated>2009-02-13T14:03:29.869-08:00</updated><title type='text'>Initial posting</title><content type='html'>Welcome to the Moschip 7703 USB-Serial driver for Linux.  Thanks to RCOS for supporting this!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7301441552331590966-416196916839730425?l=mos7703rcos.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mos7703rcos.blogspot.com/feeds/416196916839730425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mos7703rcos.blogspot.com/2009/02/initial-posting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7301441552331590966/posts/default/416196916839730425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7301441552331590966/posts/default/416196916839730425'/><link rel='alternate' type='text/html' href='http://mos7703rcos.blogspot.com/2009/02/initial-posting.html' title='Initial posting'/><author><name>John McMaster</name><uri>http://www.blogger.com/profile/11714069658809228929</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://4.bp.blogspot.com/_MJhykioAWqo/S-ZIFj1xtsI/AAAAAAAAAGw/lHlIQfUsG0U/S220/uvnet.jpg'/></author><thr:total>0</thr:total></entry></feed>
