[Openocd-development] Overlapping NAND Flash IDs

2011-05-23 Thread Damjan Marion
Hi, I just realized that my NAND flash is not recognized correctly because there are overlapping IDs in src/flash/nand/core.c Flash is Samsung K9GAG08U0E and it uses device code 0xd5. core.c have 2 entries: {NAND 4MiB 3.3V 8-bit,0xd5, 512, 4, 0x2000, 0}, {NAND 2GiB

Re: [Openocd-development] Overlapping NAND Flash IDs

2011-05-23 Thread Øyvind Harboe
Is there any plans to improve flash detection (i.e. detecting on vendor,device pairs)? Please see if you can't write up a patch? Doesn't sound awfully hard to implement. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40

[Openocd-development] [PATCH] dsp56800xx cygwin build fixes

2011-05-23 Thread Spencer Oliver
I have committed the following two patches. Cheers Spen [PATCH 1/2] Fix build issue under cygwin [PATCH 2/2] dsp5680xx: whitespace cleanup ___ Openocd-development mailing list Openocd-development@lists.berlios.de

[Openocd-development] [PATCH 2/2] dsp5680xx: whitespace cleanup

2011-05-23 Thread Spencer Oliver
From: Spencer Oliver ntfr...@users.sourceforge.net Signed-off-by: Spencer Oliver ntfr...@users.sourceforge.net --- src/target/dsp5680xx.c | 86 1 files changed, 43 insertions(+), 43 deletions(-) diff --git a/src/target/dsp5680xx.c

[Openocd-development] [PATCH 1/2] Fix build issue under cygwin

2011-05-23 Thread Spencer Oliver
From: Spencer Oliver ntfr...@users.sourceforge.net cygwin does not define sleep, so use our internal win32 version. caused by commit 9d4aec6bda90ad39a140747ea270c6a09dd26440 Signed-off-by: Spencer Oliver ntfr...@users.sourceforge.net --- src/target/dsp5680xx.c |2 +- 1 files changed, 1

Re: [Openocd-development] Overlapping NAND Flash IDs

2011-05-23 Thread Damjan Marion
On May 23, 2011, at 11:42 AM, Øyvind Harboe wrote: Is there any plans to improve flash detection (i.e. detecting on vendor,device pairs)? Please see if you can't write up a patch? Doesn't sound awfully hard to implement. Yes, I can write a patch. I think that we should change device

Re: [Openocd-development] Overlapping NAND Flash IDs

2011-05-23 Thread Øyvind Harboe
On Mon, May 23, 2011 at 12:23 PM, Damjan Marion damjan.mar...@gmail.com wrote: On May 23, 2011, at 11:42 AM, Øyvind Harboe wrote: Is there any plans to improve flash detection (i.e. detecting on vendor,device pairs)? Please see if you can't write up a patch? Doesn't sound awfully hard to

[Openocd-development] [PATCH 1/2] Reorganize NAND flash table

2011-05-23 Thread Damjan Marion
- added manufacturer field - name moved to the end for better text alignment --- src/flash/nand/core.c | 154 + src/flash/nand/core.h |3 +- 2 files changed, 81 insertions(+), 76 deletions(-) diff --git a/src/flash/nand/core.c

[Openocd-development] [PATCH 2/2] Improve NAND flash detection

2011-05-23 Thread Damjan Marion
Detect based on both manufacturer id and chip id if manufacturer id is defined in table --- src/flash/nand/core.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/flash/nand/core.c b/src/flash/nand/core.c index a9fc3cd..c4d9248 100644 --- a/src/flash/nand/core.c +++

Re: [Openocd-development] [PATCH 1/2] Reorganize NAND flash table

2011-05-23 Thread Øyvind Harboe
Any objections to these patches? -- Ø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-development] OMAP3530 / beagleboard supper status

2011-05-23 Thread Simon Schwarz
Hi List, I'am a bit frustrated with OpenOCD... I have more or less random problems with it. So I am at a point to just drop it because I can't say if there are problems in the code or just another openOCD problem. But enough of the crying - here is the question: Who has a working setup with