<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Setting up development system - [Software/Hardware] Development				            </title>
            <link>https://fabscan.org/community/development/setting-up-development-system/</link>
            <description>FabScan Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 11 Mar 2026 21:50:17 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Setting up development system</title>
                        <link>https://fabscan.org/community/development/setting-up-development-system/#post-1440</link>
                        <pubDate>Mon, 15 Jun 2020 06:57:25 +0000</pubDate>
                        <description><![CDATA[Success!  I had the config as you specified, but there was one last avrdude thing going wrong.
I was able to run the server from PyCharm and connect to the web interface!
I&#039;m up and runnin...]]></description>
                        <content:encoded><![CDATA[<p>Success!  I had the config as you specified, but there was one last avrdude thing going wrong.</p>
<p>I was able to run the server from PyCharm and connect to the web interface!</p>
<p>I'm up and running!</p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/development/">[Software/Hardware] Development</category>                        <dc:creator>Dangerdad137</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/development/setting-up-development-system/#post-1440</guid>
                    </item>
				                    <item>
                        <title>RE: Setting up development system</title>
                        <link>https://fabscan.org/community/development/setting-up-development-system/#post-1439</link>
                        <pubDate>Mon, 15 Jun 2020 06:16:13 +0000</pubDate>
                        <description><![CDATA[Which kind of Hardware are you using? In case you are using one of the china cilclops you should have a closer look into your config file. It is important to set the correct baudrates for fl...]]></description>
                        <content:encoded><![CDATA[<p>Which kind of Hardware are you using? In case you are using one of the china cilclops you should have a closer look into your config file. It is important to set the correct baudrates for flashing and communication. The Arduino should be connected to the Raspberry. </p>
<p>You can start with this values. </p>
<pre><span>"serial"</span><span>: </span>{<br />    <span>"plattform_type"</span><span>: </span><span>"ciclop"</span><span>,<br /></span><span>    </span><span>"baudrate"</span><span>: </span><span>14400</span><span>,<br /></span><span>    </span><span>"autoflash"</span><span>: </span><span>"True"</span><span>,<br /></span><span>    </span><span>"port"</span><span>: </span><span>"/dev/ttyUSB0"</span><span>,<br /></span><span>    </span><span>"flash_baudrate"</span><span>: </span><span>115200<br /></span>}</pre>
<p>Otherwise we need to find some fitting settings. You can do a quick connection test with this command: </p>
<pre><span>sudo avrdude-autoreset -p m328p -b 115200</span><span> -carduino -P/dev/ttyUSB0</span></pre>
<p>This command should list some information about the microcontroller on the arduino. If you are getting errors instead you need to find the error. Possible reasons are a wrong baudrate... try <span>57600, 38400, 14400 instead. But also the device might be wrong, you can try /dev/ttyUSB1 also.</span></p>
<p>When you are getting a nice output you can try to run it again with pycharm.</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/development/">[Software/Hardware] Development</category>                        <dc:creator>mario</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/development/setting-up-development-system/#post-1439</guid>
                    </item>
				                    <item>
                        <title>RE: Setting up development system</title>
                        <link>https://fabscan.org/community/development/setting-up-development-system/#post-1438</link>
                        <pubDate>Mon, 15 Jun 2020 01:15:53 +0000</pubDate>
                        <description><![CDATA[@mario  Awesome!  Based on this and some fiddling in PyCharm, I&#039;ve got past that error.   I think I&#039;m almost there.
ssh://pi@10.25.25.145:22/usr/bin/python3 -u /home/pi/dev/FabScanPi-Server...]]></description>
                        <content:encoded><![CDATA[<p>@mario  Awesome!  Based on this and some fiddling in PyCharm, I've got past that error.   I think I'm almost there.</p>
<pre>ssh://pi@10.25.25.145:22/usr/bin/python3 -u /home/pi/dev/FabScanPi-Server/src/fabscanpi-server --loglevel=debug --config=/home/pi/dev/FabScanPi-Server/src/fabscan/config/dev.config.json --settings=/home/pi/dev/FabScanPi-Server/src/fabscan/config/default.settings.json<br />avrdude-original: Using autoreset DTR on GPIO Pin 7<br />sudo: /usr/bin/avrdude: command not found<br />2020-06-14 18:12:36,766  INFO - fabscan.server.FSScanServer: FabScanPi-Server 0.9.1<br />2020-06-14 18:12:36,769  DEBUG - fabscan.scanner.interfaces: Scanner Type is: laserscanner<br />2020-06-14 18:12:37,658  DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Port in Config found<br />2020-06-14 18:12:37,660  DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Latest available firmware version is: v.20200306<br />2020-06-14 18:12:37,778  ERROR - fabscan.scanner.laserscanner.driver.FSSerial: Communication error on port /dev/ttyUSB0 try other flashing baudrate than 115200. Maybe corrupted bootloader.<br />2020-06-14 18:12:37,779  ERROR - fabscan.scanner.laserscanner.driver.FSSerial: Fatal FabScanPi HAT or compatible connection error....'NoneType' object has no attribute 'isOpen'<br />2020-06-14 18:12:37,779  INFO - fabscan.server.FSScanServer: FabScan Server Exit. Bye!<br /><br />Process finished with exit code 0</pre>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/development/">[Software/Hardware] Development</category>                        <dc:creator>Dangerdad137</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/development/setting-up-development-system/#post-1438</guid>
                    </item>
				                    <item>
                        <title>RE: Setting up development system</title>
                        <link>https://fabscan.org/community/development/setting-up-development-system/#post-1437</link>
                        <pubDate>Sun, 14 Jun 2020 17:49:28 +0000</pubDate>
                        <description><![CDATA[Maybe my failure. I guess your pycharm is using your local python interpreter and not the remote one on the raspberry. You need to setup the remote python interpreter. I forgot to mention th...]]></description>
                        <content:encoded><![CDATA[<p>Maybe my failure. I guess your pycharm is using your local python interpreter and not the remote one on the raspberry. You need to setup the remote python interpreter. I forgot to mention this in my pycharm setup description. I will try to add this to the docs. Meanwhile you can try to set it up by using this guide from JetBrains: <a href="https://www.jetbrains.com/help/pycharm/configuring-remote-interpreters-via-ssh.html">https://www.jetbrains.com/help/pycharm/configuring-remote-interpreters-via-ssh.html</a></p>
<p>The username is pi and password raspberry. IP Adress is of course the address of your pi. Afterwards you need to select this new added python interpreter as default in your run configuration.</p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/development/">[Software/Hardware] Development</category>                        <dc:creator>mario</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/development/setting-up-development-system/#post-1437</guid>
                    </item>
				                    <item>
                        <title>RE: Setting up development system</title>
                        <link>https://fabscan.org/community/development/setting-up-development-system/#post-1436</link>
                        <pubDate>Sun, 14 Jun 2020 16:52:13 +0000</pubDate>
                        <description><![CDATA[@mario Yes I&#039;m using the latest image, then updated to latest. I&#039;ve manually installed avrdude-reset now but am still getting the same error.
 
/usr/bin/python3.8 /snap/pycharm-professiona...]]></description>
                        <content:encoded><![CDATA[<p>@mario Yes I'm using the latest image, then updated to latest. I've manually installed avrdude-reset now but am still getting the same error.</p>
<p> </p>
<pre>/usr/bin/python3.8 /snap/pycharm-professional/201/plugins/python/helpers/pydev/pydevd.py --multiproc --qt-support=auto --client 127.0.0.1 --port 41111 --file /home/mping/dev/FabScanPi-Server/src/fabscanpi-server --loglevel=debug --config=/home/pi/fabscan/src/fabscan/config/dev.config.json --settings=/home/pi/fabscan/src/fabscan/config/default.settings.json<br />pydev debugger: process 2318 is connecting<br /><br />Connected to pydev debugger (build 201.7846.77)<br />sh: 1: /usr/bin/avrdude-autoreset: not found<br />2020-06-14 09:09:01,385  INFO - fabscan.server.FSScanServer: FabScanPi-Server 0.9.1<br />2020-06-14 09:09:01,386  CRITICAL - fabscan: Fatal error:  No such file or directory: '/home/pi/fabscan/src/fabscan/config/dev.config.json'<br /><br />Process finished with exit code 1</pre>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/development/">[Software/Hardware] Development</category>                        <dc:creator>Dangerdad137</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/development/setting-up-development-system/#post-1436</guid>
                    </item>
				                    <item>
                        <title>RE: Setting up development system</title>
                        <link>https://fabscan.org/community/development/setting-up-development-system/#post-1435</link>
                        <pubDate>Sun, 14 Jun 2020 05:26:46 +0000</pubDate>
                        <description><![CDATA[Are you using the FabScanPi Image? 
avdrude-autoreset should be contained in the image. You can test it by running it when you are logged in. 
/usr/bin/avrdude-autoreset
Anyway, the file i...]]></description>
                        <content:encoded><![CDATA[<p>Are you using the FabScanPi Image? (<a href="https://github.com/mariolukas/FabScanPi-Build-Raspbian/releases">https://github.com/mariolukas/FabScanPi-Build-Raspbian/releases</a>)</p>
<p>avdrude-autoreset should be contained in the image. You can test it by running it when you are logged in. </p>
<pre>/usr/bin/avrdude-autoreset</pre>
<p>Anyway, the file is also part of the FabScanPi Server Package. It is located here:</p>
<p><a href="https://github.com/mariolukas/FabScanPi-Server/tree/develop/src/avrdude">https://github.com/mariolukas/FabScanPi-Server/tree/develop/src/avrdude</a></p>
<p>The package installer copies it to /usr/bin and makes it executable with </p>
<pre>chmod a+x /usr/bin/avrdude-autoreset</pre>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/development/">[Software/Hardware] Development</category>                        <dc:creator>mario</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/development/setting-up-development-system/#post-1435</guid>
                    </item>
				                    <item>
                        <title>RE: Setting up development system</title>
                        <link>https://fabscan.org/community/development/setting-up-development-system/#post-1434</link>
                        <pubDate>Sun, 14 Jun 2020 01:04:13 +0000</pubDate>
                        <description><![CDATA[I followed the instructions here on the pi to get avrdude-autoreset, but no change in the PyCharm error:]]></description>
                        <content:encoded><![CDATA[<p>I followed the instructions here on the pi to get avrdude-autoreset, but no change in the PyCharm error:</p>
<p><a href="https://github.com/mharizanov/avrdude-rpi">https://github.com/mharizanov/avrdude-rpi</a></p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/development/">[Software/Hardware] Development</category>                        <dc:creator>Dangerdad137</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/development/setting-up-development-system/#post-1434</guid>
                    </item>
				                    <item>
                        <title>RE: Setting up development system</title>
                        <link>https://fabscan.org/community/development/setting-up-development-system/#post-1433</link>
                        <pubDate>Sat, 13 Jun 2020 00:22:39 +0000</pubDate>
                        <description><![CDATA[Getting better.  Here&#039;s the output in PyCharm when I try to run:
/usr/bin/python3.8 /home/mping/dev/FabScanPi-Server/src/fabscanpi-server --loglevel=debug --config=/home/pi/fabscan/src/fabs...]]></description>
                        <content:encoded><![CDATA[<p>Getting better.  Here's the output in PyCharm when I try to run:</p>
<pre>/usr/bin/python3.8 /home/mping/dev/FabScanPi-Server/src/fabscanpi-server --loglevel=debug --config=/home/pi/fabscan/src/fabscan/config/dev.config.json --settings=/home/pi/fabscan/src/fabscan/config/default.settings.json<br />sh: 1: /usr/bin/avrdude-autoreset: not found<br />2020-06-12 17:18:23,886  INFO - fabscan.server.FSScanServer: FabScanPi-Server 0.9.1<br />2020-06-12 17:18:23,886  CRITICAL - fabscan: Fatal error:  No such file or directory: '/home/pi/fabscan/src/fabscan/config/dev.config.json'</pre>
<p>Not sure if I need to install avrdude-autoreset, or where to find it (I see the project on github).</p>
<p>Also not sure if I need to change the remote folder: /home/pi/fabscan/src/fabscan/config/ or if that should be deploying.  Otherwise as far as I can tell my settings match the dev setup directions. </p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/development/">[Software/Hardware] Development</category>                        <dc:creator>Dangerdad137</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/development/setting-up-development-system/#post-1433</guid>
                    </item>
				                    <item>
                        <title>RE: Setting up development system</title>
                        <link>https://fabscan.org/community/development/setting-up-development-system/#post-1430</link>
                        <pubDate>Thu, 11 Jun 2020 23:02:26 +0000</pubDate>
                        <description><![CDATA[Posted by: @dangerdad137 
I did some fiddling with the config settings and got the 0.9.0 running, but still no success from PyCharm

Yes sure. I forgot to add this to the docs. You need t...]]></description>
                        <content:encoded><![CDATA[<blockquote data-userid="298" data-postid="1428" data-mention="dangerdad137">
<div class="wpforo-post-quote-author"><strong> Posted by: @dangerdad137 </strong></div>
<p>I did some fiddling with the config settings and got the 0.9.0 running, but still no success from PyCharm</p>
</blockquote>
<p>Yes sure. I forgot to add this to the docs. You need to create the FSVersion.py file manually in the folder you linked to the deployment process. The content should be something like: </p>
<pre>__version__="0.9.1"</pre>
<p>The Version File is normally created while the Release build process. I think this error should be catched in dev mode. We can set a static dev version number while developing. A simple import check in try catch block should do the job.</p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/development/">[Software/Hardware] Development</category>                        <dc:creator>mario</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/development/setting-up-development-system/#post-1430</guid>
                    </item>
				                    <item>
                        <title>RE: Setting up development system</title>
                        <link>https://fabscan.org/community/development/setting-up-development-system/#post-1428</link>
                        <pubDate>Thu, 11 Jun 2020 21:38:35 +0000</pubDate>
                        <description><![CDATA[I did some fiddling with the config settings and got the 0.9.0 running, but still no success from PyCharm]]></description>
                        <content:encoded><![CDATA[<p>I did some fiddling with the config settings and got the 0.9.0 running, but still no success from PyCharm</p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/development/">[Software/Hardware] Development</category>                        <dc:creator>Dangerdad137</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/development/setting-up-development-system/#post-1428</guid>
                    </item>
							        </channel>
        </rss>
		