resets?
Thanks,
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB .
The information contained in this electronic mail transmission
Jon Povey wrote:
At the moment I am looking into triggering a watchdog reset with a
reset-assert handler.. Be good if I can avoid soldering.
I am not having too much joy with this approach so far, maybe I don't know
enough about ARM processor states. I had this trigger a reset once
.
If this is of interest to anyone please let me know if there is something you'd
like me to try / information to capture next time.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre
Jon Povey wrote:
If anyone has information about using the IcePick to reset the DM355
I'd be very interested.
Oh, I just found this:
http://www.mail-archive.com/openocd-development@lists.berlios.de/msg12916.html
Which suggests that TI won't give out the information needed to use the
IcePick
. It only became OK when I replugged the
JTAGKey.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB .
The information contained
:\Program Files\OpenOCD\0.4.0\bin\openocd.exe
File: ../../../../src/jtag/drivers/driver.c, Line 345
Expression: target_tap_match
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
--
Jon Povey
jon.po
Xiaofan Chen wrote:
On Thu, Apr 22, 2010 at 6:38 PM, Jon Povey
jon.po...@racelogic.co.uk wrote:
I have switched from running OpenOCD on Linux inside VirtualBox, to
running it natively on XP. I have not been able to reproduce the
situation that needed the JTAGKey-Tiny to be replugged, but I
settings and all that other good hardware
stuff.
Other than that, you can try debugging the bootloader that's trying to access
the NAND flash (using OpenOCD + gdb). Good luck with that.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number
davinci NAND
stuff thoroughly and make sure it's all working with OpenOCD.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB
));
command_print(CMD_CTX,
--
1.6.3.3
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB .
The information contained
Jon Povey wrote:
Since then I have also tested the latest GIT version under (virtual)
linux, and also the latest git version build with FTDI's drivers
instead of libftdi. All combinations show the same random errors.
Also tried at a range of different JTAG clock speeds, makes no
difference
instead of
bytes.
kibibyte/s removes all ambiguity, but is slightly.. Verbose.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB
Michael Schwingen wrote:
Jon Povey wrote:
My 2 pence:
KB/s is correct as far as I understand, but obviously there is
still ambiguity. Some poor souls might still confuse KiB/s to be
bits instead of bytes.
Nope. The SI prefix for kilo(1000) is a lower-case k, so kB/s,
would be correkt
Change download rate messages about kibibytes from kb/s to KiB/s units.
See: http://en.wikipedia.org/wiki/Data_rate_units
Signed-off-by: Jon Povey jon.po...@racelogic.co.uk
---
This was discussed a bit on the list but no clear resolution.
According to wikipedia KiB/s is correct, I think
of 1000 bytes. We are computer programmers. We want powers of 2.
--
Jon Povey
jon.po...@racelogic.co.uk
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development
Michael Schwingen wrote:
Jon Povey wrote:
Yeah, most people SAY kilobyte but they MEAN 1024 Bytes (kibibyte).
I have always used kilobyte to mean 1024 bytes (a kibibyte). Using
kilobyte to mean 1000 bytes is unusual; hard drive manufacturers
trying to make their drives sound bigger
Last block was being skipped, fix by changing the loop test from to =
First block argument was ignored, always started from block 0 (and counted
the wrong blocks as bad if first was nonzero). Now we use it.
Signed-off-by: Jon Povey jon.po...@racelogic.co.uk
---
src/flash/nand/core.c |8
The last_block argument to nand_erase() is checked against nand-num_blocks,
but the highest valid block number is (total - 1), the test for invalid should
be = rather than .
Signed-off-by: Jon Povey jon.po...@racelogic.co.uk
---
src/flash/nand/core.c |2 +-
1 files changed, 1 insertions
in
1024-units.
If I program a 500KB (ok, KiB) image and it takes 10s, I expect to see
something like 10s (50KiB/s).
If I saw 10s (51.2KB/s) my immediate reaction would be to think someone had
done their maths wrong.
--
Jon Povey
jon.po...@racelogic.co.uk
label on the current figure (which I think is fine).
--
Jon Povey
jon.po...@racelogic.co.uk
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development
nand_build_bbt() was ignoring the return value from nand_read_page() and
blindly continuing.
It now passes the return value up to the caller if the read fails.
Signed-off-by: Jon Povey jon.po...@racelogic.co.uk
---
src/flash/nand/core.c |5 -
1 files changed, 4 insertions(+), 1 deletions
blocks may also appear good.
If you want to scan for manufactuer-marked bad blocks, you need to enable
raw_access before running check_bad_blocks, or use the non-infix layout.
Signed-off-by: Jon Povey jon.po...@racelogic.co.uk
CC: David Brownell dbrown...@users.sourceforge.net
---
Infix reads were
... (block 16 was NOT
erased).
Also here erasing the top two blocks (BBT):
nand erase 0 0x3ffc 0x4
erased blocks 8190 to 8192 on NAND flash device #0 'NAND 1GiB 3,3V 8-bit'
There is no block 8192. 8191 is the highest block number.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited
to debug-request, current mode: Supervisor
cpsr: 0x8013 pc: 0x9bb0
MMU: disabled, D-Cache: disabled, I-Cache: disabled
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre
Jon Povey wrote:
[3x disclaimers]
Sorry about that, someone is having fun with our mail server at the moment, I
will give them a slap.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan
Register name fix; ref. TI document sprueh7d
Signed-off-by: Jon Povey jon.po...@racelogic.co.uk
---
tcl/board/dm355evm.cfg |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tcl/board/dm355evm.cfg b/tcl/board/dm355evm.cfg
index db47b8d..02c4c86 100644
--- a/tcl/board
demultiplex trace format not supported
FIFO full supported
Thanks,
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB .
The information contained
from
there using software breakpoints (MMU will be on).
If you need to debug the early stuff before MMU is on try
hbreak 0x80008000
instead of start_kernel and have a look at
arm-none-linux-gnueabi objdump -S arch/arm/boot/compressed/head.o
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic
common scenarios.
I couldn't get it to produce a trace, but I have never touched an ETM/ETB
before so maybe I was doing something wrong. I don't feel qualified enough to
make any documentation/TODO patches.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered
ETM analyze produced no output when the trace buffer was empty.
This patch provides users with a clue.
Signed-off-by: Jon Povey jon.po...@racelogic.co.uk
---
src/target/etm.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/target/etm.c b/src/target/etm.c
index
.
Really though, I just had a weird crash bug, since tracked down by other means,
and was hoping to use the ETM to tell me where it came from. I don't know much
at all about using the ETM, I'm just some poor sap who tried to and failed :)
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited
is probably inaccessible.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB .
The information contained in this electronic mail
mass_erase.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB .
The information contained in this electronic mail transmission is intended
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Runtime error, file command.c, line 654:
invalid command name halt
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan
thomas.koel...@baslerweb.com wrote:
Added a function 'pll_v03_setup' to set up PLLs and clock
dividers on DM365 and DM368.
Nice.. Do you also have a patch for board/dm365evm.cfg?
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number
Thomas Koeller wrote:
On Tuesday 15 June 2010 11:03:38 Jon Povey wrote:
thomas.koel...@baslerweb.com wrote:
Added a function 'pll_v03_setup' to set up PLLs and clock
dividers on DM365 and DM368.
Nice.. Do you also have a patch for board/dm365evm.cfg?
The patch resulted from my work
Andreas Fritiofson wrote:
On Mon, Jun 14, 2010 at 1:23 PM, Jon Povey
jon.po...@racelogic.co.uk wrote:
The -c switch is not working for me, for any command I throw at it.
Am I missing something obvious?
You have to have -c init as the first command on the command line, to
switch from
on Amontek JTAGKey-Tiny against TI DM355.
Tested-by: Jon Povey jon.po...@racelogic.co.uk
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18
. Didn't test only after one
patch, though.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB .
The information contained in this electronic
Signed-off-by: Jon Povey jon.po...@racelogic.co.uk
---
Pretty trivial, was just printing svf USAGE, macro bugs.
src/svf/svf.c | 13 -
1 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/src/svf/svf.c b/src/svf/svf.c
index a015e3c..a6f2f6f 100644
--- a/src/svf/svf.c
+++ b
Signed-off-by: Jon Povey jon.po...@racelogic.co.uk
min_time was effectively ignored, I needed it to program a Lattice MachXO
which uses a RUNTEST to wait for an erase operation, amongst other things.
With this patch pauses happen and I can program the device with an SVF
generated in LSC ispVM
Jon Povey wrote:
Signed-off-by: Jon Povey jon.po...@racelogic.co.uk
min_time was effectively ignored, I needed it to program a
Lattice MachXO
which uses a RUNTEST to wait for an erase operation, amongst
other things.
With this patch pauses happen and I can program the device with an SVF
openocd-development-boun...@lists.berlios.de wrote:
Jon Povey wrote:
Signed-off-by: Jon Povey jon.po...@racelogic.co.uk ---
Pretty trivial, was just printing svf USAGE, macro bugs.
NAK!!!
This patch fixes the problem in the completely wrong way. =(
Any hints on the right way?
--
Jon Povey
the grounds at one end or the other to help your signal.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB .
The information contained
Andrew Leech wrote:
On 06/01/2011, at 3:12 PM, Jon Povey wrote:
Ping.
I never delved much into the actual SVF commands, so can't
comment on the basic logic of it, however if the new
functionality is correct the old stuff blocked out by #if 1/0
should be removed before committing upstream
square pegs in round holes.
To abuse a famous quote; give a man a vendor cable and he can program one
board. Teach him to fabricate his own cables..
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit
? :)
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB .
The information contained in this electronic mail transmission is intended
by Andrew Leech 12/01/2011
Let me know if you want me to re-send.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB .
The information contained
is for if I understand it correctly. It manages internal
virtual partitions where the actual wear levelling and bad block tolerance
takes place across the whole physical NAND shared by the UBI partitions.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England
reliably you have to deal with
it all properly; ECC, periodic rewrite after many reads, wear levelling, bad
block retirement.
It's a pain in the arse, that's why eMMC is looking attractive to me..
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England
a Lattice MachXO with an
Amontek JTAGKey-Tiny, using an SVF generated by Lattice software.
The patches just added a feature and cleanup, so SVF at least worked
a bit at that time.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
Øyvind Harboe wrote:
Could you repost the patches?
Oh, they got merged.
d356034f03eb60fd4e8b3537bd979d9e7e5e25f8
and the one before.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan
opaque. And things still seem to work.
So far just noticed it on longish memory dumps.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB
openocd-development-boun...@lists.berlios.de wrote:
this patch fix the log message and change the log output to debug.
That looks like an improvement but is a very long line,
wants wrapping.
Someone may have said this, but inline patches are better..
Thanks,
--
Jon Povey
jon.po
inspired and taught me a lot, I'm sure
it will continue to do so.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB .
The information
thought and familiarity with git but results in
a much cleaner more usable history.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB
events due to errors
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB .
The information contained in this electronic mail transmission
openocd-development-boun...@lists.berlios.de wrote:
Does anyone know if users of OpenOCD can access the ETM Regisiters?
There is code in there that's supposed to do it,
I tried using it once but didn't get anywhere. Lack of documentation
etc.
Not too helpful, sorry.
--
Jon Povey
jon.po
was getting
it wrong.. like if (ptr == NULL) checks which it thought failed,
but then it complained about a null ptr dereference.
It seemed to get if (!ptr) right though, which I think is preferred
linux kernel style.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered
, so it would be nice to get this working..
Happy to hack and submit a patch if someone can give me clues to get
started.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier
and
maturity, but this additional barrier to contributing does put me and
others off contributing in future.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham
openocd-development-boun...@lists.berlios.de wrote:
Jon Povey wrote:
this additional barrier to contributing does put me and others off
contributing in future.
Using Git is also a barrier for some, perhaps even for many. Gerrit
is new, so sure there will be resistance. Maybe sometime
hope it does.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB .
The information contained in this electronic mail transmission
.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB .
The information contained in this electronic mail transmission is intended
: for.
--
Jon Povey
jon.po...@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks,
MK18 1TB .
The information contained in this electronic mail transmission is intended by
Racelogic
65 matches
Mail list logo