aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-08-09dps5680xx fix warningsRodrigo L. Rosa1-63/+55
reorganized code to get rid of compiler warnings the warning were related to allignment, i do not get these warning on my build system (i've tried setting the compiler flag but it doesn't work, still working on why) so i cannot detect them (yet.)
2011-08-09Archive and recreate NEWS file.Jean-Christophe PLAGNIOL-VILLARD2-54/+77
Archive released NEWS file as NEWS-0.5.0. Create new NEWS file from release script template.
2011-08-09Bump minor version and add -dev tag.Jean-Christophe PLAGNIOL-VILLARD1-1/+1
Bump minor package version number: 0.5.0 -> 0.6.0 Add '-dev' version tag: 0.6.0 -> 0.6.0-dev
2011-08-09The openocd 0.5.0 release.Jean-Christophe PLAGNIOL-VILLARD1-1/+1
Remove '-dev' version tag: 0.5.0-dev -> 0.5.0
2011-08-08arm11: disable broken optimization for setting current scan chainØyvind Harboe1-0/+6
2011-08-03Automatically generate ChangeLog from git log for release tarballLuca Bruno1-0/+3
make dist should use git2cl to generate ChangeLog from git history, populating the placeholder file in released tarball. Signed-off-by: Luca Bruno <lucab@debian.org> Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-08-02cfg: allow stellaris device class overrideB. A. Bryce1-1/+20
Some devices, eg. The Tempest class return the wrong device class when queried. Add the ability to manually override the device class. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-08-01etb: fix incorrect previous patchsetJie Zhang2-4/+17
This corrects two issues found with openocd. d7f71e7fe9645fa8c3f88cf6fc9ad438aa6708f3 removed some code that was being used. The above then caused even more code to get removed by commit 1cfb2287a67c1f78b76583b2e5ed83ca3560b0d5. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-29cfg: support calling legacy stm32 scriptsSpencer Oliver2-0/+6
For the time being we support the old stm32 script names - this will be removed before the next release cycle. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-28docs: remove obsolete luminary target infoSpencer Oliver1-8/+1
The lm3s variant is not required as this is handled in the target script - see tcl/target/stellaris.cfg. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-28flash: add support for deprecated stm32 flash cmdsSpencer Oliver1-0/+11
Issue warning when the old cmd is used and redirect to new supported one. These deprecated cmds will be removed at some point. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-28cfg: update scripts to use new stm32 driver namesSpencer Oliver11-12/+12
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-28docs: update to use new stm32 driver namesSpencer Oliver1-11/+18
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-28flash: update stm32 driver namesSpencer Oliver4-21/+20
Use consistent names for the stm32 family flash drivers, eg. stm32x -> stm32f1x stm32f2xxx -> stm32f2x this makes it easier to add support for newer stm32 families. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-27cfg: add Fujitsu FM3 configSpencer Oliver1-0/+47
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-27doc: add Fujitsu FM3 flash driver infoSpencer Oliver1-0/+13
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-26remove doc on the deprecated '-p' optionJie Zhang1-2/+0
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-26Update doc about Jim since it's not a single .C file and a single .H file ↵Jie Zhang1-1/+1
any more Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-26add Fujitsu FM3 Family flash supportRonny Strutz3-1/+658
Signed-off-by: Ronny Strutz <ronny@ewoks.de> Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-18CPU name in TMPA900 config file should obviously be TMPA900 (not TMPA910).Michael Hunold1-3/+3
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-18build: do not install jimtclSpencer Oliver2-2/+2
We now make use of the new jimtcl --disable-install-jim Now we can install openocd without jimtcl bring installed. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-18jimtcl: update to support --disable-install-jimSpencer Oliver1-0/+0
Update jimtcl version to commit 6233a6c5d39928f1bfafa8f41cb1ddf0c5a83de0 This enable to to build jimtcl as a submodule but not install it. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-15stm32f2xxx: comments about frequency choiceØyvind Harboe2-0/+5
2011-07-14Do not append git info to version string when building from released tarballLuca Bruno1-1/+2
When building official releases from tarball, git commit info is not available in the building environment. Thus, automake should not try to append the git commit to the version string. Signed-off-by: Luca Bruno <lucab@debian.org> Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-12ftd2xx: handle FT_GetLatencyTimer bug in v1.04Spencer Oliver1-1/+13
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-12busblaster: Fix warnings when building against D2XXSpencer Oliver1-8/+8
The default is -Werror, so warnings become errors. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-12ft2232: Fix warnings when building against D2XXSteve Bennett1-44/+44
The default is -Werror, so warnings become errors Signed-off-by: Steve Bennett <steveb@workware.net.au> Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-12ftdi: update for latest libftdi 1.0.4Steve Bennett1-8/+17
For libftd2xx1.0.4, which uses a different directory structure than libftd2xx0.4.16 Without this fix the build fails with version 1.0.4 of the driver. Note that this does not fix --with-ftd2xx-lib=shared Signed-off-by: Steve Bennett <steveb@workware.net.au> Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-10Fix typo in command outputLuca Bruno5-5/+5
Fix a bunch of minor typo in user facing output. Signed-off-by: Luca Bruno <lucab@debian.org>
2011-07-04mips_m4k and arm7_9 : Fix soft bkpt endianess for 16-bit instructionsDrasko DRASKOVIC2-1/+2
The patch fix comparison of target data on the host by using target_buffer_get_u16() to transform current_instr to _host_ endianess before comparison.
2011-07-04cortex_m3: add auto maskisrPeter Horn3-12/+132
This patch extends the cortex_m3 maskisr command by a new option 'auto'. The 'auto' option handles interrupts during stepping in a way they are processed but don't disturb the program flow during debugging. Before one had to choose to either enable or disable interrupts. The former steps into interrupt handlers when they trigger. This disturbs the flow during debugging, making it hard to follow some piece of code when interrupts occur often. When interrupts are disabled, the flow isn't disturbed but code relying on interrupt handlers to be processed will stop working. For example a delay function counting the number of timer interrupts will never complete, RTOS task switching will not occur and output I/O queues of interrupt driven I/O will stall or overflow. Using the 'maskisr' command also typically requires gdb hooks to be supplied by the user to switch interrupts off during the step and to enable them again afterward. The new 'auto' option of the 'maskisr' command solves the above problems. When set, the step command allows pending interrupt handlers to be executed before the step, then the step is taken with interrupts disabled and finally interrupts are enabled again. This way interrupt processing stays in the background without disturbing the flow of debugging. No gdb hooks are required. The 'auto' option is the default, since it's believed that handling interrupts in this way is suitable for most users. The principle used for interrupt handling could probably be used for other targets too. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-04Revert "cortex_m3: add auto maskisr"Spencer Oliver3-132/+12
This reverts commit ff640f197a9a343b2f3ed10e9174e35282334e8c. Original patch reverted as Author's name was incorrectly set.
2011-07-01mips_m4k : Fix soft breakpoint endianess handlingDrasko DRASKOVIC1-0/+8
In order to compare data read from the target with some marcros or data defined on the host, we must transform this read data from target endianess to host endianess. target_read_memory() gets bytes from target to the host, but keeps them in _target_ endianess. This is OK if we just want to temporary keep this data on the host, like keeping breakpoint->orig_instr. But if we want to use this data for any ispections and comparisons on the host side, we must transform it to _host_ endianess, by using target_buffer_get_u32() function. Currently this transformation is missing, and check current_instr == MIPS32_SDBBP will never pass if target and host endianess differ, because current_instr will be kept in _target_ endianess and MIPS32_SDBBP will be kept in _host_ endianess, The patch fix this issue by using target_buffer_get_u32() to transform current_instr to _host_ endianess before comparison.
2011-06-29jimtcl: update to 0.71 based releaseSpencer Oliver1-0/+0
The actual release is 411e92fea9621630eb350e0c2bb43543e553b84f as we had a few issues relating to its use within openocd. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-06-28dsp5680xx: disable for now, it generates warningsØyvind Harboe4-7/+13
Use "git revert <commit>" to revert this commit, then build and repair and post patch to the mailing list. Warnings generated with: nios2-elf-gcc (GCC) 3.4.6 (Altera Nios II 9.1 b222) openocd/src/target/dsp5680xx.c: In function 'eonce_rx_upper_data': openocd/src/target/dsp5680xx.c:252: warning: cast increases required alignment of target type openocd/src/target/dsp5680xx.c: In function 'eonce_rx_lower_data': openocd/src/target/dsp5680xx.c:268: warning: cast increases required alignment of target type openocd/src/target/dsp5680xx.c: In function 'eonce_pc_store': openocd/src/target/dsp5680xx.c:508: warning: dereferencing type-punned pointer will break strict-aliasing rules openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_read': openocd/src/target/dsp5680xx.c:736: warning: cast increases required alignment of target type openocd/src/target/dsp5680xx.c:737: warning: cast increases required alignment of target type openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_write_8': openocd/src/target/dsp5680xx.c:823: warning: cast increases required alignment of target type openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_write': openocd/src/target/dsp5680xx.c:938: warning: cast increases required alignment of target type openocd/src/target/dsp5680xx.c:941: warning: cast increases required alignment of target type openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_f_wr': openocd/src/target/dsp5680xx.c:1355: warning: cast increases required alignment of target type
2011-06-28mips4k: fix big-endian hosts and host alignment problemsØyvind Harboe1-5/+5
the code was making assumptions about the endianness of the host.
2011-06-28dsp5680xx: fix compilation problemsØyvind Harboe2-31/+36
use a more specific global variable name than "context", which can easily conflict with other things.
2011-06-28cortex_m3: add auto maskisrSpencer Oliver3-12/+132
This patch extends the cortex_m3 maskisr command by a new option 'auto'. The 'auto' option handles interrupts during stepping in a way they are processed but don't disturb the program flow during debugging. Before one had to choose to either enable or disable interrupts. The former steps into interrupt handlers when they trigger. This disturbs the flow during debugging, making it hard to follow some piece of code when interrupts occur often. When interrupts are disabled, the flow isn't disturbed but code relying on interrupt handlers to be processed will stop working. For example a delay function counting the number of timer interrupts will never complete, RTOS task switching will not occur and output I/O queues of interrupt driven I/O will stall or overflow. Using the 'maskisr' command also typically requires gdb hooks to be supplied by the user to switch interrupts off during the step and to enable them again afterward. The new 'auto' option of the 'maskisr' command solves the above problems. When set, the step command allows pending interrupt handlers to be executed before the step, then the step is taken with interrupts disabled and finally interrupts are enabled again. This way interrupt processing stays in the background without disturbing the flow of debugging. No gdb hooks are required. The 'auto' option is the default, since it's believed that handling interrupts in this way is suitable for most users. The principle used for interrupt handling could probably be used for other targets too. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-06-28cortex_m3: add BKPT_TYPE_BY_ADDR definePeter Horn1-14/+22
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-06-27build: cleanup jimtcl generated configure.gnuSpencer Oliver1-1/+2
We use configure.gnu to pass options to the jimtcl submodule. Make sure a distclean removes any generated files Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-06-26Add description for configure argument "--enable-ulink" to README fileMartin Schmölzer1-0/+2
2011-06-26Add OpenULINK driver files generated by SDCC to .gitignoreMartin Schmölzer1-0/+11
2011-06-26Add -DPKGLIBDIR to AM_CPPFLAGS.Martin Schmölzer1-1/+2
This is required so the OpenULINK driver knows the install location of the OpenULINK firmware image.
2011-06-26Include ULINK driver in src/jtag/drivers/Makefile.amMartin Schmölzer1-0/+10
A new variable "nobase_dist_pkglib_DATA" is introduced to install the OpenULINK firmware image to $PREFIX/lib/openocd/OpenULINK/ulink_firmware.hex Also, the variable "EXTRA_DIST" is used to include the OpenULINK firmware source in the OpenOCD source distribution.
2011-06-26Include ULINK driver in src/Makefile.amMartin Schmölzer1-0/+4
2011-06-26Include ULINK driver in configure.inMartin Schmölzer1-1/+12
2011-06-26Add ULINK interface scriptMartin Schmölzer1-0/+5
2011-06-26Include ULINK driver in src/jtag/interfaces.cMartin Schmölzer1-0/+6
2011-06-26Add OpenULINK firmwareMartin Schmölzer19-0/+3297
Build requires SDCC, the Small Device C Compiler.
2011-06-26Add source code for new ULINK driverMartin Schmölzer1-0/+1890