Re: [Openocd-development] Can't halt Calao USB A9263 with OpenOCD 0.5.0

2011-11-03 Thread freddie_chopin
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!! ___

Re: [Openocd-development] Can't halt Calao USB A9263 with OpenOCD 0.5.0

2011-11-03 Thread freddie_chopin
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

Re: [Openocd-development] Can't halt Calao USB A9263 with OpenOCD 0.5.0

2011-11-03 Thread freddie_chopin
); 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

Re: [Openocd-development] Command-line paths problem in Windows

2011-10-21 Thread freddie_chopin
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

Re: [Openocd-development] Command-line paths problem in Windows

2011-10-21 Thread freddie_chopin
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

Re: [Openocd-development] Command-line paths problem in Windows

2011-10-21 Thread freddie_chopin
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

Re: [Openocd-development] Only every second programming works

2011-10-19 Thread freddie_chopin
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

Re: [Openocd-development] Last call before release

2011-08-03 Thread freddie_chopin
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

Re: [Openocd-development] libswd drivers question

2011-07-14 Thread freddie_chopin
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

Re: [Openocd-development] libswd drivers question

2011-07-14 Thread freddie_chopin
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

Re: [Openocd-development] OpenOCD for STM32F2xx microcontroller

2011-05-18 Thread freddie_chopin
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

Re: [Openocd-development] Help needed for SAM3S4C

2010-12-21 Thread freddie_chopin
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

Re: [Openocd-development] [PATCH] remove srst pulls trst from LPC2xxx t= arget scripts

2010-12-05 Thread freddie_chopin
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

Re: [Openocd-development] [PATCH] remove srst pulls trst from LPC2xxx t= arget scripts

2010-12-05 Thread freddie_chopin
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

Re: [Openocd-development] [PATCH 1/2] add quot; cortex m3 reset config= = = ...quot; to stm32.cfg

2010-12-05 Thread freddie_chopin
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

Re: [Openocd-development] [PATCH 1/2] add quot; cortex m3 reset config = ...quot; to stm32.cfg

2010-12-02 Thread freddie_chopin
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

Re: [Openocd-development] [PATCH 1/2] add quot; cortex m3 reset config= = ...quot; to stm32.cfg

2010-12-02 Thread freddie_chopin
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

Re: [Openocd-development] Current stable release is very very stale

2010-11-29 Thread freddie_chopin
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...

Re: [Openocd-development] Current stable release is very very stale

2010-11-28 Thread freddie_chopin
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

Re: [Openocd-development] Openocd and latest code sourcery toolchain

2010-11-23 Thread freddie_chopin
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

Re: [Openocd-development] Disable stm32x block write by default?

2010-11-09 Thread freddie_chopin
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

[Openocd-development] =?ISO-8859-2?Q?Re: Re: Problems with workareasize and STM32F100 (8kB= of RAM)?=

2010-10-29 Thread freddie_chopin
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

[Openocd-development] =?ISO-8859-2?Q?Re: Re: Problems with workareasize and STM32F100 (8kB= of RAM)?=

2010-10-29 Thread freddie_chopin
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

[Openocd-development] =?ISO-8859-2?Q?Re: Re: Re: Re: Problems with workareasize and STM32F=100 (8kB of RAM)?=

2010-10-29 Thread freddie_chopin
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

[Openocd-development] =?ISO-8859-2?Q?Re: Re: Problems with workareasize and STM32F100 (8kB= of RAM)?=

2010-10-29 Thread freddie_chopin
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

[Openocd-development] =?ISO-8859-2?Q?Re: Re: Problems with workareasize and STM32F100 (8kB= of RAM)?=

2010-10-29 Thread freddie_chopin
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

[Openocd-development] =?ISO-8859-2?Q?Re: Re: Problems with workareasize and STM32F100 (8kB= of RAM)?=

2010-10-29 Thread freddie_chopin
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

[Openocd-development] =?ISO-8859-2?Q?Re: Re: Eclipse Helios GDB settings (was: STM32flashw=rite speed)?=

2010-10-20 Thread freddie_chopin
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

[Openocd-development] =?ISO-8859-2?Q?Re: Re: libftdi or libftdi-1.0 MinGW 32bit binary an=d OpenOCD?=

2010-07-06 Thread freddie_chopin
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

[Openocd-development] =?ISO-8859-2?Q?Re: Re : Openocd-development Digest, Vol 45, Issue 44=ina?=

2010-06-29 Thread freddie_chopin
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

[Openocd-development] =?ISO-8859-2?Q?Re: [PATCH] stm32 : improve unlock procedure for mass=_erase?=

2010-06-01 Thread freddie_chopin
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!!

Re: [Openocd-development] [PATCH] STM32 flash erase timeout fix

2010-04-30 Thread freddie_chopin
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

[Openocd-development] =?ISO-8859-2?Q?Re: Re: [PATCH] Change kb/s to KB/s in messages r=efering to kibibytes?=

2010-04-29 Thread freddie_chopin
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

[Openocd-development] GPL violations

2010-04-08 Thread freddie_chopin
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!! ___

Re: [Openocd-development] GPL violations

2010-04-08 Thread freddie_chopin
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

Re: [Openocd-development] [PATCH 2/3] update win32 script search path

2010-01-14 Thread freddie_chopin
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

[Openocd-development] =?ISO-8859-2?Q?Re: Re: What became of the generic LPC config script=??=

2009-11-24 Thread freddie_chopin
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

Re: [Openocd-development] new lpc2xxx cfg files layout

2009-09-24 Thread freddie_chopin
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

Re: [Openocd-development] new lpc2xxx cfg files layout

2009-09-23 Thread freddie_chopin
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

Re: [Openocd-development] Final Fixes for 0.2.0?

2009-06-30 Thread freddie_chopin
Ř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

Re: [Openocd-development] platform survey

2009-06-25 Thread freddie_chopin
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

[Openocd-development] =?ISO-8859-2?Q?Re: Re: EmbeddedICE handling might be broken with A=

2009-03-13 Thread freddie_chopin
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

Re: [Openocd-development] another STM32 problems with RLink

2009-03-06 Thread freddie_chopin
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

Re: [Openocd-development] Fwd: openocd-0.1.0.mci

2009-02-20 Thread freddie_chopin
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

Re: [Openocd-development] OpenOCD 0.1.0 released

2009-02-02 Thread freddie_chopin
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!! ___