Re: [Openocd-development] [PATCH] Fix Sam3u flash bank 1 issue

2011-08-21 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/ ___ Openocd-development mailing list Openocd-development@lists.berlios.de

Re: [Openocd-development] Jlink SWD Support

2011-08-21 Thread Carlson Gary
Hi Tomek, I didn't realize there was a fork for SWD support, so my original attempt was based on the master branch. Nevertheless I cloned the fork that you indicated and immediately ran into a number of compiler issues trying to compile it on a Mac OS X platform. The patch attachment covers

Re: [Openocd-development] Jlink SWD Support

2011-08-21 Thread Tomek CEDRO
Hello Carlson and thank you for your support! :-) On Sun, Aug 21, 2011 at 9:09 PM, Carlson Gary gcarl...@carlson-minot.com wrote: I didn't realize there was a fork for SWD support, so my original attempt was based on the master branch.  Nevertheless I cloned the fork that you indicated and

Re: [Openocd-development] Jlink SWD Support

2011-08-21 Thread Antonio Borneo
On Mon, Aug 22, 2011 at 7:21 AM, Tomek CEDRO tomek.ce...@gmail.com wrote: Hello Carlson and thank you for your support! :-) On Sun, Aug 21, 2011 at 9:09 PM, Carlson Gary gcarl...@carlson-minot.com wrote: I didn't realize there was a fork for SWD support, so my original attempt was based on

Re: [Openocd-development] Jlink SWD Support

2011-08-21 Thread Carlson Gary
Antonio, Yes...I concur. That is a better solution as it is agnostic to bus width and lets each platform compiler deal with the issue more cleanly. The solution I proposed admittedly would still be a problem on some architectures. I seem to have a faint recollection that a few non-gnu

Re: [Openocd-development] Jlink SWD Support

2011-08-21 Thread Antonio Borneo
On Mon, Aug 22, 2011 at 8:23 AM, Carlson Gary gcarl...@carlson-minot.com wrote: [...] I seem to have a faint recollection that a few non-gnu compilers don't always support %p as a formatting code. Hu... I run a quick and not exhaustive check. %p is part of ANSI C, at least in latest

Re: [Openocd-development] Jlink SWD Support

2011-08-21 Thread Tomek CEDRO
Thank you for this hint on printing pointers! :-) Although there is no word about %p in the manual, it works on FreeBSD so it should also work on MacOSX as it is derivative :-) With LOG_INFO(New SWD context initialized at %p, (void *)jtag_interface-transport-ctx); we get: %telnet localhost

[Openocd-development] [PATCH] Fix redbee config files

2011-08-21 Thread Jim Paris
The interface needs to be defined first, otherwise 'openocd -f board/redbee-econotag.cfg' gives an error. --- tcl/board/redbee-econotag.cfg |4 ++-- tcl/board/redbee-usb.cfg |6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tcl/board/redbee-econotag.cfg