Re: [Openocd-development] STM32 flash programming performance

2009-02-27 Thread Spencer Oliver
> I've looked a bit more into STM32 flash programming > performance and most of the time is spent waiting for the > target to complete flash programming, i.e. it appears that it > is the *target* that is slow. > > Could this be the case? > > Have you tried turning on the PLL etc before pro

Re: [Openocd-development] STM32 flash programming performance

2009-02-27 Thread SimonQian
You mean STM32 is slow when writing data into flash? But for ISP operation through COMM port(at a high baudrate), it can be as fast as 20KBytes/s as I remember. 2009-02-27 Best Regards, Simon Qian SimonQian(simonq...@simonqian.com) www.SimonQian.com 发件人: �yvind_Harboe 发送时间: 2009-02-

[Openocd-development] STM32 flash programming performance

2009-02-27 Thread Øyvind Harboe
I've looked a bit more into STM32 flash programming performance and most of the time is spent waiting for the target to complete flash programming, i.e. it appears that it is the *target* that is slow. Could this be the case? Algorithm from flash/stm32x.c u8 stm32x_flash_write_code[] =

Re: [Openocd-development] lpc2368 - Unable to read/write eth controller regigisters

2009-02-27 Thread fpaolo63
Hi Mariano pls try to access register MCFG 0xFFE0 0020 Status 0xFFE0 0104 and other Eth regs. Any way my ethernet is up and running, but some time i got hung condition. So I'm trying to debug the eth using gdb Thanks paolo Mariano Cerdeiro wrote: > Hello I am using LPC2468, if you tell me whi

Re: [Openocd-development] ST32-PerformanceStick

2009-02-27 Thread Holger Schurig
> Error: 30 161 ft2232.c:1506 ft2232_init_ftd2xx(): unable to > open ftdi device: 2 You might also have a permission problem in your /proc/bus/usb (or the new location somewhere in /sys). In this case, "strace -oa -efile ./openocd" and a careful reading of the generated "a" file will show this.

Re: [Openocd-development] ST32-PerformanceStick

2009-02-27 Thread Michael Jäntsch
Hi, thanks for that hint. I did not know I could put the vid/pid in the config file. My openocd.cfg looks like this # ftdi interface interface ft2232 ft2232_device_desc "STM32-PerformanceStick A" ft2232_layout stm32stick ft2232_vid_pid 0x0640 0x002d This did not help though. The output when I

Re: [Openocd-development] lpc2368 - Unable to read/write eth controller regigisters

2009-02-27 Thread Holger Schurig
> Using memory dump command at Ethernet controller registers > address, gdb shows 0x. I don't know this processors, but for some SoCs (e.g. Freescale i.MX) you need to enable internal PLLs ("clock gating") before you can access them. ___ Openocd-de

Re: [Openocd-development] ST32-PerformanceStick

2009-02-27 Thread Holger Schurig
> usbview finds the usb device and shows all the data. So I > tried the default stm32stick.cfg and also adapting the > ft2232_device_desc to what usbview showed me or using the > ft2232_serial to find it. Nothing helped: FT_OpenEx returns > with error code: 2 You need also the device-description t

[Openocd-development] lpc2368 - Unable to read/write eth controller regigisters

2009-02-27 Thread fpaolo63
Hi all, I'm working with LPC2368, and I like to read/write Ethernet controller registers using GDB. Using memory dump command at Ethernet controller registers address, gdb shows 0x. Do I miss something in the openocd or gdb config file ? Thanks Paolo __

[Openocd-development] ST32-PerformanceStick

2009-02-27 Thread Michael Jäntsch
Hello everyone, I just signed up to the mailing list because I hope this is the right place to ask questions like this. I just got my brand new ST32-PerformanceStick and right away tried to get it to work with openocd (It works on Windows but I would like to use a Linux developement environment