Re: [Openocd-development] another STM32 problems with RLink

2009-03-11 Thread Freddie Chopin
lou.openocd...@fixit.nospammail.net pisze: > Thanks for your help with that. Tracing out the standalone RLink > schematic was critically important for that success. I was happy to help with the developement of OpenOCD (; thx again for your patch. BTW - your patch has been commited to r1410 (;

Re: [Openocd-development] another STM32 problems with RLink

2009-03-11 Thread lou . openocd012
On Wed, Mar 11, 2009 at 09:57:57PM +0100, Freddie Chopin wrote: > ok than, I've done some more testing with real RLink this time. the > results are exactly the same as for Primer1 - so generaly RLink works > fine now... Yay! :) > > BTW - RLink is pretty slow... compared to my FT2232 based JTA

Re: [Openocd-development] another STM32 problems with RLink

2009-03-11 Thread Spencer Oliver
> > Freddie reports that it works with the standalone RLink as > well as the Primer, which what I was going for, so I'd say > it's ready for submission assuming nobody objects. > > I have committed the patch - we can sort out issues as (and if) we find them. Cheers Spen ___

Re: [Openocd-development] another STM32 problems with RLink

2009-03-11 Thread lou . openocd012
On Wed, Mar 11, 2009 at 09:12:43PM -, Spencer Oliver wrote: > > > > Asserting SRST via PB5 might work. On both Primers and the > > standalone > > > RLink. I may have to end up doing that. It feels wrong, > > but it may > > > be the best way. It would remove the need to detect. I am

Re: [Openocd-development] another STM32 problems with RLink

2009-03-11 Thread Spencer Oliver
> > Asserting SRST via PB5 might work. On both Primers and the > standalone > > RLink. I may have to end up doing that. It feels wrong, > but it may > > be the best way. It would remove the need to detect. I am > going to > > pursue this route. > > Freddie (and/or anybody else who is

Re: [Openocd-development] another STM32 problems with RLink

2009-03-11 Thread Freddie Chopin
ok than, I've done some more testing with real RLink this time. the results are exactly the same as for Primer1 - so generaly RLink works fine now... BTW - RLink is pretty slow... compared to my FT2232 based JTAG it is exactly 5 times slower (i compare the time of 100k code upload, same jtag_k

Re: [Openocd-development] another STM32 problems with RLink

2009-03-11 Thread lou . openocd012
On Tue, Mar 10, 2009 at 11:28:30PM +0100, Freddie Chopin wrote: > lou.openocd...@fixit.nospammail.net pisze: > > Freddie (and/or anybody else who is interested in this): Please test the > > attached patch against svn trunk and see if it works properly with an RLink. > > for now I can test only wit

Re: [Openocd-development] another STM32 problems with RLink

2009-03-10 Thread Freddie Chopin
lou.openocd...@fixit.nospammail.net pisze: > Freddie (and/or anybody else who is interested in this): Please test the > attached patch against svn trunk and see if it works properly with an RLink. for now I can test only with Primer1, so here it goes. 1. openocd compiles fine 2. openocd starts fi

Re: [Openocd-development] another STM32 problems with RLink

2009-03-10 Thread Freddie Chopin
lou.openocd...@fixit.nospammail.net pisze: > Freddie (and/or anybody else who is interested in this): Please test the > attached patch against svn trunk and see if it works properly with an RLink. damn [; 15 minutes too late [; i'll be able to check that tomorrow. anyway - about the S/N we were t

Re: [Openocd-development] another STM32 problems with RLink

2009-03-10 Thread lou . openocd012
On Mon, Mar 09, 2009 at 05:21:59PM -0500, lou.openocd...@fixit.nospammail.net wrote: > On Mon, Mar 09, 2009 at 06:15:40PM +0100, Freddie Chopin wrote: > > and is there a need to detect the device after all? can't the other SRST > > lines be an input on all variants? this way they wouldn't make a

Re: [Openocd-development] another STM32 problems with RLink

2009-03-09 Thread Spencer Oliver
> > BTW what are the chances for SWD support in OpenOCD? <: > > I've inquired about that, and the answer was that it might > show up after 1.0. How soon, I do not know. Actually, I > think the answer may have been more along the lines of that > it wouldn't appear before then. > > At the ti

Re: [Openocd-development] another STM32 problems with RLink

2009-03-09 Thread lou . openocd012
On Mon, Mar 09, 2009 at 06:15:40PM +0100, Freddie Chopin wrote: > I've sent you the sch, if the list wants, I can post that here too. I see. Thanks. > > lou.openocd...@fixit.nospammail.net pisze: > > Weird. I think I might be able (using PB5 for feedback) to figure out > > whether the adapter i

Re: [Openocd-development] another STM32 problems with RLink

2009-03-09 Thread Freddie Chopin
I've sent you the sch, if the list wants, I can post that here too. lou.openocd...@fixit.nospammail.net pisze: > Weird. I think I might be able (using PB5 for feedback) to figure out > whether the adapter is a standalone RLink or a Primer and change the > initialization and reset code to do the r

[Openocd-development] another STM32 problems with RLink

2009-03-09 Thread Laurent Gauch
> > On Sun, Mar 08, 2009 at 04:27:23PM +0100, Freddie Chopin wrote: > >/ ok than, i think i know what the problem is. on the 'full RLink' the > />/ SRST signal is driven by two lines of ST7 - PA5 and PB5. on Primer1 PA5 > />/ is left unconnected nad PB5 is tied to PA3, which - on real RLink - is >

Re: [Openocd-development] another STM32 problems with RLink

2009-03-09 Thread lou . openocd012
On Sun, Mar 08, 2009 at 04:27:23PM +0100, Freddie Chopin wrote: > ok than, i think i know what the problem is. on the 'full RLink' the > SRST signal is driven by two lines of ST7 - PA5 and PB5. on Primer1 PA5 > is left unconnected nad PB5 is tied to PA3, which - on real RLink - is RTCK. Weird. I

Re: [Openocd-development] another STM32 problems with RLink

2009-03-08 Thread Freddie Chopin
Duane Ellis pisze: > That which comes from legitimate engineering evaluation and examination, > I believe is perfectly fine. > ie: If I have it in my hand,and I can reasonably draw a schematic by > physical examination of the PCB ... and that is exactly what i did - removed two screws, took out

Re: [Openocd-development] another STM32 problems with RLink

2009-03-08 Thread Duane Ellis
Freddie> > i've got the full schematic, but it needs some arranging, cleaning and > other stuff, so it will be 100% ready in the evening. in the meantime - > will that be illegal to post that on the list? (; maybe i should send it > just to Lou, not to the whole list? > To be clear: we want noth

Re: [Openocd-development] another STM32 problems with RLink

2009-03-08 Thread Michael Schwingen
Freddie Chopin wrote: > i've got the full schematic, but it needs some arranging, cleaning and > other stuff, so it will be 100% ready in the evening. in the meantime - > will that be illegal to post that on the list? (; maybe i should send it > just to Lou, not to the whole list? I *believe* it s

Re: [Openocd-development] another STM32 problems with RLink

2009-03-08 Thread Freddie Chopin
ok than, i think i know what the problem is. on the 'full RLink' the SRST signal is driven by two lines of ST7 - PA5 and PB5. on Primer1 PA5 is left unconnected nad PB5 is tied to PA3, which - on real RLink - is RTCK. i've got the full schematic, but it needs some arranging, cleaning and other stu

Re: [Openocd-development] another STM32 problems with RLink

2009-03-07 Thread Freddie Chopin
lou.openocd...@fixit.nospammail.net pisze: > Uh-oh. The rlink driver was created based on the schematic for the > Primer1, which contains an Rlink chip. The standalone Rlink device has > circuitry that the Primer does not. I made the best guesses I could, > based on USB traffic traces, to accomo

Re: [Openocd-development] another STM32 problems with RLink

2009-03-06 Thread Rob Brown
lou.openocd...@fixit.nospammail.net wrote: > On Fri, Mar 06, 2009 at 12:36:52PM +0100, freddie_cho...@op.pl wrote: >> I'm using openocd-0.1.0 for Windows >> >> I got the STM32F10X-128k-EVAL board with the original RLink. I can debug the >> primer1, which has the Rlink embedded. I connect to the cu

Re: [Openocd-development] another STM32 problems with RLink

2009-03-06 Thread lou . openocd012
On Fri, Mar 06, 2009 at 12:36:52PM +0100, freddie_cho...@op.pl wrote: > I'm using openocd-0.1.0 for Windows > > I got the STM32F10X-128k-EVAL board with the original RLink. I can debug the > primer1, which has the Rlink embedded. I connect to the current board with > the same command > > openoc

Re: [Openocd-development] another STM32 problems with RLink

2009-03-06 Thread Spencer Oliver
> > timed out while waiting for target halted Runtime error, file > "command.c", line 456: > > The board and the rlink are ok, because they were used with > succes a few hours ago (in ride7). I will check that anyway > in a moment. > > any ideas what can I do? the debug messages give nothing

Re: [Openocd-development] another STM32 problems with RLink

2009-03-06 Thread freddie_chopin
I've tried with another RLink (that one is completely new) and it's the same. I've also tried the primer again and it works completely fine with exactly the same setup 4\/3!! ___ Openocd-development mailing list Openocd-development@lists.berlios.de htt

[Openocd-development] another STM32 problems with RLink

2009-03-06 Thread freddie_chopin
I'm using openocd-0.1.0 for Windows I got the STM32F10X-128k-EVAL board with the original RLink. I can debug the primer1, which has the Rlink embedded. I connect to the current board with the same command openocd -f interface/rlink.cfg -f board/stm32f10x_128k_eval.cfg I can connect with no pro