[Openocd-development] stm32 primer rlink under ubuntu 8.04

2009-01-15 Thread Jörg Krein
Hello again, just want to resume my experiences so far. GDB from commandline works. GDB from Code::Blocks works with some minor problems. So I think I can continue STM32 Primer development under linux. :-) Thanks to Rob and everyone! ___ Openocd-devel

Re: [Openocd-development] stm32 primer rlink under ubuntu 8.04

2009-01-14 Thread Spencer Oliver
> > Jörg Krein pisze: > > Tried it with Code::Blocks IDE and the Codesourcery gdb but > it crashed. > > codesourcery's gdb is broken in all 2008q3 releases. i wrote > about that on their list, but so far no response... > > http://www.codesourcery.com/archives/arm-gnu/msg02439.html > > i don't

Re: [Openocd-development] stm32 primer rlink under ubuntu 8.04

2009-01-13 Thread Freddie Chopin
Jörg Krein pisze: > Tried it with Code::Blocks IDE and the Codesourcery gdb but it crashed. codesourcery's gdb is broken in all 2008q3 releases. i wrote about that on their list, but so far no response... http://www.codesourcery.com/archives/arm-gnu/msg02439.html i don't know whether it's the ne

[Openocd-development] stm32 primer rlink under ubuntu 8.04

2009-01-13 Thread Jörg Krein
Hi, found the time to do further testing. Was able to flash a hex file and run it. :-) Next will be debugging with gdb. Tried it with Code::Blocks IDE and the Codesourcery gdb but it crashed. Didn't set up gdb for Cortex so far. For the STR7 and older OpenOCD version I used to send some commands

Re: [Openocd-development] stm32 primer rlink under ubuntu 8.04

2009-01-11 Thread Jörg Krein
Hi, removing the hub and connecting it directly and reset and resume work! :-) I got a program flashing the LEDs so I can see that it really works. No time tomorrow, more testing on Tuesday. ___ Openocd-development mailing list Openocd-development@lists.

Re: [Openocd-development] stm32 primer rlink under ubuntu 8.04

2009-01-11 Thread Freddie Chopin
Jörg Krein pisze: > Maybe I used the wrong board config? > I started with: > openocd -f interface/rlink.cfg -f > /usr/local/lib/openocd/board/stm32f10x_128k_eval.cfg > Is there a special config for the Primer 1? that is not a complete help, but i use exactly the same, unmodified, files as you, a

Re: [Openocd-development] stm32 primer rlink under ubuntu 8.04

2009-01-11 Thread lou . openocd012
On Sun, Jan 11, 2009 at 06:31:30PM +0100, Jörg Krein wrote: > Hi, > yes you were right. > I gave it a try with sudo. > Emitting a reset command via telnet results in: > > > reset > JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (Manufacturer: 0x23b, > Part: 0xba00, Version: 0x3) > JTAG Tap/dev

[Openocd-development] stm32 primer rlink under ubuntu 8.04

2009-01-11 Thread Jörg Krein
Hi, yes you were right. I gave it a try with sudo. Emitting a reset command via telnet results in: > reset JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (Manufacturer: 0x23b, Part: 0xba00, Version: 0x3) JTAG Tap/device matched JTAG tap: stm32.bs tap/device found: 0x16410041 (Manufacturer: 0x0

Re: [Openocd-development] stm32 primer rlink under ubuntu 8.04

2009-01-11 Thread lou . openocd012
On Sun, Jan 11, 2009 at 01:21:01PM +0100, Jörg Krein wrote: > Hi, > I made an attempt to run OpenOCD under Linux to use > it for my STM32 Primer. > After downloading some packages (automake, libusbdev, etc.) > I successfully configured and compiled it: ... > Error: usb_claim_interface: could not

[Openocd-development] stm32 primer rlink under ubuntu 8.04

2009-01-11 Thread Jörg Krein
Hi, I made an attempt to run OpenOCD under Linux to use it for my STM32 Primer. After downloading some packages (automake, libusbdev, etc.) I successfully configured and compiled it: I configured it with: ./configure --enable-ft2232_ftd2xx --with-ftd2xx-linux-tardir=/home/joerg/libftd2xx0.4.16 --

Re: [Openocd-development] stm32-primer

2009-01-08 Thread Øyvind Harboe
> There is no need to be so harsh. The audience of this mailing list spans > all levels of users from the major developers all the way down to new users > who are unfamiliar with the program. A courteous reply with a link the post > in question would have been sufficient. In general, let's help

Re: [Openocd-development] stm32-primer

2009-01-08 Thread Mag. Dr. Nikolaus Klepp
> openocd -f interface/rlink.cfg -f board/stm32f10x_128k_eval.cfg Thank you, that was what I was looking for :-) ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-developme

Re: [Openocd-development] stm32-primer

2009-01-08 Thread Rick Altherr
On Jan 8, 2009, at 10:34 AM, Freddie Chopin wrote: I hoped that in such a place people are not as lame as in normal public forums... i was wrong... there is a very very old (2 days) post by me about stm32primer (in which I post my calls for openocd)... and have you by any chance read the d

Re: [Openocd-development] stm32-primer

2009-01-08 Thread lou . openocd012
On Thu, Jan 08, 2009 at 06:32:31PM +0100, Mag. Dr. Nikolaus Klepp wrote: > Am Donnerstag, 8. Januar 2009 schrieb Freddie Chopin: > > I hoped that in such a place people are not as lame as in normal public > > forums... i was wrong... there is a very very old (2 days) post by me > > about stm32prime

Re: [Openocd-development] stm32-primer

2009-01-08 Thread Freddie Chopin
I hoped that in such a place people are not as lame as in normal public forums... i was wrong... there is a very very old (2 days) post by me about stm32primer (in which I post my calls for openocd)... and have you by any chance read the documentation for the openocd? haven't you noticed, that you

Re: [Openocd-development] stm32-primer

2009-01-08 Thread Freddie Chopin
Mag. Dr. Nikolaus Klepp pisze: > Or what should I search for, if not "stm32 primer" to get a result ? Should I > search for "hey, that guy I dont know has surely posted 2 days ago under a > title i dont know somthing for stm32 he didnt call so?" > > > FYI: Mailinglist archive of january 2009 g

Re: [Openocd-development] stm32-primer

2009-01-08 Thread lou . openocd012
On Thu, Jan 08, 2009 at 05:47:46PM +0100, Mag. Dr. Nikolaus Klepp wrote: > Hi! > > Can sombody give me hints how to get OpenOCD (svn-version) running with the > SPM23-Primer? Here's a hint that I can give you. -f interface/rlink.cfg is not enough. You also need to configure it for your target.

Re: [Openocd-development] stm32-primer

2009-01-08 Thread Mag. Dr. Nikolaus Klepp
Am Donnerstag, 8. Januar 2009 schrieb Freddie Chopin: > I hoped that in such a place people are not as lame as in normal public > forums... i was wrong... there is a very very old (2 days) post by me > about stm32primer (in which I post my calls for openocd)... and have you > by any chance read the

[Openocd-development] stm32-primer

2009-01-08 Thread Mag. Dr. Nikolaus Klepp
Hi! Can sombody give me hints how to get OpenOCD (svn-version) running with the SPM23-Primer? "Robster" posted on http://www.stm32circle.com that it should work, but as I am new to OpenOCD I do not have a clue how to do it. I have compiled OpenOCD with --enable-rlink - worked. But what do I do