[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 --