Re: [Openocd-development] 0.4.0-rc1 - cannot do flash erase_address

2009-12-24 Thread Freddie Chopin
On 2009-12-24 08:34, David Brownell wrote: That's a bunch of very off-topic messages for what looks more like you mis-spelled 'address' ... Ups [; Isn't there a way to thorow something like unknown sub-command? 4\/3!! ___ Openocd-development mailing

Re: [Openocd-development] 0.4.0-rc1 - cannot do flash erase_address

2009-12-24 Thread David Brownell
On Thursday 24 December 2009, Freddie Chopin wrote: On 2009-12-24 08:34, David Brownell wrote: That's a bunch of very off-topic messages for what looks more like you mis-spelled 'address' ... Ups [; Isn't there a way to thorow something like unknown sub-command? Surely. Someone would

Re: [Openocd-development] [patch/rfc] NOR FLASH: only erase/unlock whole sectors

2009-12-24 Thread David Brownell
On Wednesday 23 December 2009, Øyvind Harboe wrote: Now, there is a small problem you pointed out: that two elf images that are too close together won't work with the flash write image erase option, Don't forget the original one: flash erase_address was erasing data which it was told to leave

Re: [Openocd-development] [patch/rfc] NOR FLASH: only erase/unlock whole sectors

2009-12-24 Thread David Brownell
On Tuesday 22 December 2009, Austin, Alex wrote: Read-modify-erase-write on per-sector basis? That's more work than I want to do for now, but it would be a more general solution. My conclusion from looking at that code is that the intelligence of the auto-erase code is ... a lot less than I've

Re: [Openocd-development] 0.4.0-rc1 - build errors (-Werror)

2009-12-24 Thread David Brownell
On Tuesday 22 December 2009, Freddie Chopin wrote: When building standard configuration on Windows (MSYS + MinGW): libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -g -O2 -D__USE_MINGW_ANSI_STDIO -Wall -Wstrict-prototypes -Wformat-security -Wextra

Re: [Openocd-development] 0.4.0-rc1 - build errors (-Werror)

2009-12-24 Thread Freddie Chopin
On 2009-12-24 23:07, David Brownell wrote: Curious. Cygwin and Linux builds don't have that particular issue; I wonder why not? This may be because official MinGW uses gcc 3.4.5 and that's rather old... Yesterday I was trying to build a crosscompiler on Linux (OpenSUSE) and this almost works

Re: [Openocd-development] [patch/rfc] NOR FLASH: only erase/unlock whole sectors

2009-12-24 Thread David Brownell
On Tuesday 22 December 2009, Yegor Yefremov wrote: flash write_image erase image.bin 0x1000 bin auto erase enabled address range 0x1000 .. 0x000135d3 is not sector-aligned Command handler execution failed The following patch should help in at least some cases; it doesn't insert sector

Re: [Openocd-development] 0.4.0-rc1 - build errors (-Werror)

2009-12-24 Thread Michel Catudal
Freddie Chopin a écrit : On 2009-12-24 23:07, David Brownell wrote: Curious. Cygwin and Linux builds don't have that particular issue; I wonder why not? This may be because official MinGW uses gcc 3.4.5 and that's rather old... Yesterday I was trying to build a crosscompiler on