Re: [Openocd-development] 0.4.0-rc1 - cannot flash STM32

2009-12-23 Thread David Brownell
On Wednesday 23 December 2009, Freddie Chopin wrote: > > One thing to do is disable the auto erase.  Erase the range > > first "by hand". > > It works this way - I hope that this is temporary. Working on fixing the "write_image" code; yes. ___ Openocd-

Re: [Openocd-development] 0.4.0-rc1 - cannot flash STM32

2009-12-23 Thread Freddie Chopin
On 2009-12-23 03:24, David Brownell wrote: > One thing to do is disable the auto erase. Erase the range > first "by hand". It works this way - I hope that this is temporary. 4\/3!! ___ Openocd-development mailing list Openocd-development@lists.berlios.

Re: [Openocd-development] 0.4.0-rc1 - cannot flash STM32

2009-12-23 Thread Øyvind Harboe
On Wed, Dec 23, 2009 at 3:24 AM, David Brownell wrote: > On Tuesday 22 December 2009, Freddie Chopin wrote: >> >> flash write_image erase c:\\a.hex >> > auto erase enabled >> > address range 0x0800 .. 0x0800681b is not sector-aligned >> > Command handler execution failed >> > in procedure 'fla

Re: [Openocd-development] 0.4.0-rc1 - cannot flash STM32

2009-12-22 Thread David Brownell
On Tuesday 22 December 2009, Freddie Chopin wrote: > >> flash write_image erase c:\\a.hex > > auto erase enabled > > address range 0x0800 .. 0x0800681b is not sector-aligned > > Command handler execution failed > > in procedure 'flash' called at file "command.c", line 637 > > called at file "co

Re: [Openocd-development] 0.4.0-rc1 - cannot flash STM32

2009-12-22 Thread Øyvind Harboe
This is a known problem. revert nor/flash/core.c to 5fdee60fd4d38e59c7b5f7aca5ad50b90e7d61ee and see if it doesn't fix it. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programm

[Openocd-development] 0.4.0-rc1 - cannot flash STM32

2009-12-22 Thread Freddie Chopin
When trying to flash STM32: >> flash write_image erase c:\\a.hex > auto erase enabled > address range 0x0800 .. 0x0800681b is not sector-aligned > Command handler execution failed > in procedure 'flash' called at file "command.c", line 637 > called at file "command.c", line 352 Don't know wha