Re: [OpenOCD-devel] Commiter ?

2016-04-28 Thread Jonathan dumaresq
Hi Andreas, Yeah, I have pending patches that have more than 3 positives feedback. I just would like to be sure that our works is not forgetten forever... Regards Jonanthan Le 28/04/2016 11:14, Andreas Fritiofson a écrit : On Thu, Apr 28, 2016 at 3:47 PM, Jonathan dumaresq mailto:jdumar

[OpenOCD-devel] Commiter ?

2016-04-28 Thread Jonathan dumaresq
Hi all, Why no commit is now done in this project ? The list of patch is growing very fast... Regards Jonathan -- Find and fix application performance issues faster with Applications Manager Applications Manager provi

Re: [OpenOCD-devel] FreeRTOS support

2014-06-26 Thread Jonathan dumaresq
Hi, Le 2014-06-26 07:54, Freddie Chopin a écrit : Hello! I'm back to the topic of RTOS support (which I still never used successfully). FreeRTOS support requires symbol uxTopUsedPriority to be present. The problem is that this was removed from FreeRTOS before version 7.5.0 and now there is no

Re: [OpenOCD-devel] compilation

2013-10-07 Thread Jonathan Dumaresq
Hi Freddie, Freddie Chopin wrote: > Any luck with that? I was planinig to do another snapshot compilation > soon, but I guess it will be pretty hard this time... > > If I have the libs in right places, can I just provide some flags > externally to avoid all the hassle? sth like LDFLAGS="..." c

[OpenOCD-devel] Packet too long.

2013-10-04 Thread Jonathan Dumaresq
Hi, I try to get -rtos auto working on my STM32F4x. I compiled in the latest openocd and I added the -rtos auto at the create target. I use the arm-none-eabi-gdb version 7.5.50. When I halt the application, I got Remote 'g' packet reply is too long: edff4842143e7f45481701202

Re: [OpenOCD-devel] compilation

2013-10-04 Thread Jonathan Dumaresq
Hi, > > git clone git://openocd.git.sourceforge.net/gitroot/openocd/openocd > openocd-git > cd openocd-git > ./bootstrap > > > + aclocal > + libtoolize --automake --copy > + autoconf > configure.ac:228: error: possibly undefined macro: AC_MSG_NOTICE > If this token and others are legitima

[OpenOCD-devel] compilation

2013-10-04 Thread Jonathan Dumaresq
Hi, I try to recompile the latest version of openocd and I have some probleme with autoconf. I'm cross compile from ubuntu to windows Here the version dumarjo@OpenOCD:~$ autoconf --version autoconf (GNU Autoconf) 2.68 git clone git://openocd.git.sourceforge.net/gitroot/openocd/openocd openocd

Re: [OpenOCD-devel] Windows binary for OpenOCD

2013-09-27 Thread Jonathan Dumaresq
Hi, I agree too. Jonathan Xiaofan Chen wrote: > Ref: http://openocd.zylin.com/#/c/1638/ > > Spen wrote " I have no objections to providing binaries (or > nightly/weekly) for windoze hsoted on sf. It is should not be too > hard to config jenkins to automate this. What is the general > opinion?"

Re: [OpenOCD-devel] Progress bar in eclipse

2013-07-03 Thread Jonathan Dumaresq
Hi, Jörg Fischer wrote: > Hi, > Am 03.07.2013 17:29, schrieb Jonathan Dumaresq: > >> I wondoer if it is possible to have a better indicator of the >> flashing process ? >> >> Now in eclipse with gdb, The progress stop at 78% and we don't have >>

[OpenOCD-devel] Progress bar in eclipse

2013-07-03 Thread Jonathan Dumaresq
Hi all, I wondoer if it is possible to have a better indicator of the flashing process ? Now in eclipse with gdb, The progress stop at 78% and we don't have any indication of the progress of the load command. Do i miss something ? Regards Jonathan ---

[OpenOCD-devel] Intagrate an StlinkV2 on our board ?

2013-06-13 Thread Jonathan Dumaresq
Hi all, I wonder if it is possible to add an stlinkv2 or equivalent directly on our custom board ? I would like to plug only an USB on our board and debug it with openocd. We will have an STM32F4 devices on the board. Regards Jonathan --

Re: [OpenOCD-devel] stlinkV2 connect to sleeping target

2013-05-02 Thread Jonathan Dumaresq
HI, Jonathan Gerd v. Egidy wrote: > Hi, > >> We try to use openocd with an stm32l1x target (discovery) with sleep >> mode. > > I have no experience with these, I tried it with a stm32f4discovery. > >> We try using DBGMCU_STANDBY | DBGMCU_STOP | DGBMCU_SLEEP in the >> config register without su

[OpenOCD-devel] stlinkV2 connect to sleeping target

2013-04-30 Thread Jonathan Dumaresq
Hi all, We try to use openocd with an stm32l1x target (discovery) with sleep mode. I just compiled the latest version op oocd. I would like to know if we can use openocd with a device that go into sleep mode at some period of time ?(90% sleeping). We try using DBGMCU_STANDBY | DBGMCU_STOP | DG

Re: [OpenOCD-devel] 2 stlinkV2 at same time ?

2013-04-02 Thread Jonathan Dumaresq
Hi, Xiaofan Chen wrote: > On Wed, Mar 27, 2013 at 10:45 PM, Jonathan Dumaresq > wrote: >> Ok. I found a small solution to be able to do this. >> >> I modify the libusb1_common.c jtag_libusb_open >> >> I add this line in the for loop >> >>

Re: [OpenOCD-devel] 2 stlinkV2 at same time ?

2013-03-27 Thread Jonathan Dumaresq
Hi, Spencer Oliver wrote: > On 27 March 2013 13:38, Jonathan Dumaresq > wrote: >> Hi, >> >> Is it possible to use 2 STLINKV2 at same time on the same PC ? >> >> I need to debug communication between 2 board and I would like to >> use both debugger.

[OpenOCD-devel] 2 stlinkV2 at same time ?

2013-03-27 Thread Jonathan Dumaresq
Hi, Is it possible to use 2 STLINKV2 at same time on the same PC ? I need to debug communication between 2 board and I would like to use both debugger. Thanx Jonathan -- Own the Future-Intel® Level Up Game Demo Conte

Re: [OpenOCD-devel] Stm32 watchpoint dynamic

2013-03-07 Thread Jonathan Dumaresq
ote: > Hi, > Am 28.02.2013 21:17, schrieb Jonathan Dumaresq: >> Hi all, >> >> I try to find a problem in our code. And I wonder if I can use a >> sort of dynamic watchpoint. >> >> Like __asm("BKPT #0\n"). >> >> Is there an opcode

Re: [OpenOCD-devel] Stm32 watchpoint dynamic

2013-03-06 Thread Jonathan Dumaresq
Hi Freddie, Freddie Chopin wrote: > > There are some docs about MPU in ARM documentation (nothing in ST > docs), or in LPC17xx manuals (probably easier to read than ARM's). > > 4\/3!! I think you have pointed all the thing that was afraid of. Our code now is near 500K coompiled. I'm sure it wi

Re: [OpenOCD-devel] Stm32 watchpoint dynamic

2013-03-05 Thread Jonathan Dumaresq
Hi, Freddie Chopin wrote: > You can check FreeRTOS port to Cortex-M3 with MPU - the code tha > deals with the MPU config is rather easy, Ok. but the regions have to > meet some requirements (alignment and size) + you need to use > un-privileged mode for threads to actually take any advantage

Re: [OpenOCD-devel] Stm32 watchpoint dynamic

2013-03-05 Thread Jonathan Dumaresq
andr...@fritiofson.net [mailto:andr...@fritiofson.net] De la part de Andreas Fritiofson Envoyé : 5 mars 2013 14:48 À : Spencer Oliver Cc : Jonathan Dumaresq; OpenOCD Devel Objet : Re: [OpenOCD-devel] Stm32 watchpoint dynamic On Tue, Mar 5, 2013 at 3:42 PM, Spencer Oliver wrote: On 5 March 20

Re: [OpenOCD-devel] Stm32 watchpoint dynamic

2013-03-05 Thread Jonathan Dumaresq
point in runtime, we could probably trig the bug. Regards Jonathan Spencer Oliver wrote: > On 28/02/13 20:17, Jonathan Dumaresq wrote: >> Hi all, >> >> I try to find a problem in our code. And I wonder if I can use a >> sort of dynamic watchpoint. >> >> L

[OpenOCD-devel] Stm32 watchpoint dynamic

2013-03-01 Thread Jonathan Dumaresq
Hi all, I try to find a problem in our code. And I wonder if I can use a sort of dynamic watchpoint. Like __asm("BKPT #0\n"). Is there an opcode that I can use to set and remove a watchpoint on a cortex-M4 ? Jonathan -

Re: [OpenOCD-devel] Watchpoint

2013-01-25 Thread Jonathan Dumaresq
Hi Spen, This is looking good. Now It's break when the ars is read or write. Thanx for you time and help ! Jonathan Spencer Oliver wrote: > On 25 January 2013 15:25, Spencer Oliver wrote: >> >> For some reason the DWT logic was disabled - the icdi must have been >> enabling it itself. >> >>

Re: [OpenOCD-devel] Watchpoint

2013-01-25 Thread Jonathan Dumaresq
Hi Spen, I'll give it a try ! Jonathan Spencer Oliver wrote: > On 25 January 2013 15:25, Spencer Oliver wrote: >> >> For some reason the DWT logic was disabled - the icdi must have been >> enabling it itself. >> >> So looking into this further it appears to be an OpenOCD issue. I >> will post

Re: [OpenOCD-devel] Watchpoint

2013-01-25 Thread Jonathan Dumaresq
Hi Spen, Spencer Oliver wrote: > On 23 January 2013 12:14, Spencer Oliver wrote: >> On 22 January 2013 18:14, Jonathan Dumaresq >> wrote: >>> Hi Spen, >>> >>> I did this as a test >>> >>> volatile uint3

Re: [OpenOCD-devel] Watchpoint

2013-01-22 Thread Jonathan Dumaresq
Hi Spen, I did this as a test volatile uint32_t *test = (uint32_t *)0x20001000; while(1) *test = *test + 1; Whould I been able to break on access to memory location 0x20001000 ? wp 0x20001000 4 rw Nothing stop ! Jonathan

Re: [OpenOCD-devel] Watchpoint

2013-01-22 Thread Jonathan Dumaresq
Hi Spen, > > as you are writing 32bit words above the you should really use wp > 0x2000 4 rw > Is it possible to have watch point that will trigger at specific address without specifiy the access of it ? (1 2 or 4 bytes wide ? When you have tested it is it with gdb ? Or directly by telnet

Re: [OpenOCD-devel] Watchpoint

2013-01-22 Thread Jonathan Dumaresq
1 Normally I think the wp should have trigged ? Jonathan Spencer Oliver wrote: > On 22 January 2013 14:07, Jonathan Dumaresq > wrote: >> Hi spen, >> >> Well again git problem >> >> git checkout 561984c8f672b5b35a78e8052

Re: [OpenOCD-devel] Watchpoint

2013-01-22 Thread Jonathan Dumaresq
Hi spen, Spencer Oliver wrote: > On 21 January 2013 20:11, Jonathan Dumaresq > wrote: >> Hi, >> >> I try to use watchpoint to find a problem on my target. >> >> Stm32f4 device. >> >> Before I start the application, I execute the commands

Re: [OpenOCD-devel] Watchpoint

2013-01-22 Thread Jonathan Dumaresq
Hi Spen, Spencer Oliver wrote: > On 21 January 2013 20:11, Jonathan Dumaresq > wrote: >> Hi, >> >> I try to use watchpoint to find a problem on my target. >> >> Stm32f4 device. >> >> Before I start the application, I execute the commands

[OpenOCD-devel] Watchpoint

2013-01-21 Thread Jonathan Dumaresq
Hi, I try to use watchpoint to find a problem on my target. Stm32f4 device. Before I start the application, I execute the commands in a telnet windows wp 0x20005414 4 a When I look into the wp list I see this address: 0x20005614, len: 0x0004, r/w/a: 2, value: 0x, mask: 0xf F

[OpenOCD-devel] stm32l1x

2012-11-21 Thread Jonathan Dumaresq
Hi, We try to use the stm32l1 discovery with openocd. We have some problem debugging it. Here is a short log of the debug session. I can create the full log with -d3 if someone need it. Open On-Chip Debugger 0.7.0-dev-00079-g08ddb19 (2012-11-12-17:14) Licensed under GNU GPL v2 For bug report

Re: [OpenOCD-devel] Rtos support in eclipse indigo

2012-10-16 Thread Jonathan Dumaresq
Hi freddie, Do you have to add something to the startup script ? If I use verbose mode of GDB it's works. If I removed it, I could not get the debug working at all. Jonathan -- Don't let slow site performance ruin you

Re: [OpenOCD-devel] Rtos support in eclipse indigo

2012-10-16 Thread Jonathan Dumaresq
Hi Freddie, I get it work as you describe. It's sad that this doesn't work well with indigo. I have not tried with Juno. Juno is very slow. Have you try it in juno ? Jonathan Freddie Chopin wrote: > W dniu 2012-10-16 17:01, Jonathan Dumaresq pisze: >> Hi Freddie, >>

Re: [OpenOCD-devel] Rtos support in eclipse indigo

2012-10-16 Thread Jonathan Dumaresq
Hi Freddie, Freddie Chopin wrote: > You need to use "GDB (DSF) Hardware Debugging Launcher" in GDB > Hardware Debugging configuration - not the usual "Standard GDB ...". > I use GDB Hardware Debugging->GDB (DSF) Hardware Debugging Launcher This should be the same as your. In the Debugger pan,

[OpenOCD-devel] Rtos support in eclipse indigo

2012-10-16 Thread Jonathan Dumaresq
Hi, Is there a way to use the -rtos in eclipse indigo ? I try to use the FreeRTOS thrad info with eclips indigo and I'm unable to get it work. I try the consol gdb and I can see thread with "i th" command. >From what I see, the hardware gdb plugin doesn't send the qSymbols. So the rtos function

Re: [OpenOCD-devel] I have some problem at cross compile openocd on linux.

2012-10-15 Thread Jonathan Dumaresq
Hi Freddie, Freddie Chopin wrote: > W dniu 2012-10-12 13:58, Jonathan Dumaresq pisze: >> Thanx for your suggestion. If you can compile the head it should be >> ok for me since the commit for the RTOS support with the STLINK is >> now in the main tree. > > I see you

Re: [OpenOCD-devel] I have some problem at cross compile openocd on linux.

2012-10-12 Thread Jonathan Dumaresq
Hi, Xiaofan Chen wrote: > Anyway I just tried to cross build openocd git under Ubuntu 12.04 > using MinGW.org and I have no issues. > > 607 cd libusb-win32-src-1.2.6.0/ > 611 cd libusb-win32-src-1.2.6.0/ > 614 make host_prefix=i586-mingw32msvc all > 616 sudo cp libusb.a /usr/i586-m

Re: [OpenOCD-devel] I have some problem at cross compile openocd on linux.

2012-10-12 Thread Jonathan Dumaresq
Hi, Xiaofan Chen wrote: > I use the mingw32 package from Ubuntu repo which is for MinGW.org > compiler. > > mingw.org does not provide cross compiler. It is more up to date than > the one in Ubuntu. This is part of the reasons I use native Windows > MinGW/Msys and not cross build for libftdi/o

Re: [OpenOCD-devel] SWD fails onOpenocd 0.6.1/j-link/STM32F4Discovery

2012-10-12 Thread Jonathan Dumaresq
andr...@fritiofson.net wrote: > On Fri, Oct 12, 2012 at 8:18 AM, jaydip aghera > wrote: >> Hi everyone, >> >> Thanks jonathan , >> >> stm32f4-discovery board has STM32407-VGT6 . >> We want to make custom board using STM32F407-VGt6. And we >> have j-link(segger). >> >>

Re: [OpenOCD-devel] I have some problem at cross compile openocd on linux.

2012-10-12 Thread Jonathan Dumaresq
Xiaofan Chen wrote: > On Fri, Oct 12, 2012 at 2:04 AM, Jonathan Dumaresq > wrote: >> sudo ln -s /usr/bin/i686-w64-mingw32-ld /usr/bin/i586-mingw32msvc-ld >> sudo ln -s /usr/bin/i686-w64-mingw32-ar /usr/bin/i586-mingw32msvc-ar >> sudo ln -s /usr/bin/i686-w64-mingw32

Re: [OpenOCD-devel] I have some problem at cross compile openocd on linux.

2012-10-12 Thread Jonathan Dumaresq
Hi Xiaofan , Xiaofan Chen wrote: > On Fri, Oct 12, 2012 at 2:04 AM, Jonathan Dumaresq > wrote: > > What if you skip this step? I do not think it is needed and it might > be harmful. > >> #now libpthread 2.9.1 >> >> mkdir -p /tmp/cross-compile/lib

Re: [OpenOCD-devel] I have some problem at cross compile openocd on linux.

2012-10-12 Thread Jonathan Dumaresq
Hi Freddie, Freddie Chopin wrote: > If you tell me what exact revision with what patch(es) do you need, > I'll compile it for you (; Thanx for your suggestion. If you can compile the head it should be ok for me since the commit for the RTOS support with the STLINK is now in the main tree. I wi

Re: [OpenOCD-devel] I have some problem at cross compile openocd onlinux.

2012-10-11 Thread Jonathan Dumaresq
Hi, Peter Stuge wrote: > Jonathan Dumaresq wrote: >> What I missed. Or What i did wrong ? > > You are massively over-complicating the entire process, probably > because of inexperience with autotools crosscompiling. There are > guides on the topic online. > >

Re: [OpenOCD-devel] SWD fails onOpenocd 0.6.1/j-link/STM32F4Discovery

2012-10-11 Thread Jonathan Dumaresq
Hi, jaydip aghera wrote: > Thanks for the response. > > Can someone then tell me which debuggers are currently supported by > OpenOCD with SWD protocol? STLINKV2 is supported, and tested. For the othen I don't know Regards Jonathan ---

Re: [OpenOCD-devel] SWD fails onOpenocd 0.6.1/j-link/STM32F4Discovery

2012-10-11 Thread Jonathan Dumaresq
Hi, Why you don't use the on board debugger ? This is a stlinkv2 Jonathan -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is

Re: [OpenOCD-devel] Cross-compiling

2012-08-17 Thread Jonathan Dumaresq
Hi Freddie, Freddie Chopin wrote: > W dniu 2012-08-17 17:45, Jonathan Dumaresq pisze: >> I need to be able to apply a patch in gerrit for the RTOS support on >> stlinkv2 > > Tell us what exact problem do you have and I'll try to help. > > But first of all

Re: [OpenOCD-devel] Cross-compiling

2012-08-17 Thread Jonathan Dumaresq
Hi Freddie, Freddie Chopin wrote: > W dniu 2012-08-17 15:40, Jonathan Dumaresq pisze: >> Hi, >> >> Is there an official doc that explain how to cross-compile openocd >> from an Ubuntu system ? >> >> I try to get this work but I always get problem with

[OpenOCD-devel] Cross-compiling

2012-08-17 Thread Jonathan Dumaresq
Hi, Is there an official doc that explain how to cross-compile openocd from an Ubuntu system ? I try to get this work but I always get problem with libftdi header file. I would like to use ubuntu 12.04 as a base system and compile it for win32 platform Jonathan --

Re: [OpenOCD-devel] RTOS auto with St-linkV2

2012-06-26 Thread Jonathan Dumaresq
Hi Spen, I try to give a shoot at this. Jonathan Spencer Oliver wrote: > On 20/06/2012 14:45, Jonathan Dumaresq wrote: >> Hi, >> >> I try to get this work but this seem to not work with stlinkv2 >> hardware. How to debug this ? I would like to use it with gdb in >

[OpenOCD-devel] RTOS auto with St-linkV2

2012-06-20 Thread Jonathan Dumaresq
Hi, I try to get this work but this seem to not work with stlinkv2 hardware. How to debug this ? I would like to use it with gdb in Eclipse. I think I have get it running with USB-ARM-OCB in the past. I have added the -rtos auto at the end of the create target, but gdb dosn't get the thread list

Re: [OpenOCD-devel] stlinkv2 single stepping

2012-05-04 Thread Jonathan Dumaresq
Hi Spen, Spencer Oliver wrote: > On 3 May 2012 16:12, Jonathan Dumaresq wrote: >>>> >>>> This patch work. Now I can single step without problem. >>>> > > I have had a quick look into the issue, can you try the attached > patch? > It seems th

Re: [OpenOCD-devel] stlinkv2 single stepping

2012-05-03 Thread Jonathan Dumaresq
Hi, Spencer Oliver wrote: > On 3 May 2012 15:58, Jonathan Dumaresq wrote: >>> strange, as i would expect the behaviour to be the same now. >>> when you say single step, i guess you mean c single step in eclipse. >>> >>> try the attached patch, this chan

Re: [OpenOCD-devel] stlinkv2 single stepping

2012-05-03 Thread Jonathan Dumaresq
Hi Spen, Spencer Oliver wrote: > On 3 May 2012 14:50, Jonathan Dumaresq wrote: >> >> I have a feeling that st are just masking all interrupts during a >> step. Could you try the attached patch against master to see if that >> solves the problem? >> >> N

Re: [OpenOCD-devel] stlinkv2 single stepping

2012-05-03 Thread Jonathan Dumaresq
Hi, Hi, Spencer Oliver wrote: > On 3 May 2012 14:53, Jonathan Dumaresq wrote: >> Hi Mathias, >> >> Mathias K. wrote: >>> Hello, >>> >>> is it working with the gdb hook? >>> >>> >> Since I don't use the zylin plugi

Re: [OpenOCD-devel] stlinkv2 single stepping

2012-05-03 Thread Jonathan Dumaresq
k fo gdb to use this file as startup. But if I use the Hardware Gdb Debugger, I don't have this field anymore. i'm on windows, if you have any tip that I could try, ... i'm happy to test Jonathan > > Regards, > > Mathias > > > On 02.05.2012 21:35, Jonath

Re: [OpenOCD-devel] stlinkv2 single stepping

2012-05-03 Thread Jonathan Dumaresq
Hi Spen, -Message d'origine- De : Spencer Oliver [mailto:s...@spen-soft.co.uk] Envoyé : 3 mai 2012 05:12 À : Jonathan Dumaresq Cc : openocd-devel@lists.sourceforge.net Objet : Re: [OpenOCD-devel] stlinkv2 single stepping On 2 May 2012 20:35, Jonathan Dumaresq wrote: > Hi, &g

[OpenOCD-devel] stlinkv2 single stepping

2012-05-02 Thread Jonathan Dumaresq
Hi, We use the stlinkv2 for some time now without any huge problem. We use openocd with gdb in eclipse with the hardware gdb debugging plugin on helios. I have compiled a version on 26 march 2012 without problem. Since I see that the hardware reset is now working on openocd, I have do an new test.

[OpenOCD-devel] Ftdi vnc2

2012-04-24 Thread Jonathan Dumaresq
Hi, Is there some work to get the FTDI VNC2 MCU supported in openocd ? I know that on the debugger ther is an FTDI FT232R chip. I'm wonder if this could be possible. Jonathan -- Live Security Virtual Conference Exclusiv

[OpenOCD-devel] Debuging openocd

2012-04-12 Thread Jonathan Dumaresq
Hi, I try to setup a new developement environement on windows for compiling and debugging Openocd. I try to use the Eclipse with gdb to debug. So far I did this, ./configure --enable-maintainer-mode --build=i686-pc-cygwin --host=i686-pc-mingw32 --enable-ft2232_libftdi --disable-shared CFLAGS="-

Re: [OpenOCD-devel] Problem compiling

2012-03-20 Thread Jonathan Dumaresq
Hi Paul, Paul Fertser wrote: > On Tue, Mar 20, 2012 at 09:12:01AM -0400, Jonathan Dumaresq wrote: >> Paul Fertser wrote: >>> On Mon, Mar 19, 2012 at 12:55:53PM -0400, Jonathan Dumaresq wrote: >>>>> if that does not work you can try pruning the src tree - this wil

Re: [OpenOCD-devel] Problem compiling

2012-03-20 Thread Jonathan Dumaresq
Hi Paul, Paul Fertser wrote: > On Mon, Mar 19, 2012 at 12:55:53PM -0400, Jonathan Dumaresq wrote: >>> if that does not work you can try pruning the src tree - this will >>> DELETE all files not part of the OpenOCD git src tree. git clean -f >>> -d -x >> >&g

Re: [OpenOCD-devel] Problem compiling

2012-03-19 Thread Jonathan Dumaresq
Hi Spen, Spencer Oliver wrote: > On 19 March 2012 16:02, Jonathan Dumaresq > wrote: >> Hi all, >> >> I have some problem compiling openocd Git. >> >> I did this >> >> git clone git://openocd.git.sourceforge.net/gitroot/openocd/openocd >

[OpenOCD-devel] Problem compiling

2012-03-19 Thread Jonathan Dumaresq
Hi all, I have some problem compiling openocd Git. I did this git clone git://openocd.git.sourceforge.net/gitroot/openocd/openocd ./bootstrap $ ./configure --enable-maintainer-mode --enable-ft2232_libftdi --disable-shared CC="gcc -mno-cygwin" CFLAGS="-O2 -Wall -I/usr/local/include" LDFLAGS=

Re: [OpenOCD-devel] stm32f103xG XL Density programming

2012-03-01 Thread Jonathan Dumaresq
Hi, _ De : Liam Staskawicz [mailto:lst...@gmail.com] Envoyé : 29 février 2012 14:22 À : Spencer Oliver Cc : openocd-devel@lists.sourceforge.net Objet : Re: [OpenOCD-devel] stm32f103xG XL Density programming On Wed, Feb 29, 2012 at 2:07 AM, Spencer Oliver wrote: On 29 February 201

[OpenOCD-devel] RTOS AUTO

2012-02-24 Thread Jonathan Dumaresq
Hi all, Does any one here have been able to use the rtos auto with an st-linkV2 debugger for the stm32f1x target ? First the target it's not reconized in Rtos framework. I added the stm32_stlink target name in the detection process of rtos.c Now it detect the FreeRTOS but I could not get the list

Re: [OpenOCD-devel] GDB Hardware debugging

2012-02-17 Thread Jonathan Dumaresq
Hi Andrew, > Ah yes, I remember that thread well > I've never tried the older zylin branded plugin, I've only ever used > newer version of eclipe with gdb hardware debugging plugin built in, > currently on indigo. Just for old time sake I tried again, I'm using > a newer gdb and newer openocd

Re: [OpenOCD-devel] GDB Hardware debugging

2012-02-16 Thread Jonathan Dumaresq
Hi Andrew, Andrew Leech wrote: > On 16/02/2012 8:14 AM, Jonathan Dumaresq wrote: >> Hi all, >> >> I try to use the GDB Hardware debugging from eclipse (the latest) and >> the openocd compiled from Git. I have problem terminate the process >> while debugging. >

[OpenOCD-devel] GDB Hardware debugging

2012-02-15 Thread Jonathan Dumaresq
Hi all, I try to use the GDB Hardware debugging from eclipse (the latest) and the openocd compiled from Git. I have problem terminate the process while debugging. I use the arm-none-eabi 7.3.1 from Yagarto toolchain. Doesn any one here is using this same setup ? The interface used is an st-linkV

Re: [OpenOCD-devel] Problem using stlinkv2 with the new change for armv6 instruction

2012-02-06 Thread Jonathan Dumaresq
Hi Matias, Mathias K. wrote: > Hello, > > you should re-check your real device ram size (0x2000???) and the > work area size (0x4000) in your configuration. > You are right I set it on my main cfg file but I forget to check in the lower level of the cfg file. I thing the lower config file

[OpenOCD-devel] Problem using stlinkv2 with the new change for armv6 instruction

2012-02-06 Thread Jonathan Dumaresq
Hi, I just try the latest oponocd git and I could not use the stlinkv2 with the new algo. It's always looping at a specific address. I try it with an cortex-m3 and a cortex-m0 with the same resault. Any idea ? Could someone else confirm this ? Jonathan openocd.log Description: Binary data --

Re: [OpenOCD-devel] Need small review

2012-01-25 Thread Jonathan Dumaresq
Hi, _ De : andr...@fritiofson.net [mailto:andr...@fritiofson.net] De la part de Andreas Fritiofson Envoyé : 24 janvier 2012 16:36 À : Jonathan Dumaresq Cc : openocd-devel@lists.sourceforge.net Objet : Re: [OpenOCD-devel] Need small review On Tue, Jan 24, 2012 at 4:01 PM, Jonathan

Re: [OpenOCD-devel] Need small review

2012-01-24 Thread Jonathan Dumaresq
Freddie Chopin wrote: > W dniu 2012-01-24 16:01, Jonathan Dumaresq pisze: >> HI all, >> >> I try my best to get the asm file work with the M0. I have modified >> the stm32f2x.S becaus eit look simpler than the on from the >> stm32f1x.S >> >> Here how

[OpenOCD-devel] Need small review

2012-01-24 Thread Jonathan Dumaresq
HI all, I try my best to get the asm file work with the M0. I have modified the stm32f2x.S becaus eit look simpler than the on from the stm32f1x.S Here how it's look. // Build : arm-eabi-gcc -c stm32f2xxx.S .text .syntax unified .cpu cortex-m0 .thumb .thu

Re: [OpenOCD-devel] Help needed to modify the stm32f1x flash helper

2012-01-20 Thread Jonathan Dumaresq
Hi, freddie_chopin wrote: > W dniu 2012-01-20 14:38:37 użytkownik Jonathan Dumaresq > napisał: >> The 2 thumb mode not supported I probably can try to modify it to use >> more generic instruction. I try to find why the compile error with >> >> cannot honor wi

[OpenOCD-devel] Help needed to modify the stm32f1x flash helper

2012-01-20 Thread Jonathan Dumaresq
HI, I try to compile the flash helper from the stm32f1x to support the armv6 arch too. I got some error when I try to assemble it. stm32f1x.S: Assembler messages: stm32f1x.S:51: Error: cannot honor width suffix -- `ldrh r6,[r5],#2' stm32f1x.S:52: Error: cannot honor width suffix -- `strh r6,[r

Re: [OpenOCD-devel] Cortex-M0 supported ?

2012-01-19 Thread Jonathan Dumaresq
Hi all, I found something that can confirm the problem that I have with the memory write. Can somebody test this ? I have an discovery board with an F4 MCU. So the stm32f2x driver is used. If I set the workspace to 0x0 I can't flash my board. If I set the workspace to 16K (anything should work

Re: [OpenOCD-devel] Cortex-M0 supported ?

2012-01-19 Thread Jonathan Dumaresq
Hi, Spencer Oliver wrote: > On 18 January 2012 14:20, Jonathan Dumaresq > wrote: >>>> >>>> How Do I clear the Readout option with OpenOCD ? >>>> >>> >>> use the unlock cmd >>> >> Mmm... This command send the 0x5AA5

Re: [OpenOCD-devel] Cortex-M0 supported ?

2012-01-19 Thread Jonathan Dumaresq
Hi, Spencer Oliver wrote: > On 17 January 2012 18:34, Jonathan Dumaresq > wrote: >> Hi, >> >> Spencer Oliver wrote: >>> On 17 January 2012 13:35, Jonathan Dumaresq >>> wrote: >>>> >>> >>> Does a stm32x mass erase succe

Re: [OpenOCD-devel] Cortex-M0 supported ?

2012-01-18 Thread Jonathan Dumaresq
Hi Spen, Spencer Oliver wrote: > On 17 January 2012 18:34, Jonathan Dumaresq > wrote: >> Hi, >> >> Spencer Oliver wrote: >>> On 17 January 2012 13:35, Jonathan Dumaresq >>> wrote: >>>> >>> >>> Does a stm32x m

Re: [OpenOCD-devel] Cortex-M0 supported ?

2012-01-17 Thread Jonathan Dumaresq
Hi, Spencer Oliver wrote: > On 17 January 2012 13:35, Jonathan Dumaresq > wrote: >> > > Does a stm32x mass erase succeed? How Do I clear the Readout option with OpenOCD ? Jonathan > > Cheers > Spen -

Re: [OpenOCD-devel] Cortex-M0 supported ?

2012-01-17 Thread Jonathan Dumaresq
Hi, Uwe Bonnes wrote: >> "Spencer" == Spencer Oliver writes: > > ... > > Spencer> Looking at the datasheet it looks as if it uses the same > flash Spencer> controller as stm32f1 (stm32f1x.c). > > What device are you talking about? What datasheet? > > I don't see any STM Cortex M0

Re: [OpenOCD-devel] Cortex-M0 supported ?

2012-01-17 Thread Jonathan Dumaresq
Hi Spencer, Spencer Oliver wrote: > On 17 January 2012 13:35, Jonathan Dumaresq > wrote: >> >> The stlinkV2. I got some of the protocol working but I could not get >> the flash programmed. I can write to ram but could not get it work >> with the flash. >>

Re: [OpenOCD-devel] Cortex-M0 supported ?

2012-01-17 Thread Jonathan Dumaresq
Hi, Freddie Chopin wrote: > Hi! > > M0 is not in OpenOCD, because - from what I know - most (all?) > Cortex-M0 chips have SWD only (no JTAG), and OpenOCD still does not > support SWD protocol. With the Stlink-V2 the SWD is working. But I don't know if the internal (the armv6) is well support

Re: [OpenOCD-devel] Cortex-M0 supported ?

2012-01-17 Thread Jonathan Dumaresq
Spencer Oliver wrote: > On 16 January 2012 19:10, Jonathan Dumaresq > wrote: >> Hi, >> >> I just dig into the openocd source code and I don't see any >> information about the Armv6-M arch. Is there eny one here that have >> use the cortex-m0 with

[OpenOCD-devel] Cortex-M0 supported ?

2012-01-16 Thread Jonathan Dumaresq
Hi, I just dig into the openocd source code and I don't see any information about the Armv6-M arch. Is there eny one here that have use the cortex-m0 with openOCD ? The flash loader must be updated to have the cortex-m0 asm code working on the target. I don't know if the armv6 target should be ad

Re: [OpenOCD-devel] Question about StlinkV2 protocol

2012-01-13 Thread Jonathan Dumaresq
_ De : Spencer Oliver [mailto:s...@spen-soft.co.uk] Envoyé : 13 janvier 2012 13:13 À : Mathias K. Cc : Jonathan Dumaresq; openocd-devel@lists.sourceforge.net Objet : Re: [OpenOCD-devel] Question about StlinkV2 protocol On Jan 13, 2012 5:44 PM, "Mathias K." wrote: > >

[OpenOCD-devel] Question about StlinkV2 protocol

2012-01-13 Thread Jonathan Dumaresq
Hi all, Is it possible to know from where toses command came from ? I have an USB analyser and try to find why the write to flash isn't working on the stm32F0x devices. Regards Jonathan -- RSA(R) Conference 2012 Mar

Re: [OpenOCD-devel] [PATCH]: b45546d stlink: add read/write 8bit memory

2012-01-12 Thread Jonathan Dumaresq
Hi, I'll try thoses patches today Thanx for your help Jonathan ger...@openocd.zylin.com wrote: > This is an automated email from Gerrit. > > Mathias K?ster (kes...@freenet.de) just uploaded a new patch set to > Gerrit, which you can find at http://openocd.zylin.com/366 > > -- gerrit > > comm

Re: [OpenOCD-devel] Swd on stlink

2012-01-11 Thread Jonathan Dumaresq
Hi, Spencer Oliver wrote: > On 10 January 2012 15:11, Jonathan Dumaresq > wrote: >> Hi all, >> >> Is there a way to use an stlink with swd right now with openocd ? I >> will use the stm32 M0 devices >> > > Only the stlink-v2 is supported at

Re: [OpenOCD-devel] Swd on stlink

2012-01-10 Thread Jonathan Dumaresq
Hi, Spencer Oliver wrote: > On 10 January 2012 15:11, Jonathan Dumaresq > wrote: >> Hi all, >> >> Is there a way to use an stlink with swd right now with openocd ? I >> will use the stm32 M0 devices >> > > Only the stlink-v2 is supported at

Re: [OpenOCD-devel] Swd on stlink

2012-01-10 Thread Jonathan Dumaresq
Hi, Spencer Oliver wrote: > On 10 January 2012 15:46, Jonathan Dumaresq > wrote: >> Hi, >> >>>> Spencer Oliver wrote: > > yes - however as it has only just been merged so there may be a few > issues to resolve. What driver should I use on windows ? Lib

Re: [OpenOCD-devel] Swd on stlink

2012-01-10 Thread Jonathan Dumaresq
t command in the download section of the change and try to rebuild it right now. Regards Jonathan > Regards, > > Mathias > > > > > On 10.01.2012 19:16, Jonathan Dumaresq wrote: >> Hi, >> >>> $ git pull -v --rebase origin >> That'

Re: [OpenOCD-devel] Swd on stlink

2012-01-10 Thread Jonathan Dumaresq
Hi, > $ git pull -v --rebase origin That's worked. But I don't have the latest changes. $ git branch -a * master stm32_cfi remotes/origin/HEAD -> origin/master remotes/origin/master Is this corect ? Git pull tell my that i'm already up to date. It look like i'm not on the head, but a c

Re: [OpenOCD-devel] Swd on stlink

2012-01-10 Thread Jonathan Dumaresq
ter And I got this error. What's wrong ? fatal: 'origin/master' does not appear to be a git repository fatal: The remote end hung up unexpectedly How to get my tree in sync with the official git head ? Regards Jonathan Spencer Oliver wrote: > On 10 January 2012 15:46, Jonath

Re: [OpenOCD-devel] Swd on stlink

2012-01-10 Thread Jonathan Dumaresq
Hi Spencer Oliver wrote: > On 10 January 2012 15:46, Jonathan Dumaresq > wrote: >> Hi, >> >>>> Spencer Oliver wrote: >>>> Do you know if the discovery bord for the F4 have an stlink-v2 or >>>> the original stlink ? >>>> >&

Re: [OpenOCD-devel] Swd on stlink

2012-01-10 Thread Jonathan Dumaresq
Hi, >> Spencer Oliver wrote: >> Do you know if the discovery bord for the F4 have an stlink-v2 or >> the original stlink ? >> > > F4 discovery has stlink-v2 Ok, So I can use this one as a debugger. This is now supported in openocd in swd mode? Jonathan

Re: [OpenOCD-devel] Swd on stlink

2012-01-10 Thread Jonathan Dumaresq
Hi Spencer, Spencer Oliver wrote: > > Only the stlink-v2 is supported at the moment - swd mode is used by > default. > With regards to using with M0 - not tested ST, are not great at > supporting Open Source projects. Do you know if the discovery bord for the F4 have an stlink-v2 or the origin

[OpenOCD-devel] Swd on stlink

2012-01-10 Thread Jonathan Dumaresq
Hi all, Is there a way to use an stlink with swd right now with openocd ? I will use the stm32 M0 devices Regards Jonathan -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app developme