[Bug 225481] devel/arduino18 sends constant resets to attached boards

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 27 03:31:12 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225481

            Bug ID: 225481
           Summary: devel/arduino18 sends constant resets to attached
                    boards
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kevans at freebsd.org
          Reporter: hsw at bitmark.com
          Assignee: kevans at freebsd.org
             Flags: maintainer-feedback?(kevans at freebsd.org)

I installed devel/arduino18 (1.8.2_2) on TrueOS/unstable

  FreeBSD 12.0-CURRENT #13 5085b9023(trueos-master)

I am encountering two problems.

1) The arduino18 IDE does program both Uno and Mega1280 but the sketch does not
run; the boards are getting continuously reset.  It appears to be caused by the
Arduino IDE constantly opening and closing files in /dev/usb - I expect it is
trying to determine which USB devices are serial ports.

2) The Leonardo does not program and the programmer times out.  The Leonardo
uses AVR with on-chip USB so I expect the reset causes its USB stack to restart
and then FreeBSD kernel must scan the USB bus again. Some times it will change
fro cuaU0 to cuaU1. 


I just found a work around for problem 1 - keep the serial monitor window open
as this appears to stop the IDE scanning this port, and it can be left open
even when programming.

On the same machine Arch Linux programs all three board types successfully, so
I do not think there is any hardware problems, though it is a slightly newer
version of the IDE: 1.8.5.

Is anyone running this successfully on other FreeBSD versions?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list