Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2018 03:31:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225481] devel/arduino18 sends constant resets to attached boards
Message-ID:  <bug-225481-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225481

            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@freebsd.org
          Reporter: hsw@bitmark.com
          Assignee: kevans@freebsd.org
             Flags: maintainer-feedback?(kevans@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 res=
tart
and then FreeBSD kernel must scan the USB bus again. Some times it will cha=
nge
fro cuaU0 to cuaU1.=20


I just found a work around for problem 1 - keep the serial monitor window o=
pen
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?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225481-13>