Re: [Openocd-development] [PATCH] mips target

2011-05-31 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-de

Re: [Openocd-development] bootstrap: patch proposal

2011-05-31 Thread Øyvind Harboe
Merged very slightly different version that prints out error message upon invalid argument. Thanks! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debug

Re: [Openocd-development] [PATCH] mips target

2011-05-31 Thread Drasko DRASKOVIC
On Tue, May 31, 2011 at 7:33 PM, Øyvind Harboe wrote: > Any objections? > > I haven't looked over it, but I see there has been some discussion on > this topic. On a quick look it seems to be OK for me. I do not know about these callbacks, I did not use them. Andreas would know better. Stefan can

Re: [Openocd-development] [PATCH] mips target

2011-05-31 Thread Drasko DRASKOVIC
Hi Stefan, Just for the curiosity, n patch 1 : + /* mips32_pracc_fastdata_xfer requires uint32_t in host endianness, */ + /* but byte array represents target endianness */ Where does this comment comes from ? Pure experience ? Can you back it up ? Otherwise, look

Re: [Openocd-development] Outstanding patches => Fix: Correctly exit function: ft2232_init when an error occurred

2011-05-31 Thread Tomek CEDRO
Uhm, ok then if it was like this. Anyway "init" for the interface or transport that does not do "init" but verify/interrogate/start sounds strange for me anyway. "open" and "init" sounds better :-) Maybe "init" and "start" would be even more unabiguous? But thats for future.. :-) -- CeDeROM, SQ7M

[Openocd-development] OpenOCD for STM32F2xx microcontroller

2011-05-31 Thread Robin Callender
Sorry but I only know stm32x... could you pls give a name to the "other one"? cd src find . | grep stm32 -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JT

Re: [Openocd-development] [PATCH] mips target

2011-05-31 Thread Øyvind Harboe
Any objections? I haven't looked over it, but I see there has been some discussion on this topic. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debug

Re: [Openocd-development] [PATCH] mips target

2011-05-31 Thread Mahr, Stefan
> Perhaps some cleanup of ancient history is called for? 0002-...(hopefully) fixes the error in mips_ejtag_fastdata_scan. 0001-...endiannes fixes (it was already sent yesterday) 0001-mips-fix-some-more-endian-madness.patch Description: 0001-mips-fix-some-more-endian-madness.patch 0002

[Openocd-development] Support for DCC debug messages on ARM11

2011-05-31 Thread Fausto Ribeiro de Freitas Junior
Hi, Yesterday I needed to use DCC debug messages on OpenOCD, but noticed that ARM11 cores aren't supported. Is there any catch/issue preventing it to be added, or it just hasn't been implemented yet? Best regards, -- Fausto Junior ___ Openocd-develop

Re: [Openocd-development] [PATCH] mips target

2011-05-31 Thread Øyvind Harboe
Perhaps some cleanup of ancient history is called for? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer __

Re: [Openocd-development] [PATCH] mips target

2011-05-31 Thread Mahr, Stefan
Any recommendation where to put the "mips_le_to_h_u32" callback function? mips_ejtag.h or binarybuffer.h ? Why arm_le_to_h_u32 is defined in arm_jtag.h? A function in helper/binarybuffer.h called "buf_le_to_h_u32" could be used by both targets. BR, Stefan _

Re: [Openocd-development] Compilation errors

2011-05-31 Thread Laurent Gauch
Hi Spen, I just checked the compile again on windows 7 32bits / 64bits. mingw build work for me / tested on 32 bits and 64 bits :-) cygwin build work for me / tested on 32 bits only :-) Great ! Note: as noted on my previous comment, the troubles regarding the configure (April) are gone :-)

Re: [Openocd-development] Compilation errors

2011-05-31 Thread Spencer Oliver
On 27/05/2011 16:51, Laurent Gauch wrote: Hi, You're right, the last version from git cannot be compiled from my mingw too, but can be compiled with my cygwin ;-) But with mingw, i do not have the same error as you, but related to tclsh, strange . just tested a cygwin and msys build - both

Re: [Openocd-development] bootstrap: patch proposal

2011-05-31 Thread Øyvind Harboe
I see the bug in the code, but I don't understand why the list hasn't complained and you're running into this problem. What environment are you using? bash? dash? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://ww

[Openocd-development] bootstrap: patch proposal

2011-05-31 Thread Laurent Charpentier
Hi Everyone, I would like to propose a (minor) patch for the "bootstrap" file. Code at line 30: if [ -n $1 ] || [ $1 != nosubmodule ] This condition is always TRUE: - TRUE if string is non-zero - TRUE if string is zero (since empty string is different from "nosubmodule") This issue prevents

Re: [Openocd-development] Outstanding patches => Fix: Correctly exit function: ft2232_init when an error occurred

2011-05-31 Thread Sébastien Farquet
On Mon, 30 May 2011 12:51:56 +, Tomek CEDRO wrote: Hello Sebastien, Hello Tomek, On Mon, 30 May 2011 12:51:56 +, Tomek CEDRO wrote: Please stay to your convention and use "open" to open functionality and "init" to init functionality - this is very good idea and used in transport layer