1. Try changing the speed of JTAG to be 1/8th of core speed.
2. Try doing reset halt from the telnet first.
3. Make sure your board has the same reset configuration as you pass to OpenOCD
- separate lines of TRST and SRST.
4\/3!!
___
W dniu 2011-11-03 11:08:39 użytkownik Thomas Petazzoni
thomas.petazz...@free-electrons.com napisał:
You may also try reset_config srst_pulls_trst or other
configurations...
Not better, unfortunately. Still the exact same behaviour. Here is my
interface file:
none srst_pulls_trst
);
Sorry, no more ideas from my side... Maybe someone else will be able to help
you.
Generally the code you are running on the chip can be somehow blocking JTAG
access so, if you can, try halting chip with empty flash. I think (I'm not
sure) that issuing poll command from telnet performs the
W dniu 2011-10-21 00:12:52 użytkownik Andrew Leech coronasen...@gmail.com
napisał:
Have you tried with double backslash \\ ?
Actually no, I guess that it would probably work but you'd still have to give
path to OpenOCD working directory in Eclipse and probably still use ..\\
before directory
W dniu 2011-10-21 13:06:05 użytkownik Spencer Oliver s...@spen-soft.co.uk
napisał:
i cannot reproduce this problem, any more details.
We'll... I've compiled master from yesterday, using the same tools and
libraries (libusb and libftdi) as before, using the same script as before -
generally
W dniu 2011-10-21 13:50:26 użytkownik Spencer Oliver s...@spen-soft.co.uk
napisał:
you could either do a git bisect to see what version it broke at.
Will bisecting also affect jimtcl version used as a submodule or maybe always
the most recent one is used?
Generally I see some changes that
W dniu 2011-10-19 14:14:11 użytkownik Akos Vandra axo...@gmail.com napisał:
#lpcfixchecksum takes only binary files, so
#make a binary file from the elf, and fix the checksum.
arm-eabi-objcopy -O binary $FILE tmp.bin
lpcfixchecksum tmp.bin
On LPC2xxx you can use elf, hex of bin - no need to
W dniu 2011-08-03 04:01:32 użytkownik Jean-Christophe PLAGNIOL-VILLARD
plagn...@jcrosoft.com napisał:
I'm going to create the 0.5.0 release
Won't there be any final RC released as a tarball?
4\/3!!
___
Openocd-development mailing list
You can have weak symbols with stub implementations inside your library. Weak
attribute is a GCC extension. Anyway - having just extern before such
function names should be enough...
Take a look at how it's done in OpenOCD - some modules are compiled into
libraries, than one huge library is
W dniu 2011-07-14 15:24:48 użytkownik Tomek CEDRO tomek.ce...@gmail.com
napisał:
Hello Freddie! I am doing exactly the same way, but at final link
operation libswd cannot find extern functions provided by openocd
library.
Maybe there's something wrong with compilation settings?
Anyway I
I recall that there was some work to implement STM32F2xx in OpenOCD lately, but
I don't know the progress. You are using (probably) my compilation from over
half year ago, so at that time there was no work on that. Check if current tree
has that target supported and if you need a precompiled
Are you absolutely sure that your code was loaded in the chip? Because Eclipse
takes the instructions from the chip and these seem totally different than what
you'd expect... You can verify the instructions at some address with OpenOCD
via telnet with command arm disassemble address count thumb
Rolf Meeser rolfm_...@yahoo.de napisał(a):
On 12/05/2010 11:00 PM, Freddie Chopin wrote:
So how about this idea of removing useless and wrong occurences of
srst_pulls_trst from lpc config files?
Are you sure this is correct?
Copy protection of LPC controllers relies on the fact
David Brownell davi...@pacbell.net napisał(a):
Which ones are useless? Which are wrong? And
for the latter , why haven't we seen specific bug reports, followed by
trivial patches?
C'mon - we both know that everyone thinks srst_pulls_trst is mandatory for LPC
parts and my findings
David Brownell davi...@pacbell.net napisał(a):
I think Freddie's comment (that it does have
something to do with it) made confusion, then.
Which comment?
That would be explained by my trusting Freddie's
comment to be accurate, i while it was instead
ncorrect at the levels I was commenting
Spencer Oliver s...@spen-soft.co.uk napisał(a):
I thought we has decided to work on the ability to make openocd a bit
more reset aware for cortex-m3.
This is just for now, as maybe a new bug-fix release will be made.
This fixes the case for some users, but will break it for others.
For
Spencer Oliver s...@spen-soft.co.uk napisał(a):
As we know the current behaviour of cortex_m3 reset_config is to
override the std 'reset_config' setting - this has undesired effects
for people who expect srst for example to work.
We need to change that functionality then adding your
David Brownell davi...@pacbell.net napisał(a):
Plans are still: (i) merge framework code first,
hold the FT2232/Luminary driver code till later.
Have you synchronized your work with that of Tomek Cedro? There is a big chance
that Tomek may be doing the same work you've already done...
Eric Parsonage e...@eparsonage.com napisał(a):
I am keen to hear when the next stable release of openocd is going to be
available ?
I want a release version of openocd that supports Lisa-l.
Lisa-l support has been in the code for several months now but there is no
sight of any
Michele Da Rold michele.dar...@ecsproject.com napisał(a):
someone have a new version compiled for windows and parallel port?
Have you searched?
http://lmgtfy.com/?q=openocd+windows
http://freddiechopin.info/index.php/en/download/category/4-openocd
Default stm32.cfg script, STM32F103RB chip, OpenOCD build from 28.10.2010.
Everything works perfectly fine without any changes.
Open On-Chip Debugger
reset halt
JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver:
0x3)
JTAG tap: stm32.bs tap/device found: 0x16410041
Peter Stuge pe...@stuge.se napisał(a):
Freddie Chopin wrote:
I was considering this too. I strongly prefer a single file for the
entire family if possible, but it should not cost very much, if any,
performance.
But in this situation single file costs performance, so that's not a good
Xiaofan Chen xiaof...@gmail.com napisał(a):
Yet another solution is to have a generic cfg file with minimum
4KB of SRAM but allow user to overwrite the generic config
file with bigger working area for better performance.
Is this possible?
Of course it is possible, but how many users
Xiaofan Chen xiaof...@gmail.com napisał(a):
I understand your concern. However, if you have a good wiki
and documentations (say put in the comment in the starting
of the config file), then it would not be too bad. Just ask
the user to RTM/RTFM. ;-)
That's not the case of telling somebody
Peter Stuge pe...@stuge.se napisał(a):
You must have missed the patches.
I don't think so. SWD is being talked about for ~2 years, in the meantime
SWD-only chips appeared on the market (LPC1xxx, LPC13xx, etc.), commercial and
free toolchains support it already, OpenOCD is (IMHO) not even
oyvind.har...@zylin.com napisał(a):
I think that OpenOCD should stay away from GUI's and focus on
the core functionality. Just like GDB does. GDB isn't a GUI,
but it *supports* GUIs.
Sure, I also think that OpenOCD does not need an embedded GUI, but I hope that
someday someone will make a
Peter Stuge pe...@stuge.se napisał(a):
Unless there is a way to tell devices apart.
Usually there is (; Sometimes some more logic is required, but generally that
is possible (JTAG ID, special registers with ID, flash sizes, etc.)
BTW I do not prefer single file for whole family,
Why
Andreas Fritiofson napisał(a):
The clearing lockup after double fault says that the core was in a
lockup state which means a fault occurred (bad memory access, invalid
instruction and such, probably due to a software bug) and, in
addition, there was an error while fetching or executing
Xiaofan Chen xiaof...@gmail.com napisał(a):
I have some issues to build libusb-win32 with x86_64-w64-mingw32
but I managed to fix them. Did you need some fixes as well? Could
you post your fixes?
After some minor fixes (header file location different from MinGW32bit),
I can build
Hi!
After installing OpenOCD extract the file c:\Program
Files\OpenOCD\0.4.0\drivers\libusb-win32_ft2232_driver-100223.zip and follow
the instructions in info.txt. This package has functional libusb-win32 drivers
for JTAGkey.
When searching for drivers point the wizard (with the Have Disk
gcembed gcem...@gmail.com napisał(a):
Hello,
I have added a new command for stm32x : mass_erase_unlock
This function combine stm32x unlock 0 + reset to apply unlock +
stm32x mass_erase 0
Maybe unlock_mass_erase would be a better name?
4\/3!!
Użytkownik Tobias Ringström tob...@ringis.se napisał:
The current timeout for STM32 flash block erase and flash mass erase is
10 (ms), which is too tight, and fails around 50% of the time for me.
The data sheet for STM32F107VC specifies a maximum erase time of 40 ms
(for both operations).
Never
Użytkownik Laurent Gauch laurent.ga...@amontec.com napisał:
kilograms is Kg not kg
You're wrong - kilogram is definetely kg -
http://en.wikipedia.org/wiki/Kilogram http://en.wikipedia.org/wiki/SI_prefix ,
just the same as km or kV. Capital K actually stands for kelvin in SI, so using
it as
I've recently wrote that I know of 4 GPL violations (distributing OpenOCD with
ftd2xx library). Make that 5 now... Since there are NO activities from the most
dedicated GPL-fans, than maybe I'll just post such version on my webpage too?
4\/3!!
___
Użytkownik Nico Coesel ncoe...@dealogic.nl napisał:
Freddie,
IMHO its in everyone's best interest if you describe what and where the
GPL violations are. People can then decide whether your findings are GPL
violations and what to do about them. Hear no evil - see no evil is not
going to work.
All
Użytkownik oyvind.har...@zylin.com napisał:
I find it odd that none has.
Personally I don't know what is the point of that patch. I don't use OpenOCD
via tree of MinGW/MSYS and I don't think anyone does, so what's the point of
that patch? I use MinGW/MSYS to compile OpenOCD, and it compiles
Użytkownik oyvind.har...@zylin.com napisał:
Could you point me to the latest version?
http://lists.berlios.de/pipermail/openocd-development/2009-September/010849.html
Why a sudden resurrection?
4\/3!!
___
Openocd-development mailing list
Petri Pirttinen petri.pirtti...@tietolaite.com napisał(a):
I may have missed something in here, but why trying to specify a crystal
frequency? Can't we use 4 MHz in here, IF we are setting the clock
source to internal RC oscillator in reset-init script anyway?
1. Not all LPCs have
oyvind.har...@zylin.com napisał(a):
My concern about your patch(I haven't dived into it) is that last
time I worked on LPC reset scripts, I had to stay clear of soft_reset_halt
and set the CPU into the ARM state manually...
To keep the status quo for now I haven't changed that part - there
Řyvind Harboe oyvind.har...@zylin.com napisał(a):
Can you do one better and submit a correct patch?
The mechanism itself is fine, so I just fixed the descriptions and numbers. And
some other minor things by the way.
4\/3!!
work-area-fix.patch
Description: Binary data
Zach Welch z...@superlucidity.net napisał(a):
Hi all,
Michael Fischer posted the following survey on the SparkFun forum:
http://forum.sparkfun.com/viewtopic.php?t=16044
There are already some more votes here:
http://www.elektroda.pl/rtvforum/topic1347875.html
You have to register
Użytkownik Kevin Townsend ktowns...@free.fr napisał:
Error: JTAG tap: lpc2478.cpu got: 0x4f1f0f0f (mfg: 0x787, part:
0xf1f0, ver: 0x4)
put that value (0x4f1f0f0f) in your config file at the top:
set CPUTAPID 0x4f1f0f0f
0x is the default value used to cause the error, so that
I've tried with another RLink (that one is completely new) and it's the same.
I've also tried the primer again and it works completely fine with exactly the
same setup
4\/3!!
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
It was me (;
I've downloaded the installer now and tested it with the md5 (also downloaded
now) - its fine (on both download servers). The file matches the one I'm
hosting on my private website...
The downloaded installer works fine with my PC...
Maybe the author of the forwarded mail should
quest 1: would that be possible to change Type: Other to sth like Type:
Windows installer on the project's file list? this would be more informative
for the users (;
quest 2: can I mirror to the project website on my webpage?
4\/3!!
___
45 matches
Mail list logo