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

2011-06-24 Thread Laurent Gauch
The best is to standardize at a lower level ... and to forget the idea to have the possibility to bitbang from the TCL of the openocd. / //That's as for the SWD, we have to standardize some function call in the ft2232, and avoiding bitbang access from higher-level. // //That's not simple to

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

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

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 oyvind.har...@zylin.com 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

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] [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] [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] [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 ruh...@qualcomm.com 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

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

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

2011-06-24 Thread Jie Zhang
On Sat, Jun 18, 2011 at 4:36 AM, Tomek CEDRO tomek.ce...@gmail.com wrote: On Thu, Jun 16, 2011 at 9:42 PM, Andreas Fritiofson andreas.fritiof...@gmail.com 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

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 ste...@workware.net.au 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); +              

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 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 go through it then Cheers Spen

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 oyvind.har...@zylin.com 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