Re: [Openocd-development] [SWD] STM32Primer2 JTAG/SWD + RLink pinout

2010-03-23 Thread Øyvind Harboe
Hi Andrew, David is working on this currently. We(the maintainers) are much more concerned about doing this correctly(maintainable, decent performance) than doing it quickly. If you have any thoughts on how to do this, please post it to the list. -- Meet us in Paris at rts EMBEDDED SYSTEMS 201

[Openocd-development] ST-Link with OpenOCD?

2010-03-23 Thread Sammy Omari
Hi, As far as I know, the ST-Link dongle is not yet supported by OpenOCD. According to STs homepage ( http://www.st.com/mcu/contentid-126-110-ST_LINK.html) only the Attolic toolset, the TrueSTUDIO, the IAR toolset EWARM and the Keil toolset officially support the dongle. Unfortunately, these are al

Re: [Openocd-development] ST-Link with OpenOCD?

2010-03-23 Thread simon qian
ST doesn't open the protocol of ST-Link, so it's impossible to support it in OpenOCD. I have 2 ST-Link sent by vendor of ST, but now, they are Versaloon. 2010/3/23 Sammy Omari > Hi, > As far as I know, the ST-Link dongle is not yet supported by OpenOCD. > According to STs homepage ( > http://www

Re: [Openocd-development] ST-Link with OpenOCD?

2010-03-23 Thread Spencer Oliver
On 23/03/2010 10:12, simon qian wrote: ST doesn't open the protocol of ST-Link, so it's impossible to support it in OpenOCD. I have 2 ST-Link sent by vendor of ST, but now, they are Versaloon. ST sent me the api, it is based on mass storage device. They are happy for openocd to support it. Th

[Openocd-development] Unused symbols; Global vs Static

2010-03-23 Thread Antonio Borneo
By a quick automatic analysis of OpenOCD code, I have found ~300 global symbols that: - or only have local use, e.g. add_connection() is defined and used in src/server/server.c only - or are completely unused e.g. armv4_5_mmu_page_type_names[] in src/target/armv4_5_mmu.c Does it makes sense to

Re: [Openocd-development] Unused symbols; Global vs Static

2010-03-23 Thread Øyvind Harboe
On Tue, Mar 23, 2010 at 6:16 PM, Antonio Borneo wrote: > By a quick automatic analysis of OpenOCD code, > I have found ~300 global symbols that: > - or only have local use, >  e.g. add_connection() is defined and used in src/server/server.c only > - or are completely unused >  e.g. armv4_5_mmu_pag

Re: [Openocd-development] Unused symbols; Global vs Static

2010-03-23 Thread Antonio Borneo
On Wed, Mar 24, 2010 at 1:18 AM, Øyvind Harboe wrote: > On Tue, Mar 23, 2010 at 6:16 PM, Antonio Borneo > wrote: >> By a quick automatic analysis of OpenOCD code, >> I have found ~300 global symbols that: >> - or only have local use, >> e.g. add_connection() is defined and used in src/server/ser

Re: [Openocd-development] Unused symbols; Global vs Static

2010-03-23 Thread Øyvind Harboe
On Tue, Mar 23, 2010 at 6:38 PM, Antonio Borneo wrote: > On Wed, Mar 24, 2010 at 1:18 AM, Øyvind Harboe > wrote: >> On Tue, Mar 23, 2010 at 6:16 PM, Antonio Borneo >> wrote: >>> By a quick automatic analysis of OpenOCD code, >>> I have found ~300 global symbols that: >>> - or only have local us

[Openocd-development] xds100v2

2010-03-23 Thread Dave
Hi, I am thinking about getting an XDS100v2 jtag/usb adapter to debug a beagleboard. It appears that I can use this board with a free version of CodeComposer. Does anybody know if I can debug the OMAP's Arm Cortex A8 with the XDS100v2 board, OpenOCD, and GDB? Does anybody use the XDS100v2 bo

Re: [Openocd-development] ST-Link with OpenOCD?

2010-03-23 Thread Austin, Alex
At that level, it may make sense to build a separate GDB server. The GDB remote protocol is not very difficult, and I've done it in HL languages. Contact me off-list if you'd like help doing so. - Alex > -Original Message- > From: openocd-development-boun...@lists.berlios.de [mailto:openo

Re: [Openocd-development] Unused symbols; Global vs Static

2010-03-23 Thread David Brownell
On Tuesday 23 March 2010, Øyvind Harboe wrote: > What is "nm" and how do you run it? "man nm" it's part of binutils, like "as" and "ld", or 'objdump", etc. > > Is it an open source tool? In the GNU toolchain, yes. There are non-GNU toolchains which also include tools named "nm", for (ISTR

Re: [Openocd-development] xds100v2

2010-03-23 Thread David Brownell
On Tuesday 23 March 2010, Dave wrote: > Hi, > > I am thinking about getting an XDS100v2 jtag/usb adapter to debug a > beagleboard. It appears that I can use this board with a free version of > CodeComposer. > > Does anybody know if I can debug the OMAP's Arm Cortex A8 with the > XDS100v2 board

Re: [Openocd-development] Unused symbols; Global vs Static

2010-03-23 Thread Antonio Borneo
In attachment first 2 patches of what seems to be a long sequence. Them cleanup just one C file. I have split in one patch just adding "static" keyword and one just removing unused function. I let you decide to proceed removing unused code right now, or just add those identifiers in a list of to-be

Re: [Openocd-development] Unused symbols; Global vs Static

2010-03-23 Thread Øyvind Harboe
Pushed. Thanks! -- Meet us in Paris at rts EMBEDDED SYSTEMS 2010 - March 30. and April 1. http://www.zylin.com/events_rts.html Øyvind Harboe 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 progr