Hi all,
I just tried to load a small test ELF like this :
80008000 _ftext:
80008000: 3c088001lui t0,0x8001
80008004: 8d089014lw t0,-28652(t0)
80008008: 24090005li t1,5
8000800c: 3c018001lui at,0x8001
80008010:
Hi all,
this seems to be OpenOCD endianess probelem for MIPS big endian targets.
This is what I concluded with further instigation. I started target in
little endian mode and let it configure SDRAM. In this case SDRAM is
well configured, all values well written and load to SDRAM works
correctly.
Even further investigation of the problem lead to these posts :
http://www.mail-archive.com/openocd-development@lists.berlios.de/msg05586.html
Can anybody tell me if the patch David proposed is well applied ?
Although there are some traces of Davids changes in the mips_ejtag.c
file, I can not see
Hi all,
embedding David's solutions for mips_m4k_write_memory() and
mips_m4k_read_memory() from commit
b271efe12132e93cb17adb037323f6cf251305b2 seems to be solving the
problem for the small files.
However, trying to load a bigger image function
mips_m4k_bulk_write_memory() is called an fails in
Finally got to testing these. Here's the fix...
diff --git a/src/target/arm_semihosting.c b/src/target/arm_semihosting.c
index a247cc8..903145c 100644
--- a/src/target/arm_semihosting.c
+++ b/src/target/arm_semihosting.c
@@ -139,7 +139,7 @@ static int do_semihosting(struct target *target)
...and here's the prefetch version (fixed one little mistake...):
diff --git a/src/target/arm_semihosting.c b/src/target/arm_semihosting.c
index a247cc8..ef13f68 100644
--- a/src/target/arm_semihosting.c
+++ b/src/target/arm_semihosting.c
@@ -136,18 +136,26 @@ static int do_semihosting(struct
Hello list,
about two weeks ago I spent a few days at Embedded World exhibition in
Nuremberg where we had a tiny booth for Hochschule Augsburg (this is
where OpenOCD started years ago with Dominic's thesis). We exhibited
some student projects, despite OpenOCD was not in the main focus, we
had
Fix a bunch of typos.
Most are in code comments, so nothing should break. UNKOWN_COMMAND and
CMD_UNKOWN are not used elsewhere, so correcting the spelling should
also not break anything.
---
src/flash/nand/mx2.c |2 +-
src/flash/nand/mx3.c |2 +-
src/flash/nor/at91sam3.c
Hello,
Am 16.03.2011 20:19, schrieb Drasko DRASKOVIC:
However, trying to load a bigger image function
mips_m4k_bulk_write_memory() is called an fails in
mips32_pracc_fastdata_xfer(). So, making mips_m4k_bulk_write_memory()
to fall straight away to simple mips_m4k_write_memory(), like in