Re: [Openocd-development] Flashing failed with GCC optimisation on Olimex STM32-P103

2009-02-05 Thread James
On Thu, 2009-02-05 at 21:48 -0800, Rick Altherr wrote: > On Feb 5, 2009, at 4:00 PM, James wrote: > > > > >> flash write_bank 0 ./obj/ct_in.bin 0 > > BUG: keep_alive() was not invoked in the 1000ms timelimit. GDB alive > > packet not sent! (1079) > > timed out while waiting for target halted > >

Re: [Openocd-development] Flashing failed with GCC optimisation on Olimex STM32-P103

2009-02-05 Thread Rick Altherr
On Feb 5, 2009, at 4:00 PM, James wrote: flash write_bank 0 ./obj/ct_in.bin 0 BUG: keep_alive() was not invoked in the 1000ms timelimit. GDB alive packet not sent! (1079) timed out while waiting for target halted error executing stm32x flash write algorithm flash writing failed with error co

[Openocd-development] Flashing failed with GCC optimisation on Olimex STM32-P103

2009-02-05 Thread James
Hi, I've got an Olimex STM32-P103 board and a wiggler to connect openocd to the board. I'm using Open On-Chip Debugger 0.1.0 (2009-01-22-10:03) Release. If I build my STM32 app with gcc -O0 ... (no optimisation) openocd has no problem flashing the binary. However, if I build with -O2 or -Os, or

Re: [Openocd-development] FTX232H bring higher JTAG speed?

2009-02-05 Thread Rick Altherr
On Feb 5, 2009, at 3:28 AM, james.tyou wrote: Hi, All, Just noticed FTDI has released 2 new chips. FT2232H, FT4232H "MPSSE.Multi*Purpose Synchronous Serial Engines (MPSSE), capable of speeds up to 30 Mbits/s, provides flexible synchronous interface configurations. " will these chips bri

[Openocd-development] FTX232H bring higher JTAG speed?

2009-02-05 Thread james.tyou
Hi, All, Just noticed FTDI has released 2 new chips. FT2232H, FT4232H "MPSSE.Multi*Purpose Synchronous Serial Engines (MPSSE), capable of speeds up to 30 Mbits/s, provides flexible synchronous interface configurations. " will these chips bring higher JTAG SPEED? Regards