Re: [Openocd-development] bitbanging ft2232 dongle port from TCL is TOO DANGEROUS : PLEASE COMMENT

2011-06-24 Thread Laurent Gauch
On Fri, 24 Jun 2011 16:32:54 +, Tomek CEDRO wrote: Cool, I will add new field into layout structure that will indicate forbidden bits to bitbang, this field will be zero by default so all bits are allowed, driver author can add some value of this field to the specific layout - that value AND

Re: [Openocd-development] Cortex M3: Patch for automatic handling of interrupt mask during stepping

2011-06-24 Thread Peter Horn
Am 24.06.2011 21:52, schrieb Spencer Oliver: On Jun 24, 2011 10:32 AM, "Øyvind Harboe" mailto:oyvind.har...@zylin.com>> wrote: > > Anyone have any objections against this patch? > > Did anyone else but Andreas Fritiofson review it in detail? > I am back at work next week and would like to

Re: [Openocd-development] Cortex M3: Patch for automatic handling of interrupt mask during stepping

2011-06-24 Thread Spencer Oliver
On Jun 24, 2011 10:32 AM, "Øyvind Harboe" wrote: > > Anyone have any objections against this patch? > > Did anyone else but Andreas Fritiofson review it in detail? > I am back at work next week and would like to go through it then Cheers Spen ___ Openo

Re: [Openocd-development] [PATCH 3/3] ft2232: Add casts to avoid warnings

2011-06-24 Thread Jie Zhang
On Mon, Jun 20, 2011 at 6:50 AM, Steve Bennett wrote: > The default is -Werror, so warnings become errors > and stop the build. > Might be better to simply #define FT_STATUS instead. > > -               LOG_ERROR("FT_Write returned: %lu", status); > +               LOG_ERROR("FT_Write returned: %l

Re: [Openocd-development] [PATCH] transport selection fix

2011-06-24 Thread Jie Zhang
On Sat, Jun 18, 2011 at 4:36 AM, Tomek CEDRO wrote: > On Thu, Jun 16, 2011 at 9:42 PM, Andreas Fritiofson > wrote: >> a ? : b is equivalent to a ? a : b, unless evaluating a has side-effects or >> if a is volatile, since it's only evaluated once in the former case and >> twice in the latter. > >

Re: [Openocd-development] bitbanging ft2232 dongle port from TCL is TOO DANGEROUS : PLEASE COMMENT

2011-06-24 Thread Tomek CEDRO
Cool, I will add new field into layout structure that will indicate forbidden bits to bitbang, this field will be zero by default so all bits are allowed, driver author can add some value of this field to the specific layout - that value AND port mask to set/bitbang will be checked in ft2232_bitban

Re: [Openocd-development] [PATCH] Implementation of a remote bitbang jtag driver

2011-06-24 Thread Øyvind Harboe
On Fri, Jun 24, 2011 at 5:40 PM, Uhler, Richard wrote: > > Attached is an updated version of the remote bitbang patch generated > following the instructions from > http://repo.or.cz/w/openocd.git/blob/HEAD:/HACKING. > > The remote bitbang jtag driver is useful for debugging software running > on

Re: [Openocd-development] [PATCH] Implementation of a remote bitbang jtag driver

2011-06-24 Thread Uhler, Richard
Attached is an updated version of the remote bitbang patch generated following the instructions from http://repo.or.cz/w/openocd.git/blob/HEAD:/HACKING. The remote bitbang jtag driver is useful for debugging software running on processors which are being simulated. Thanks, Richard __

Re: [Openocd-development] [OpenOCD] [PATCH 1/1] load_image should use virtual (p_vaddr) instead of physical (p_paddr) ELF segment addr

2011-06-24 Thread Drasko DRASKOVIC
Hi Øyvind, thanks for the merge. Just for the reference, I double-checked the issue on bunutils mailing lists : http://sourceware.org/ml/binutils/2011-06/msg00252.html >From this little discussion I conclude that this patch is good, and that will fix OABI linker issues (and potentially some other

Re: [Openocd-development] Cortex M3: Patch for automatic handling of interrupt mask during stepping

2011-06-24 Thread Øyvind Harboe
Anyone have any objections against this patch? Did anyone else but Andreas Fritiofson review it in detail? -- Ø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/

Re: [Openocd-development] [PATCH 3/3] ft2232: Add casts to avoid warnings

2011-06-24 Thread Sergey Lapin
On Fri, Jun 24, 2011 at 1:03 PM, Øyvind Harboe wrote: > The patch fails. > > Could you rebase and repost? > I think the whole idea is fail. This patch adds more problems than it fixes. What size of unsigned long is on amd64 or ppc64? PRIx macros are for fixed-width types, like int32_t. Unsigned lo

Re: [Openocd-development] [PATCH 3/3] ft2232: Add casts to avoid warnings

2011-06-24 Thread Øyvind Harboe
The patch fails. Could you rebase and repost? -- Ø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@lis

Re: [Openocd-development] [OpenOCD] [PATCH 1/1] load_image should use virtual (p_vaddr) instead of physical (p_paddr) ELF segment addr

2011-06-24 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 https://lists.be