comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Arduino Due vs Mac
Date: Mon, 06 Jul 2015 22:29:17 +0100
Date: 2015-07-06T22:29:17+01:00	[thread overview]
Message-ID: <ly8uatx9ea.fsf@pushface.org> (raw)
In-Reply-To: 587f5ad7-4507-45d0-8e33-ae39d11b2027@googlegroups.com

Maciej Sobczak <see.my.homepage@gmail.com> writes:

>> I'm trying to get my ARTS running on a Due, but have come across a huge
>> stumbling block in that I can't use the Bossa tool (or its command-line
>> equivalents) to upload the built binary to the target board from the
>> Mac.
>
> Get the Arduino IDE and use the bossac tool that is part of it.

I don't see that? (that is, I downloaded the Arduino IDE and there's no
file called bossa* there at all).

What I did do is look again at https://github.com/shumatech/BOSSA.git
and **check out the 'arduino' branch** (and compile with clang, not
GCC!)

> You should be able to upload any binary to the Arduino Due like this:
>
> $ bossac -e -w -v -U true -p tty.usbmodemfd131 -b program.bin
>
> Note: the USB device is a bit unpredictable, it might be
> tty.usbmodemfd141 or something - I had to check the availability of
> this special file name under /dev before every upload and use the
> actual name that was there.

If I leave out -U and -p this works (after a long pause while it scans
through /dev/cu.Bluetooth- devices before finding /dev/cu.usbmodem1411
(this seems stable for the Due programming port on the USB port nearer
the front of the Macbook)).

Now I have to find out why I'm getting 'Floating point exception: 8",
but this is a huge improvement!


  reply	other threads:[~2015-07-06 21:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-06 16:17 Arduino Due vs Mac Simon Wright
2015-07-06 16:24 ` Bob Duff
2015-07-06 20:59   ` Simon Wright
2015-07-06 18:03 ` Tero Koskinen
2015-07-06 21:08   ` Simon Wright
2015-07-08 17:22     ` darek
2015-07-09 20:27       ` Simon Wright
2015-07-11 13:35         ` Simon Wright
2015-07-11 17:55           ` darek
2015-07-06 20:34 ` Maciej Sobczak
2015-07-06 21:29   ` Simon Wright [this message]
2015-07-07 11:08     ` Simon Wright
2015-07-07 12:59 ` Jedi Tek'Unum
2015-07-07 15:32   ` Simon Wright
2015-07-07 21:12     ` Jedi Tek'Unum
2015-07-07 21:53       ` Simon Wright
2015-07-08 15:33         ` Jedi Tek'Unum
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox