From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!gandalf.srv.welterde.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: Tero Koskinen Newsgroups: comp.lang.ada Subject: Re: Arduino Due vs Mac Date: Mon, 06 Jul 2015 21:03:02 +0300 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: NNTP-Posting-Host: 37-136-43-188.rev.dnainternet.fi Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: loke.gir.dk 1436205790 14697 37.136.43.188 (6 Jul 2015 18:03:10 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Mon, 6 Jul 2015 18:03:10 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:26652 Date: 2015-07-06T21:03:02+03:00 List-Id: 6.7.2015, 19:17, Simon Wright kirjoitti: > 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. > > There are several different versions of bossa, some of which recognise > the Due, most of which try to open the usb-serial connection at too high > a baud rate; but none will upload. > > The Arduino application for the Mac works fine, but I really don't want > to write tiny programs in C in a tiny window! > > I've attempted to write my own uploader, which is very frustrating (the > Atmel documentation is quite misleading in parts, and the board's > behaviour seems inconsistent, and the only sure answer seems to be to > understand the Bossa (C++) and Arduino (Java) code, baffling). > > Do others have Due vs Mac problems, or is it that I managed to buy a > duff board? Instead of using bossa, buy yourself a real JTAG adapter (Segger JLink, etc.). If you at some point change to a different ARM Cortex-M MCU, same JTAG adapter continues to work with it also (unless you buy some very cheap vendor-specific JTAG). Yours, Tero