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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.129.79.3 with SMTP id d3mr33863185ywb.37.1436637356782; Sat, 11 Jul 2015 10:55:56 -0700 (PDT) X-Received: by 10.140.18.194 with SMTP id 60mr414888qgf.12.1436637356745; Sat, 11 Jul 2015 10:55:56 -0700 (PDT) Path: buffer1.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!z61no326430qge.0!news-out.google.com!w15ni32447qge.0!nntp.google.com!z61no326426qge.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 11 Jul 2015 10:55:56 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=84.106.111.128; posting-account=-iT6ZQoAAAAlqBCInAc-vB6x1soT8Jhq NNTP-Posting-Host: 84.106.111.128 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <00522fe5-c15a-4076-9d79-1d902d6698ab@googlegroups.com> Subject: Re: Arduino Due vs Mac From: darek Injection-Date: Sat, 11 Jul 2015 17:55:56 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.giganews.com comp.lang.ada:194087 Date: 2015-07-11T10:55:56-07:00 List-Id: On Saturday, 11 July 2015 15:35:48 UTC+2, Simon Wright wrote: > Simon Wright writes: > > > darek writes: > > > >> On Monday, 6 July 2015 23:07:59 UTC+2, Simon Wright wrote: > >>> Tero Koskinen writes: > >>> > >>> > 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). > >>> > >>> That would be the next step. Indeed, without JTAG I don't see how > >>> anyone programs the Due, because of total absence of debug > >>> facilities; and it does add considerably to the price (not that I > >>> can't afford it, just seems a bit much for the hobbyist > >>> market). You're talking about something like 3 times the cost of an > >>> STM32F4 Disco board, which has the STLINK interface on-board and a > >>> straightforward and free software solution for gdb; things stop, ^C, > >>> get a traceback from last_chance_handler, on to the next problem. > >> > >> For my hobby projects (SDR) at home I got this one (non-commercial use): > >> https://www.segger.com/j-link-edu.html > >> Together with the Olimex board : > >> https://www.olimex.com/Products/ARM/ST/STM32-H407/open-source-hardware and > >> a hobbyist version of the CrossWorks (http://www.rowley.co.uk/arm/) > >> environment works very well. I know, its C but I had to start > >> somewhere :). > >> Again this is not Ada but it is worth checking: > >> http://www.mpeforth.com/xc7.htm#versions and > >> http://www.forth.com/embedded/swiftx-embedded-systems-14.html > > > > I'm looking at the Segger EDU version and the Olimex connector (a tenth > > the cost of the Segger version!) > > Works just fine. I spent a lot of time looking at the 10-pin end of the > Olimex connector; the red side of the cable, which I believe means pin 1 > is at that end, goes to the inboard end of the JTAG connector. > > I run the GDB server with > > $ jlinkgdbserver \ > -device ATSAM3X8E \ > -endian little \ > -if jtag \ > -localhostonly \ > -halt > > (-if swd works too). Simon, if it helps the doc for the Olimex board is here:https://www.olimex.com/Products/ARM/ST/STM32-E407/resources/STM32-E407.pdf Cheers, Darek