[Openocd-development] Primitives for flash programming on Stellaris microprocessors

2010-11-05 Thread Kevin Hester
Hi ya'll, It will be a while before I have time to submit a real patch, but I've recently created some functions that might be useful for other users of the Stellaris series parts. By including these in my OCD config I'm able to program flash directly from GDB at the beginning of a debug cycle.

Re: [Openocd-development] [PATCH] Search for ../tcl/ when running in source directory on Linux

2010-11-05 Thread David Brownell
> > Then I question the gain of this function. > > My thoughts too. > > Perhaps there should be a configuration option? > --enable-dev-creature-comforts. There's a runtime option that suffices, and is set up in my test/dev scripts. "-s tcl" or similar, if I recall correctly. - Dave _

Re: [Openocd-development] [PATCH] Search for ../tcl/ when running in source directory on Linux

2010-11-05 Thread Laurent Gauch
When openocd is built in a source directory but not installed using make install it is helpful to search for the tcl/ directory next to the src/ directory where the openocd binary is created. On Linux this path can be found using realpath(/proc/self/exe). uname() is used to learn if the system i

Re: [Openocd-development] [PATCH] Search for ../tcl/ when running in source directory on Linux

2010-11-05 Thread Øyvind Harboe
> If it mainly is for the developers: > Then I question the gain of this function. My thoughts too. Perhaps there should be a configuration option? --enable-dev-creature-comforts. > In general, I think we should be careful with the additions of > small extensions that only are a convenience for

Re: [Openocd-development] [PATCH] Search for ../tcl/ when running in source directory on Linux

2010-11-05 Thread Jonas Horberg
openocd-development-boun...@lists.berlios.de wrote on 2010-11-05 09:37:28: > Øyvind Harboe wrote: > > Unless I hear any comments on this, I'll commit it after > > a cool off period. > > Great. I'm happy to hear comments from anyone! > The first comment I have is that it would be good if a short

Re: [Openocd-development] Stm32 load elf file with gdb

2010-11-05 Thread Jonathan dumaresq
Hi, andr...@fritiofson.net wrote: > On Thu, Nov 4, 2010 at 2:46 PM, Jonathan dumaresq > wrote: >> Hi all, >> >> I try to get my stm32 environnement working with gdb. I'm unable to >> get my elf file loaded with gdb. Here my setup: >> >> Openocd.cfg >> / >> source [find interface/olimex-arm

Re: [Openocd-development] [PATCH] Search for ../tcl/ when running in source directory on Linux

2010-11-05 Thread Peter Stuge
Øyvind Harboe wrote: > Unless I hear any comments on this, I'll commit it after > a cool off period. Great. I'm happy to hear comments from anyone! //Peter ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.

Re: [Openocd-development] [PATCH] Search for ../tcl/ when running in source directory on Linux

2010-11-05 Thread Øyvind Harboe
Unless I hear any comments on this, I'll commit it after a cool off period. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programme