SWD is not finished yet, a long way to go. Adding the actual hardware
drivers is a almost the last thing on my list. I want to get the
framework in place first.
What I have done is to get a SWD interface listed when you use 'openocd
-c interface_list'. There's a new struct (interface_base_t)
Hallo Martin,
The question is:
It is possible to setup a embedded Linux on your ARM7?
Openocd can run unter Linux.
I am not sure it is simple to run on your board. Linux need more RAM as
the most ARM7 board have. This is better a task with an ARM9 Board.
Rene
Martín Sebastián Baudino
On Sat, 2009-11-14 at 08:22 +, Andrew Rogers wrote:
SWD is not finished yet, a long way to go. Adding the actual hardware
drivers is a almost the last thing on my list. I want to get the
framework in place first.
What I have done is to get a SWD interface listed when you use 'openocd
-c
Hi all,
I discovered that my series that upgraded types missed a few spots
where scan_field_s was still referenced. Since it was odd that this
code should continue to compile, I investigated and discovered that the
routines were not referenced (but didn't access the struct anyway).
The
Remove obsolete suffix from struct scan_field. Somehow, these
definitions did not get updated but did not cause any errors.
Signed-off-by: Zachary T Welch z...@superlucidity.net
---
src/helper/binarybuffer.c |2 +-
src/helper/binarybuffer.h |4 ++--
src/target/arm_jtag.c | 24
Purge an unused routine from the tree and remove a layering violation.
If this code is needed, it should reappear somwhere in src/jtag/,
where struct scan_field gets defined.
Signed-off-by: Zachary T Welch z...@superlucidity.net
---
src/helper/binarybuffer.c |9 -
Removes unused arm_jtag_buf_* helpers from arm_jtag.[ch]. These could
reappear if patches are provided to conver the tree to use them, but
this code should not be in the master tree until that series is ready.
Signed-off-by: Zachary T Welch z...@superlucidity.net
---
src/target/arm_jtag.c |
Another one that is still in the tree is command_context_s. Any reason that
still has the '_s'?
// Dean Glazeski
On Sat, Nov 14, 2009 at 9:09 AM, Zachary T Welch z...@superlucidity.netwrote:
Hi all,
I discovered that my series that upgraded types missed a few spots
where scan_field_s was
I pushed patches to fix the structures in command.h late, due to needing
to rebase the entire series on my command_handler series. They went
into the tree around 18 hours ago.
--Z
On Sat, 2009-11-14 at 09:20 -0600, Dean Glazeski wrote:
Another one that is still in the tree is
Hi all,
While testing some of my new commands, it appears that OpenOCD will just
fail with no error messages if there is a command syntax error while in the
configuration stage. I think it's because I return an error code instead of
ERROR_OK. I'm not sure how the command handler is called, so I
On Sat, 2009-11-14 at 10:58 -0600, Dean Glazeski wrote:
Hi all,
While testing some of my new commands, it appears that OpenOCD will
just fail with no error messages if there is a command syntax error
while in the configuration stage. I think it's because I return an
error code instead of
Hi all,
It appears that with Zach's recent command handler work the MWW command
broke. The reason is because of how the args pointer is modified
(incremented in this case) as the function executes. It then uses the
CMD_NAME macro and this retrieves 'phys' instead of 'mww'. In addition, it
On Sat, 2009-11-14 at 12:45 -0600, Dean Glazeski wrote:
Hi all,
It appears that with Zach's recent command handler work the MWW
command broke. The reason is because of how the args pointer is
modified (incremented in this case) as the function executes. It then
uses the CMD_NAME macro and
Hi all,
This series updates the binarybuffers helpers. While the changes have
been split almost per-function, they could be split further if desired.
Overall, I expect a modest improvements for operations that use these,
because they now use memset or memcpy when appropriate. Otherwise,
they
Purge an unused routine from the tree and remove a layering violation.
If this code is needed, it should reappear somwhere in src/jtag/,
where struct scan_field gets defined.
Signed-off-by: Zachary T Welch z...@superlucidity.net
---
src/helper/binarybuffer.c |9 -
Remove obsolete suffix from struct scan_field. Somehow, these
definitions did not get updated but did not cause any errors.
Signed-off-by: Zachary T Welch z...@superlucidity.net
---
src/helper/binarybuffer.c |2 +-
src/helper/binarybuffer.h |4 ++--
src/target/arm_jtag.c | 24
Rewrite buf_cmp to use memcpy for bulk of comparison. Add static
helper to perform comparison of trailing byte, which uses another
static helper to perform a maksed comparison. The masked comparison
helper is used by the buf_cmp_mask to simplify its loop.
Improve types to use void *, unsigned,
Add inter-operator whitespace. Improve existing documentation.
Signed-off-by: Zachary T Welch z...@superlucidity.net
---
src/helper/binarybuffer.c |6 +++---
src/helper/binarybuffer.h | 35 +++
2 files changed, 18 insertions(+), 23 deletions(-)
diff --git
Removes unused arm_jtag_buf_* helpers from arm_jtag.[ch]. These could
reappear if patches are provided to conver the tree to use them, but
this code should not be in the master tree until that series is ready.
Signed-off-by: Zachary T Welch z...@superlucidity.net
---
src/target/arm_jtag.c |
Use memcpy for bulk of copy, improve final byte handling.
Improve types by using void * for buffers and unsigned for size.
Signed-off-by: Zachary T Welch z...@superlucidity.net
---
src/helper/binarybuffer.c | 17 +
src/helper/binarybuffer.h |3 ++-
2 files changed, 11
Improve types: use void * and unsigned. Move all variables to point of
first use. Move radix guessing logic to new str_radix_guess helper.
Signed-off-by: Zachary T Welch z...@superlucidity.net
---
src/helper/binarybuffer.c | 126 +++--
Use memset instead of loop. Improve types, using void * and unsigned.
Signed-off-by: Zachary T Welch z...@superlucidity.net
---
src/helper/binarybuffer.c | 18 +-
src/helper/binarybuffer.h |3 ++-
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git
Use void * and unsigned types for buffer and their sizes.
Allows it to be used with more than uint8_t * without casts.
Signed-off-by: Zachary T Welch z...@superlucidity.net
---
src/helper/binarybuffer.c |9 ++---
src/helper/binarybuffer.h |4 ++--
2 files changed, 8 insertions(+), 5
Use void*, unsigned, and bool types with inline helpers.
Signed-off-by: Zachary T Welch z...@superlucidity.net
---
src/helper/binarybuffer.h | 15 ---
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/helper/binarybuffer.h b/src/helper/binarybuffer.h
index
Signed-off-by: Zachary T Welch z...@superlucidity.net
---
src/helper/binarybuffer.c | 31 +++
src/helper/binarybuffer.h |6 ++
2 files changed, 9 insertions(+), 28 deletions(-)
diff --git a/src/helper/binarybuffer.c b/src/helper/binarybuffer.c
index
On Sat, 2009-11-14 at 11:14 -0800, Zachary T Welch wrote:
Hi all,
This series updates the binarybuffers helpers. While the changes have
been split almost per-function, they could be split further if desired.
Overall, I expect a modest improvements for operations that use these,
because
Hello,
Zach Welch pisze:
On Sat, 2009-11-14 at 12:45 -0600, Dean Glazeski wrote:
Hi all,
It appears that with Zach's recent command handler work the MWW
command broke. The reason is because of how the args pointer is
modified (incremented in this case) as the function executes. It then
uses
It's completely unused; the obnoxious DANGER!!! comments
don't even explain what it was intended to do.
---
Do any code historians know what this was supposed to do?
Whatever the intent was, it hasn't been achieved for
quite a long time... unless that intent was annoy!
src/openocd.c | 17
For the record, I still prefer to see declarations grouped
at the beginning of their block, after a left bracket.
That way they're always easy to find.
So you won't see me adding patches like this ...
___
Openocd-development mailing list
On Sat, Nov 14, 2009 at 9:03 PM, David Brownell davi...@pacbell.net wrote:
It's completely unused; the obnoxious DANGER!!! comments
don't even explain what it was intended to do.
Anachronism. Keyword expansion and patch problems with svn...
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
On Sat, Nov 14, 2009 at 8:49 PM, David Brownell davi...@pacbell.net wrote:
For the record, I still prefer to see declarations grouped
at the beginning of their block, after a left bracket.
That way they're always easy to find.
What Zach is doing here is to reduce the scope of a variable.
David Brownell a crit:
On Friday 13 November 2009, Martn Sebastin Baudino wrote:
But now I'm been asked to look at the code and see if it is possible to
actually embed it on an STR7 board, which we use to automatically test other
boards. Our goal would be (for now) to just flash
On Sat, 2009-11-14 at 12:56 -0700, David Brownell wrote:
On Saturday 14 November 2009, Zachary T Welch wrote:
- for (unsigned i = 0, num_bytes = CEIL(size, 8); i num_bytes; i++)
- to[i] = from[i];
+ // copy entire buffer
+ memcpy(_to, from, CEIL(size, 8));
On Sat, 2009-11-14 at 20:59 +0100, Krzysztof Dziuba wrote:
Hello,
Zach Welch pisze:
On Sat, 2009-11-14 at 12:45 -0600, Dean Glazeski wrote:
Hi all,
It appears that with Zach's recent command handler work the MWW
command broke. The reason is because of how the args pointer is
On Sat, 2009-11-14 at 07:09 -0800, Zachary T Welch wrote:
Hi all,
I discovered that my series that upgraded types missed a few spots
where scan_field_s was still referenced. Since it was odd that this
code should continue to compile, I investigated and discovered that the
routines were not
On Saturday 14 November 2009, Michel Catudal wrote:
There are some low cost AVR32 and ARM boards allready made that can run
embedded Linux.
http://shop.embedded-projects.net/product_info.php/language/en/amp;ref/2/info/p12
The grasshopper is only €85, the atmel board is around $89
I'll send these out for comment, and merge tomorrow if nobody objects.
- Make the examined flag be per-target. This is a bugfix, but
the bug wouldn't have been seen without multiple CPU targets.
- Two arm7/arm9 memory utils aren't actually arm7/arm9-specific;
they're generic for
Previously this flag was stored in target_type, so that for example
if there were two ARM7TDMI targets in a scan chain, both would claim
to have been examined although only the first one actually had its
examine() method called.
Move this state to where it should have been in the first place, and
Three changes: remove ARM11_HANDLER() in favor of normal structure
initialization syntax; fix goofy indentation in that structure; and
don't needlessly export arm11_register_commands(), it's only called
through that method table.
---
src/target/arm11.c | 88
On Saturday 14 November 2009, Zach Welch wrote:
On Sat, 2009-11-14 at 12:56 -0700, David Brownell wrote:
On Saturday 14 November 2009, Zachary T Welch wrote:
- for (unsigned i = 0, num_bytes = CEIL(size, 8); i num_bytes;
i++)
- to[i] = from[i];
+ // copy
Now the ARM11 cores can use the renamed arm_checksum_memory()
and arm_blank_check_memory() routines ... do so.
Sanity checked with flash erase_check of both NOR banks on an
OMAP2420 ... the algorithm code dumped four lines of of poll
status after each of almost 520 block (yes, *very* annoying)
41 matches
Mail list logo