There is no impleme...
 

There is no implementation for the servo/stepper to move the laser until now.  

  RSS
mario
(@mario)
Member Admin

When your FabScanPi-Server version is 0.5.0 and your avrdude version is Version 6.3-20171130 ( check for version with avrdude -v ) then edit the file /usr/bin/avrdude-autoreset and replace all avrdude-original with avrdude. Upgrade to the newest FabScanpi-Server version >= 0.6.0 and you are done. After a restart it should work like usual. Keep in mind that it is more recommended to use the newest version of the image which will include a working fix.

First you need to find out more about the problem. Have a look to the log file (see "How can i view the log file?" in F.A.Q.). Find the section where the init sequence of the server starts. Look for the folowing line ...

fabscan.server - INFO - FabScanPi-Server 0.4.2

If the next lines look like the the debug output below, the fabscanpi-server is not able to flash the firmware to the FabScanPi-HAT (or Arduino).

fabscan.scanner.laserscanner.FSSerial - ERROR - No FabScanPi HAT or compatible device found on port /dev/ttyAMA0

fabscan.scanner.laserscanner.FSSerial - ERROR - Fatal FabScanPi HAT or compatible connection error....

fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Reset FabScanPi HAT...

fabscan.scanner.laserscanner.FSSerial - ERROR - 'NoneType' object has no attribute 'write'

fabscan.scanner.laserscanner.FSSerial - DEBUG - 'NoneType' object has no attribute 'readline'

fabscan.scanner.laserscanner.FSSerial - ERROR - 'NoneType' object has no attribute 'write'

If this error occurs by the first run please start reading with 1. In case this error occurs after an fabscanpi-server update and your software worked before, continue reading with 2.


  1. First double check the solder joints of the 40-pin Header of the FabScanPi-HAT. If you are sure that there are no 'cold' solder joints move on 
    reading, otherwise resolder those joints. Try again and have a look to the logs. If the error still occurs continue reading with 3.

  2. Check if your fabscanpi-server version is 0.4.2 or higher. Have a look into your default.config.json and check the serial baudrate. It should be 57600 for fabscanpi-server >= 0.4.2. 
    If you changed the baudrate and the error still occurs continue with reading 3.

  3. Your bootloader is bricked, what means that you need to flash a new bootloader to your FabScanPi HAT. Continue with reading "How to flash the FabScanPi HAT Bootloader?"
Quote
Posted : 12/09/2019 7:30 am
Share: