Hi,
I'm trying to use j-link adapter with latest openocd code from git master
branch on STM32F103 device and it fails with usb_bulk_read failed. On the same
machine when I use original segger tools in vmware WinXP, it works ok.
Any idea how to fix this?
Thanks,
Damjan
Open On-Chip Debugger
On Apr 10, 2011, at 2:47 PM, Xiaofan Chen wrote:
> On Sun, Apr 10, 2011 at 7:24 PM, Damjan Marion
> wrote:
>> I'm trying to use j-link adapter with latest openocd code from git master
>> branch on STM32F103 device and it fails with usb_bulk_read failed.
>> O
---
src/jtag/drivers/buspirate.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/jtag/drivers/buspirate.c b/src/jtag/drivers/buspirate.c
index 7813f33..a360d23 100644
--- a/src/jtag/drivers/buspirate.c
+++ b/src/jtag/drivers/buspirate.c
@@ -55,6 +55,11 @@ static vo
On Apr 21, 2011, at 10:23 PM, Peter Stuge wrote:
> Damjan Marion wrote:
>> +/* Not all OSes have this speed defined */
>> +#if !defined(B100)
>> +#define B100 0010010
>> +#endif
>
> The real fix of course being to make the device not pretend that it
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
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 de
- 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 b/src/flash/nand/
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
+++
I need to make small changes in flash definitions for Samsung chips so I will
resend patches to the list.
Damjan
On May 23, 2011, at 2:25 PM, Øyvind Harboe wrote:
> Any objections to these patches?
>
>
>
> --
> Øyvind Harboe
>
> Can Zylin Consulting help on your project?
>
> US toll free
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 4ab9436..03deabd 100644
--- a/src/flash/nand/core.c
+++
- adds manufacturer field
- name moved to the end for better text alignment
- adds support for two Samsung NAND devices
---
src/flash/nand/core.c | 154 +
src/flash/nand/core.h |3 +-
2 files changed, 81 insertions(+), 76 deletions(-)
diff --gi
---
src/flash/nand/core.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/flash/nand/core.c b/src/flash/nand/core.c
index c4d9248..03deabd 100644
--- a/src/flash/nand/core.c
+++ b/src/flash/nand/core.c
@@ -53,8 +53,8 @@ void nand_device_add(struct nand_device *c)
s
---
tcl/board/smdk6410.cfg |9 +
tcl/target/smdk6410.cfg |9 -
2 files changed, 9 insertions(+), 9 deletions(-)
create mode 100644 tcl/board/smdk6410.cfg
delete mode 100644 tcl/target/smdk6410.cfg
diff --git a/tcl/board/smdk6410.cfg b/tcl/board/smdk6410.cfg
new file mod
The following mini6410/tiny6410 functions are available:
init_6410 - initialize clock, timer, DRAM
init_6410_flash - initializes NAND flash support
install_6410_uboot - copies u-boot image into RAM and runs it
---
tcl/board/mini6410.cfg | 112
1 fi
Hi,
I tried to flash STM32 F2 in the same way like i do on F1 devices and hit some
issues:
My 1st try was with "stm32f2x mass_erase 0" but seems that there is no
subcommands registered.
Help lists:
stm32f2x
stm32f2x flash command group (command valid any time)
stm32f2x.c:
static const
15 matches
Mail list logo