comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Arduino Due vs Mac
Date: Sat, 11 Jul 2015 14:35:56 +0100
Date: 2015-07-11T14:35:56+01:00	[thread overview]
Message-ID: <lyh9palsub.fsf@pushface.org> (raw)
In-Reply-To: ly615tm5zb.fsf@pushface.org

Simon Wright <simon@pushface.org> writes:

> darek <darek.maksimiuk@gmail.com> 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).

  reply	other threads:[~2015-07-11 13:35 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 [this message]
2015-07-11 17:55           ` darek
2015-07-06 20:34 ` Maciej Sobczak
2015-07-06 21:29   ` Simon Wright
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